How to use the investment calculator
- Choose what to find: the ending balance, the contribution needed, the return needed, the starting amount needed, or the time to reach a goal.
- Enter what you know: the starting amount, how much you add and how often, the yearly return and the number of years. For a goal, enter the amount you want to have.
- Optionally raise your contributions each year, for example in step with your pay, and add an inflation rate to see every balance in today’s money.
- Read the result, the split between your money and its growth, the chart and the table, which you can show for each year or each month. Everything updates as you type, and the examples fill in common questions.
How an investment grows
An investment grows in two ways: from the money you put in and from the growth on that money. Each year’s growth is added to the balance, so the next year’s growth is earned on a bigger amount. That is compounding, and over long periods it does most of the work. In the starting example, $10,000 plus $500 a month for 20 years puts in $120,000.00 of new money on top of the $10,000, but the balance reaches $292,465.03: $162,465.03 of it, 55.6%, is growth.
The chart shows this. The lower part of each bar is the money you have put in so far, which rises in a straight line. The upper part is the growth, which starts small and then takes over. The longer the money is invested, the larger the share that growth makes up.
The investment growth formula
Ending balance = P × (1 + i)n + C × ((1 + i)n − 1) ÷ i
Here P is the starting amount, C is each contribution, i is the return per contribution period and n is the number of contributions. The first part is the starting amount’s growth; the second adds up every contribution with the growth it earns from the day it is made. When contributions are made at the start of each period, the second part is multiplied by (1 + i) once more, because each one has an extra period to grow.
A yearly return of 7% is the same as about 0.565% a month when it compounds yearly, because 1.0056512 is 1.07. If your account quotes a rate that compounds monthly instead, choose Monthly, and 7% becomes an effective 7.23% a year, which grows the starting example to $300,850.72. When contributions rise each year the formula no longer applies, so the calculator adds up month by month, which gives the same answer whenever the formula does.
Working back from a goal
Most people start with a goal, not a contribution. The calculator turns the formula around to find whatever is missing:
- Contribution needed. To reach $1,000,000 in 30 years at 7% a year from a $10,000 start, you need $790.01 a month.
- Return needed. To turn $10,000 plus $500 a month into $400,000 in 20 years, you need 9.5% a year. It is found by trying returns until the balance matches the goal.
- Starting amount needed. To have $100,000 in 18 years at 6% a year with nothing added, you need $35,034.38 today, which is $100,000 ÷ 1.0618.
- Time needed. $10,000 plus $500 a month at 7% reaches $1,000,000 after 35 years and 7 months. The table stops in the month the goal is reached.
Contributing at the start or the end
If you invest on payday at the start of the month, each contribution earns one more month of growth than one made at the end. Over 20 years that adds up: the starting example gives $293,899.88 instead of $292,465.03. For yearly contributions the gap is bigger, a full year of growth on each one. $20,000 plus $1,000 at the start of each year for 10 years at 6% grows to $49,788.60.
Raising contributions each year
Pay usually rises over a working life, and so can what you invest. The “raise contributions each year” box increases the contribution by a percentage every 12 months. Starting at $300 a month and raising it 3% a year, with $10,000 at the start and a 7% return, 30 years of investing reaches $557,560.67. With 3% inflation that is $229,707.61 in today’s money, because a dollar then buys less than a dollar now.
Returns, fees and time
Small differences in the return make big differences over decades. At 6% instead of 7% a year, the starting example ends at $258,790.67 instead of $292,465.03. That 1% could be a lower return, or a fee: a fund that charges 1% a year takes it from your return every year. Enter your return after fees to see what you really keep.
Time matters even more. Investing $1,000 a month for 10 years puts in the same $120,000 as $500 a month for 20 years, but ends at only $190,723.24 instead of $292,465.03, because the money has half as long to grow. Starting early and staying invested does more than almost anything else you can control.
Inflation and today’s money
A balance decades from now will buy less than the same amount today. Enter an expected inflation rate and the calculator divides each balance by (1 + inflation)years, adding a column for the value in today’s money. Use it to set goals: if you want the spending power of $1,000,000 today in 30 years, the nominal goal has to be higher.
What the calculator assumes
- The return is the same every year. Real investments rise and fall, and the order of good and bad years matters most when you are adding or taking out money. Treat the result as an average path, not a promise.
- Taxes are not taken off. Accounts such as a 401(k) or an IRA grow tax-deferred or tax-free; in a taxable account, use a slightly lower return.
- Contributions are made on time, every time. The month-by-month table shows exactly when each one lands.
Related calculators
The compound interest calculator adds withdrawals, tax on interest and a range of rates, the retirement calculator plans saving and spending in retirement, the 401(k) calculator adds an employer match, the CAGR calculator finds the growth rate between two values, and the ROI calculator measures the return on a single investment.
Your numbers stay on your device
Everything is worked out in your browser. Nothing you type is sent anywhere or stored; only your currency choice is remembered on this device.
Frequently asked questions
How do you calculate how much an investment will grow?
Grow the starting amount by the return for each period, and add each contribution as it is made so it grows from then on. With no change in the contribution, the ending balance = P × (1 + i)^n + C × ((1 + i)^n − 1) ÷ i, where P is the starting amount, C each contribution, i the return per period and n the number of periods. $10,000 plus $500 a month at 7% a year for 20 years grows to $292,465.03.
How much do I need to invest each month to reach $1 million?
It depends on the time and the return. Starting with $10,000 and earning 7% a year, you need $790.01 a month for 30 years. Choose “Monthly contribution” under Find, then enter your goal, time and return to see your own amount.
What rate of return should I use?
Use a rate that matches what you invest in: savings accounts and bonds pay less than shares over the long run, and shares swing more from year to year. Take off the yearly fees you pay, such as a fund’s expense ratio, and add an inflation rate to see the result in today’s money. Try a lower rate as well, so your plan still works if returns disappoint.
Does it matter if I invest at the start or the end of the month?
A little. Money invested at the start of each month earns one more month of growth on every contribution. In the starting example, investing at the start instead of the end gives $293,899.88 instead of $292,465.03.
What is the difference between this and the compound interest calculator?
Both grow money with compound returns. This calculator also works backwards: it finds the monthly contribution, the return, the starting amount or the time needed to reach a goal. The compound interest calculator focuses on savings growth with withdrawals, tax on interest and rate comparisons.
Is anything I type sent anywhere?
No. Everything is worked out in your browser, and nothing you type is sent anywhere or stored. Only your currency choice is remembered on this device.