Rate of Return Calculator

Starting with , adding a month for years and ending with is a rate of return of 6.67% a year.

Start over
Spreadsheet

Free calculator by ROI.fyi

What rate did your money really earn?

A rate of return is the yearly rate your money grew at. When you put money in once and take it out once, that is easy to work out. When you add to an account every month, as most people do with a 401(k), an IRA or a brokerage account, the simple math gets it wrong, because money added last month had no time to grow. This calculator finds the real yearly rate from your starting balance, your monthly deposits and your ending balance.

Our example starts with $5,000, adds $300 a month for 10 years and ends at $60,000. You put in $41,000, so you gained $19,000, which is 46.3% on what you put in. Divided by 10 years, that looks like 4.6% a year, but the true rate of return is 6.67% a year. Most of the deposits arrived in later years and had less time to grow.

The calculator finds the monthly rate that grows your deposits into your ending balance, then converts it to a yearly rate. It compares that rate with every 10-year run of the S&P 500 since 1872: 6.67% beats about 32% of them. The table shows how the rate would change if your ending balance were 5% or 10% higher or lower.

Use it to check what an account or a fund really earned you, to compare your results with an index fund or to test a goal. If your deposits varied a lot, or you took money out, list each year's cash flow in the IRR calculator instead. For one deposit and no additions, the CAGR calculator gives the same answer more simply.

The formula it solves

\text{End} = \text{Start}\,(1+r)^{m} + \text{Deposit}\,\frac{(1+r)^{m}-1}{r}, \qquad \text{Yearly rate} = (1+r)^{12} - 1

Here m is the number of months and r is the monthly rate. There is no direct way to rearrange this for r, so the calculator tries rates until the two sides match.

Frequently Asked Questions

How do you calculate rate of return?

With one deposit, divide the ending value by the starting value, raise it to the power of 1 divided by the years and subtract 1. $10,000 that grows to $15,000 in 5 years earned 8.45% a year. With regular deposits, you need the rate that makes the deposits grow into the ending balance, which takes trial and error or a calculator like this one.

What is the rate of return formula?

The simple version is (ending value - starting value) / starting value x 100, which gives the total return. The yearly version is (ending / starting)^(1 / years) - 1. With monthly deposits, the ending balance equals each deposit grown at the monthly rate for the months it was invested, and the calculator solves that for the rate.

Why is my rate of return higher than my gain divided by the years?

Because your deposits were not all invested for the whole time. In the example, $300 added in the last month earned almost nothing, yet it still counts in the $41,000 you put in. Dividing the total gain by 10 years treats every dollar as if it had been there from the start, which understates the real rate.

What is the difference between rate of return and ROI?

ROI is usually the total gain as a percentage of what you put in, with no time attached. Rate of return is usually a yearly figure. A 46.3% ROI over 10 years can be a 3.9% yearly rate if all the money went in on day one, or 6.7% a year if it went in gradually, as in our example.

What is a money-weighted rate of return?

It is the rate this calculator finds: the yearly rate that accounts for when you added money. It is the same idea as IRR. A time-weighted return, which funds report, ignores your deposits and measures only how the investments did. Your money-weighted return can be higher or lower depending on whether you added money before good years or bad ones.

How do I calculate rate of return in Excel?

With regular monthly deposits, use =RATE(months, -deposit, -start, end)*12 for a nominal yearly rate, or =(1+RATE(months, -deposit, -start, end))^12-1 for the effective yearly rate. For the example: =(1+RATE(120,-300,-5000,60000))^12-1 returns 6.67%. With irregular cash flows, list them by date and use XIRR.

What is a good rate of return?

A good rate beats what you could have earned elsewhere at similar risk. A diversified stock portfolio has returned around 10% a year over long periods, and high-yield savings accounts have paid around 4% to 5% recently. If your stock-heavy account earned well below the S&P 500 over 10 years, fees or fund choice may be worth a look.

Does this calculator include fees and taxes?

It uses whatever ending balance you enter, so fees already taken from the account are counted. Taxes you will owe when you withdraw are not. For an after-tax figure, enter the balance you would have left after paying them, or use the ROI calculator with a tax rate under More options.

Can I use it for a 401(k)?

Yes. Enter your balance at the start of the period, your average monthly contribution including any employer match and your balance now. The result is the yearly rate the account earned on your money. For a projection forward instead, use the 401(k) calculator.

What if I made withdrawals?

This calculator assumes steady deposits. If you took money out, or your deposits changed a lot from year to year, list each year's net cash flow in the IRR calculator. It finds the same kind of money-weighted rate from uneven amounts.

More return and interest calculators

Measure a return

Turn a result into a yearly rate: CAGR, a run of yearly returns, deposits along the way or uneven cash flows.

Plan a project

What future money is worth today, when a project pays back and how much you need to sell to break even.

Grow savings

What a balance becomes with compounding, an APY, monthly deposits and inflation.

Rates & APR

Simple interest, the rate between two amounts, or what a loan really costs with its fees.