Last updated:

ROI Calculator: Return on Investment, Annualized, After-Tax and Real

Creators

Saba ShaukatSaba ShaukatEducational Content Writer & Technical Conversion WriterSaba Shaukat is an educational content writer with an MSc in Media Studies and more than 14 years of teaching experience. She specialises in explaining information clearly, developing educational materials and making complex topics easier for everyday readers to understand. At EverydayCalcPro, she contributes practical calculator guides, tool explanations and user-friendly educational content. See full profileCheck our editorial policy

Reviewers

Haroon ArshadHaroon ArshadBusiness Analytics & Operations SpecialistLinkedInHaroon Arshad is a Business Analytics and Operations Specialist with professional experience in manufacturing consulting, operational excellence and business management. Currently working as a Manufacturing Consultant at Northvolt in Sweden, he brings practical experience in process improvement, analytical thinking and operational performance. At EverydayCalcPro, he contributes business guides and reviews business-related calculators to help ensure their calculations, explanations and practical applications are clear and reliable. See full profileCheck our editorial policy and Faheem AliFaheem AliSoftware Developer, Digital Marketing Specialist & Technical WriterLinkedInWebsiteFaheem Ali is a software developer, digital marketing specialist and technical writer with over 12 years of experience in programming, digital marketing and content development. He holds two master’s degrees in Management Sciences and has professional certifications in programming and digital marketing. Based in Finland, Faheem focuses on developing reliable calculators, verifying mathematical formulas and calculation logic, and making technical and financial information accessible through clear, practical guides. See full profileCheck our editorial policy

30 people find this calculator helpful

Enter what you invested and what you got back. You get your ROI, the yearly equivalent, and how it compares with a benchmark for that type of investment. Tax and inflation are optional.

Investment type (fills an example and picks the benchmark)

Your investment
Your cost, before any fees below
What it is worth or was sold for
Leave at 0 if not needed
Optional adjustments
Your cost of capital or what the money could earn elsewhere
Compare investments
Investment 2
Decimals are fine, e.g. 2.5
Investment 3
Decimals are fine, e.g. 2.5

Enter your numbers to see the result.

Did we solve your problem today?

ROI formula: how to calculate return on investment

Return on investment shows how much you gained or lost compared with what you put in, as a percentage. The ROI formula (also called the ROI equation) is short, but four versions of it answer different questions.

MeasureFormulaAnswers
Simple ROI(Final value − Cost) ÷ Cost × 100How much did I gain in total?
Annualized ROI(Final ÷ Cost)1 ÷ years − 1What is that per year?
After-tax ROI(Profit − Tax on profit) ÷ Cost × 100What do I actually keep?
Real ROI(Final ÷ Cost) ÷ (1 + inflation)years − 1What did I gain in buying power?

Cost means everything you spent, including fees. If you received income along the way, such as rent or dividends, add it to what you got back.

Worked example: $10,000 grows to $13,500 in 3 years

  1. Net profit: $13,500 − $10,000 = $3,5
  2. Simple ROI: $3,5 ÷ $10, × 100 = 35%
  3. Per year: 1.351 ÷ 3 − 1 = 10.52% a year
  4. After 15% tax on the gain: $3,5 − $525 = $2,975, so ROI = 29.75%
  5. After 3% inflation a year as well: 18.7% in real terms over the 3 years

What is a good ROI?

A good ROI beats your cost of capital and the realistic alternatives for the same risk. These rules of thumb are the same tiers the calculator uses. Rows marked “per year” are annual returns; rows marked “per project” are totals for a single campaign, flip or event, so do not compare the two kinds directly.

InvestmentBelow averageAverageGoodExcellent
Stocks per yearUnder 7%7–10%10–15%15%+
Rental property per yearUnder 4%4–8%8–12%12%+
Property flip per projectUnder 10%10–20%20–30%30%+
Business investment per yearUnder 5%5–15%15–30%30%+
Solar panels per yearUnder 5%5–10%10–20%20%+
Marketing campaign per projectUnder 100%100–200%200–500%500%+
Employee training per projectUnder 50%50–200%200–500%500%+
Trade show or event per projectUnder 100%100–200%200–400%400%+

