The calculation is based on equilibrium.

Balance = 1,172
Goal = 2,500

Amount to target = 1,328