Months to an Entered Savings Goal
Calculate using the labelled inputs: Months to an Entered Savings Goal.
Enter a finite value within the formula’s domain and supported numeric range.
Calculation and assumptions
begin: B_next=(B+deposit)+round((B+deposit)·annual/1200,2); end: B_next=B+round(B·annual/1200,2)+deposit; minimum_deposit=min { d in whole cents : B_horizon(d) ≥ goal }
Two scenarios share the goal, opening amount, rate and contribution timing. The first four results use the entered monthly contribution and search up to 1200 months. Their dashes mean the goal was not reached within that limit; they do not hide the separate deadline solution. The last three results ignore the entered contribution: they find the smallest whole-cent monthly payment reaching the goal by the deadline, then show its final balance and excess over target. Every month uses exact cents; nominal annual rate divided by 12, interest rounded halves away from zero. Beginning contributions earn that month’s interest; ending contributions do not. The minimum is searched against this rounded recurrence, not an unrounded annuity approximation. Zero rate works; if opening savings alone reach the deadline target, the required contribution is zero. No taxes, fees, inflation or changing rates.
Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
Frequently asked questions
How is the result calculated?
begin: B_next=(B+deposit)+round((B+deposit)·annual/1200,2); end: B_next=B+round(B·annual/1200,2)+deposit; minimum_deposit=min { d in whole cents : B_horizon(d) ≥ goal }
What assumptions apply?
Two scenarios share the goal, opening amount, rate and contribution timing. The first four results use the entered monthly contribution and search up to 1200 months. Their dashes mean the goal was not reached within that limit; they do not hide the separate deadline solution. The last three results ignore the entered contribution: they find the smallest whole-cent monthly payment reaching the goal by the deadline, then show its final balance and excess over target. Every month uses exact cents; nominal annual rate divided by 12, interest rounded halves away from zero. Beginning contributions earn that month’s interest; ending contributions do not. The minimum is searched against this rounded recurrence, not an unrounded annuity approximation. Zero rate works; if opening savings alone reach the deadline target, the required contribution is zero. No taxes, fees, inflation or changing rates.
How precise are the results?
Monetary totals use two decimal places, with exact halves rounded away from zero at the steps described. Ratios and other numbers show up to ten significant digits. Display precision does not improve input accuracy. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.
How we verified this calculator
The calculator is checked against 3 reference cases computed independently of its code. Last passed: .
| # | Inputs | Expected result |
|---|---|---|
| 1 |
When each monthly contribution arrives = At month end, after interest
Target balance = 10000
Already saved = 1000
Fixed nominal annual rate (%, up to six decimals) = 5
Equal deposit at each month end = 300
Separate scenario: deadline in whole months (1–1200) = 24
|
First month reaching the goal (up to 1200): 28
Balance when the goal is reached: 10013.48
Opening savings plus all deposits: 9400.00
Total modeled interest: 613.48
|
| 2 |
When each monthly contribution arrives = At month start, before interest
Target balance = 25000
Already saved = 0
Fixed nominal annual rate (%, up to six decimals) = 4
Equal deposit at each month end = 500
Separate scenario: deadline in whole months (1–1200) = 36
|
First month reaching the goal (up to 1200): 47
Balance when the goal is reached: 25479.80
Opening savings plus all deposits: 23500.00
Total modeled interest: 1979.80
|
| 3 |
When each monthly contribution arrives = At month end, after interest
Target balance = 5000
Already saved = 2000
Fixed nominal annual rate (%, up to six decimals) = 3
Equal deposit at each month end = 150
Separate scenario: deadline in whole months (1–1200) = 12
|
First month reaching the goal (up to 1200): 19
Balance when the goal is reached: 5012.23
Opening savings plus all deposits: 4850.00
Total modeled interest: 162.23
|