The S&P 500 has averaged about 10% a year since 1957 before inflation, according to Fidelity, which is why 10% is the usual yardstick for stocks. Returns vary widely from year to year. For a full explanation by investment type, read what is a good ROI percentage, and see a good ROI for a small business, ROI by industry and is 50% ROI good.

Simple ROI vs annualized ROI

Simple ROI ignores time. The same total return means very different things depending on how long it took, so convert it to a yearly rate before comparing.

Total ROI1 yr2 yr3 yr5 yr10 yr20 yr
35% total35% a year16.2% a year10.5% a year6.2% a year3% a year1.5% a year
100% total100% a year41.4% a year26% a year14.9% a year7.2% a year3.5% a year

A 35% total gain is excellent in one year but only 3% a year over ten. A 100% gain over ten years is 7.2% a year, close to the long-run stock market average, not an exceptional result.

ROI by amount invested

Profit and ROI at common return levels. The ROI stays the same at every amount; only the dollar profit changes.

Invested+10%+25%+50%+100%−20%
$1,$1$25$5$1,−$2
$5,$5$1,25$2,5$5,−$1,
$10,$1,$2,5$5,$10,−$2,
$50,$5,$12,5$25,$50,−$10,
$100,$10,$25,$50,$100,−$20,

After-tax ROI

Taxes reduce what you keep. In the US, long-term capital gains are taxed at 0%, 15% or 20% depending on taxable income, and short-term gains are taxed as ordinary income. The thresholds change each year, so check the current rules for your situation. The table shows how a gross ROI shrinks at different tax rates on the gain.

Gross ROI0% tax15% tax20% tax24% tax32% tax37% tax
25%25%21.25%20%19%17%15.75%
50%50%42.5%40%38%34%31.5%
100%100%85%80%76%68%63%

Tax applies to a gain only. If you lost money, the calculator shows the loss as it is and does not add a tax saving.

Negative ROI and the gain needed to recover

A negative ROI means you lost money. Recovering takes a bigger percentage gain than the loss, because the gain is measured on a smaller amount.

ROI−10%−20%−30%−50%−75%
Gain needed to break even+11.1%+25%+42.9%+100%+300%

ROI vs ROAS, margin and cost of capital

ROAS is revenue divided by ad spend. It ignores your costs, so a ROAS of 3 can still lose money if your margin is thin. ROI uses profit. Margin is profit as a share of revenue, not of cost. And a high ROI is only good if it beats your cost of capital, the return the same money could earn elsewhere or the rate you pay to borrow it. Enter that as your required return in the calculator to see how far you are above or below it.

ROI calculator FAQ

