You can re-arrange the future value of an annuity equation to solve for payment (Pmt) needed instead of Future Value (FV):
FV = Pmt * (((1 + r) ^ n) – 1)/r)
Pmt = FV / (((1 + r) ^ n) – 1)/r)
That will get you payment needed to hit a given future value, but it won't account for the future value of the the starting balance, that should be removed from the desired future value after interest is calculated:
$1,000 at 4% for 25 years with monthly compounding:
n = number of periods = 12 months x 25 years = 300
r = rate per period = .04/12 = 0.003333
FV = Future Value = 8203.03
FV = PV(1+r)^n
FV = 1000 * (1+0.003333)^300
FV = 1000 * (1.003333)^300
FV = 1000 * 2.7135
FV = $2,713.5
So your $1,000 will be worth $2,713.5 without any additional contribution, remove that from your goal of $8,203.03 and your target from the monthly contributions is: 5,489.53
So to solve for monthly contribution (Pmt) we'll use:
n = number of periods = 12 months x 25 years = 300
r = rate per period = .04/12 = 0.003333
FV = Future Value = 5489.53
Pmt = FV / (((1 + r) ^ n) – 1)/r)
Pmt = 5489.53 / (((1 + .003333) ^ 300) – 1)/.003333)
Pmt = 5489.53 / ((1.003333^300) – 1)/.003333)
Pmt = 5489.53 / (1.7138)/.003333)
Pmt = 5489.53 / 514.19
Pmt = 10.68
You need to contribute $10.68 per month to hit your goal. May be off a few pennies due to rounding.
Even easier would be to leverage an online calculator, this one seems accurate and comes up with $10.64. Also could solve in a spreadsheet which would enable you to handle rounding more flexibly.