ROI calculator

ROI, or return on investment, is how much you made or lost compared with what you put in. Enter both amounts to see your ROI as a percent.

For stocks, a home, a business or anything you paid for · Free, no sign-up · The formula

What was my return on investment?

ROI is how much you made or lost compared with what you put in.

$
$

What it is worth now, or what you sold it for.

years

Optional. Adds the ROI per year.

Your ROI

50%

You made $5,000 on $10,000. Over 5 years, that is about 8.4% a year.

DollarsPut in$10,000Got back$15,000
  • Gain+$5,000
  • ROI per year8.4%

Hypothetical illustration based on your inputs. Not a prediction, a recommendation, or the performance of any Amaltash strategy. Results change each time you change an input. Fees, taxes and costs are not included unless you enter them.

Try an example:

How to use this calculator

  1. Enter the money you put in.
  2. Enter the money you got back, or what it is worth today.
  3. If you know how long you held it, enter the years.
  4. Read your ROI. With years, you also see ROI per year.

What is ROI (return on investment)?

ROI means return on investment. It is your gain or loss as a percent of what you put in. If you put in $10,000 and get back $15,000, you gained $5,000. That is half of $10,000, so your ROI is 50%. ROI helps you compare two choices of different sizes.

ROI works for stocks, a home, a business or an ad. It only needs two numbers: what went in and what came out.

How do you calculate return on investment?

Use the ROI formula. Take money back minus money in. Divide by money in. Then multiply by 100 to get a percent. If you also got cash along the way, add it to what you got back. If you paid extra costs, add them to what you put in.

ROI=B+C−I−XI+X×100%\text{ROI} = \frac{B + C - I - X}{I + X} \times 100\%

In words: Add what you got back and the cash it paid you. Take away what you put in and the costs. Divide by what you put in plus the costs. Then multiply by 100.

BB
the money you got back, or what it is worth now
CC
cash it paid you along the way, like dividends or rent
II
the money you put in
XX
extra costs, like fees or repairs

Here is how to work out ROI with made-up numbers:

  1. You put in $10,000 and got back $15,000.
  2. Find the gain: $15,000 − $10,000 = $5,000.
  3. Divide by what you put in: $5,000 ÷ $10,000 = 0.5.
  4. Multiply by 100: your ROI is 50%.

In Excel or Google Sheets, put money in in A1 and money back in B1. Type =(B1-A1)/A1 and format it as a percent.

What is annualized ROI?

Annualized ROI is your ROI spread out as a steady rate each year. A 50% ROI over 1 year is very different from 50% over 10 years. Annualized ROI makes them fair to compare. It is the same as CAGR, the compound annual growth rate.

ROI per year=(B+CI+X)1/t−1\text{ROI per year} = \left(\frac{B + C}{I + X}\right)^{1/t} - 1

In words: Divide all you got back by all you put in. Take the root for the number of years. Then take away 1.

BB
the money you got back, or what it is worth now
CC
cash it paid you along the way, like dividends or rent
II
the money you put in
XX
extra costs, like fees or repairs
tt
the number of years you held it, which can include part of a year

Here is the same 50% ROI ($10,000 to $15,000) spread over different times. The numbers are made up.

YearsROIROI per year
150%50.0%
250%22.5%
350%14.5%
550%8.4%
1050%4.1%
2050%2.0%

The longer it takes, the smaller the yearly rate.

See the full year-by-year path in the CAGR calculator →

ROI examples

ROI does not care how big the amounts are. $1,000 that grows to $1,200 and $5,000 that grows to $6,000 both have a 20% ROI. The table shows common amounts. All numbers are made up to show the math.

Put in, then got backGain or lossROI
$1,000 to $1,200$20020%
$5,000 to $6,000$1,00020%
$10,000 to $15,000$5,00050%
$10,000 to $7,000−$3,000−30%
$50,000 to $80,000$30,00060%
$100,000 to $250,000$150,000150%

What does a negative ROI mean?

A negative ROI means you lost money. If $10,000 falls to $7,000, your ROI is −30%. Getting back to even takes a bigger gain than the loss. From $7,000, you need a 42.9% gain to reach $10,000 again.

This table shows the gain needed to get back to where you started. It is plain math, not a guess about any market.

LossGain needed to get back to even
−10%11.1%
−20%25.0%
−30%42.9%
−50%100.0%

ROI of index funds in the past

Here is the past ROI of three funds that track an index, with dividends added back. Take the S&P 500 fund (SPY) from Oct 2016 to Oct 2026. Its ROI over those 10 years was 314.5%. That is about 15.3% a year. Past results do not tell you future results.

The table is past ROI, month-end to month-end, with dividends included. The funds are named only because they track an index.

Fund1 year (Oct 2025 to Oct 2026)5 years (Oct 2021 to Oct 2026)10 years (Oct 2016 to Oct 2026)
S&P 500 fund (SPY)12.0%75.9% (12.0% a year)314.5% (15.3% a year)
Vanguard S&P 500 fund (VOO)12.1%76.5% (12.0% a year)319.3% (15.4% a year)
Nasdaq-100 fund (QQQ)10.3%84.6% (13.0% a year)533.6% (20.3% a year)

Fees inside each fund are already taken out. Taxes are not. Any fund can lose money.

Try your own stock, amount and dates in the stock return calculator →

See the S&P 500 year by year in the S&P 500 calculator →

ROI, CAGR or stock return: which tool?

Use this ROI calculator when you know what you put in and what you got back. Use the CAGR calculator to see the steady yearly rate and the path year by year. Use the stock return calculator to see what a real stock or fund did between two dates.

ToolYou enterYou get
ROI calculator (this page)Money in, money back, years (optional)ROI %, gain, ROI per year
CAGR calculatorStart value, end value, yearsYearly rate, year-by-year path, Excel formula
Stock return calculatorA real stock or fund, amount, start dateWhat it really grew to, next to the S&P 500 fund

Find a steady yearly rate in the CAGR calculator →

See what a real stock did in the stock return calculator →

See what money could grow to in the investment calculator →

FAQ

How do I calculate ROI?

Take what you got back. Subtract what you put in. Divide by what you put in. Multiply by 100. $10,000 that becomes $15,000 has a 50% ROI.

What is a good ROI?

There is no one good number. Compare ROI for the same length of time, and look at the risk too. Two choices with the same ROI can have very different ups and downs.

What does a 30% ROI mean?

It means you gained 30% of what you put in. On $10,000, a 30% ROI is a $3,000 gain. You would have $13,000.

What is the difference between ROI and annualized ROI?

ROI is the total gain over the whole time. Annualized ROI spreads it out as a steady rate each year. It lets you compare things held for different lengths of time.

Can ROI be more than 100%?

Yes. An ROI over 100% means you more than doubled your money. $10,000 that becomes $25,000 has a 150% ROI.

How do I calculate ROI on a rental property?

Add the rent you kept to what the home is worth or sold for. Add costs like repairs to what you put in. Enter them under "More options". Loans make it more complex, and this tool leaves them out.

Does ROI include taxes or inflation?

No. This calculator shows ROI before taxes and before rising prices. Taxes and rising prices both mean your money buys less than the ROI shows.

Guides on this topic

More calculators

See this with your real accounts

Connect your accounts and we keep the numbers up to date for you.

Connect accounts

Published by Amaltash Advisors LLC, an SEC-registered investment adviser

Sources

Get started