Inputs
Months41
Ready
A target, a balance you already have, a monthly deposit, and an annual rate together answer one question: how many months until the balance reaches the target. The rate is divided by 12 and applied each month. The deposit is added as an ordinary monthly annuity. The closed form is months = log( (deposit + goal × monthly rate) / (deposit + saved × monthly rate) ) / log(1 + monthly rate), then rounded up so you do not stop a fraction of a month early.
In the sample the goal is 10000, 1000 is already saved, the deposit is 200, and the annual rate is 5%. The monthly rate is 0.05/12. That formula lands between 40 and 41, and the page rounds up to 41 months. If the rate is 0, the wait is just the remaining gap divided by the deposit, still rounded up. If the saved amount is already at the goal, the answer is 0.
Rounding up means month 41 is the first month the formula says you have arrived, not a promise about a bank's posting date. A rate and a deposit that cannot catch the goal, because money is leaving faster than it grows, is rejected rather than shown as an infinite wait.
Savings target 10000. Already saved 1000. Monthly deposit 200. Annual rate 5%.
41 months. The exact log result sits just over 40, and the page rounds up.
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
At 200 a month and 5% a year, compounded monthly, the page gives 41 months.
Solve a compound lump sum plus an ordinary annuity for the month count, then round up. With a zero rate it collapses to the cash gap divided by the deposit.
You cannot stop mid-month inside this model. Ceil means the first whole month in which the balance has reached the target.
If the deposit and the interest cannot close the gap, the page says the goal cannot be reached. A zero rate with a positive deposit still works: it is plain division.
The formula treats the deposit as an ordinary annuity alongside monthly compounding of the balance already saved. It is not a daily-interest bank schedule.