How do you calculate ROI?
ROI = (Net profit ÷ Cost) × 100, where net profit is what you got back minus what you put in. Example: invest $10,000 and get back $13,500 → ($3,500 ÷ $10,000) × 100 = 35%. If you also paid fees or received income along the way, add the fees to the cost and the income to what you got back.
What is the ROI formula and equation?
The ROI formula and the ROI equation are the same thing: ROI (%) = (Final value − Initial cost) ÷ Initial cost × 100. It can also be written as (Net profit ÷ Cost) × 100. A result of 0% is break-even, a positive number is a gain and a negative number is a loss.
What is a good ROI percentage?
There is no single number. It should beat your cost of capital and the realistic alternatives for the same risk. As rules of thumb, 10% or more a year is good for stocks, 8–12% for a rental property, 15–30% for a business investment, and 200–500% per campaign for marketing. See the benchmark table above, or our guide to a good ROI percentage.
What is annualized ROI and why does it matter?
Annualized ROI converts a total return into the equivalent yearly rate: (Final ÷ Cost)^(1 ÷ years) − 1. A 35% total return is excellent in one year (35% a year) but only 3.1% a year over ten years. Annualizing is the only fair way to compare investments held for different lengths of time. For periods under a year the figure is an extrapolation, so treat it with caution.
How do you calculate ROI after tax?
Work out the tax on the gain, subtract it from the profit, and divide by the cost. Example: a $3,500 gain taxed at 15% leaves $2,975, so after-tax ROI = $2,975 ÷ $10,000 = 29.75%. Tax applies only to a gain, so this calculator does not treat a loss as a tax saving. Long-term capital gains are taxed at 0%, 15% or 20% in the US depending on taxable income, and short-term gains are taxed as ordinary income. The thresholds change every year, so check the current figures for your situation.
What is inflation-adjusted (real) ROI?
Real ROI removes the effect of rising prices: Real ROI = (Final ÷ Cost) ÷ (1 + inflation)^years − 1. With a 35% gain over 3 years and 3% inflation, the real return is about 23.5%, not 35%. When you also tick the tax box, the calculator applies inflation to the after-tax value.
Can ROI be negative?
Yes. A negative ROI is a loss. Invest $1,000 and get back $700 → ($700 − $1,000) ÷ $1,000 = −30%. Losses are harder to recover than they look: after a 30% loss you need a gain of about 43% just to get back to even.
Is 50% ROI good?
It depends on the time. A 50% return in one year is outstanding for almost any investment. Over five years it is only about 8.4% a year, which is good but not unusual, and over ten years it is about 4.1% a year. Use the per-year figure to judge it. The same 50% would be a weak result for a marketing campaign, where 200% or more is the usual target.
What is a bad ROI?
A negative ROI is a loss. A positive ROI can still be bad if it is lower than inflation, lower than your cost of capital, or lower than a safer option such as a high-yield savings account would have paid for the same period.
What is the difference between ROI and ROAS?
ROI measures profit relative to total cost. ROAS (return on ad spend) measures revenue relative to ad spend only and ignores your margin. A ROAS of 3 means $3 of revenue per $1 of ads, but if your margin is 30% that is only $0.90 of gross profit, a loss before any other costs.
How do I calculate ROI for real estate?
For a rental, ROI per year = (Annual rent − Annual costs) ÷ Total amount invested × 100, with mortgage interest, tax, insurance and upkeep counted as costs. For a flip, ROI = (Sale price − Purchase price − Renovation − Selling costs) ÷ Total cost × 100. In this calculator, pick Rental property or Property flip, put the purchase and renovation money in the cost, and use the extra income and extra costs boxes for rent and upkeep.
How do I calculate marketing ROI?
Marketing ROI = (Profit attributable to the campaign − Campaign cost) ÷ Campaign cost × 100. Use profit, not revenue: $40,000 of sales at a 50% margin is $20,000 of profit, so a $10,000 campaign has an ROI of 100%, not 300%. Many teams target 200–500% on a major campaign, and it varies a lot by channel.
What is a good ROI for solar panels?
Many homeowners see about 10–20% a year, depending on local electricity prices, sunlight, system cost and incentives. Incentives have changed: the US federal 30% residential clean energy credit stopped applying to homeowner purchases after 2025, so include only the incentives you can actually claim today and check current rules and local programs.
How do you calculate ROI for employee training?
Training ROI = (Benefits − Training cost) ÷ Training cost × 100. Benefits can include higher output, fewer errors, lower turnover and more sales, but they are hard to isolate from other changes, so use a cautious estimate. About 200–500% is commonly cited as a good result.
Does ROI include the time value of money?
No. Simple ROI ignores when the money moves. Annualized ROI accounts for the length of the holding period but assumes one lump sum in and one out. For a series of payments at different dates, use IRR or NPV instead.

About this calculator

Method: standard return arithmetic in your browser. Nothing you enter is sent to or stored on our servers. The calculator is for estimates and learning, not investment, tax or legal advice. Past returns do not predict future ones. Last reviewed November 22, 2026. Spotted a mistake? Tell us and we will correct it.

Sources: Fidelity: S&P 500 average return.