ROI Calculator

Calculate return on investment, total gain or loss, ROI percentage, and annualized return from your investment results.

Enter your investment cost and final value to instantly calculate ROI and understand how your investment performed.

Calculate Your ROI

Enter the total amount you originally invested, including relevant purchase costs or fees.

Enter the value or proceeds you received at the end of the investment period, after relevant exit costs. It can be lower than the initial investment.

ROI alone does not show how long it took to achieve the result.

Investment type does not change the basic ROI formula, but fees, taxes, cash flows, and valuation methods may differ.

Advanced Costs & Inflation (optional)

Use these if your initial investment and final value above do not already include costs.

Commissions, closing costs or other buying costs.

Commissions or other costs when selling.

Any other cost of making the investment.

Show inflation-adjusted return

ROI

Gain
+25.00%

Net Gain

+$2,500.00

Initial investment
$10,000.00
Final value
$12,500.00
Gain / loss
+$2,500.00

Your investment gained 25% relative to the original investment.

Annualized Return

Enter an investment period to see the annualized return. ROI alone does not show how long the result took.

Break-Even Point

$10,000.00

Final value needed for 0% ROI. A final value above it produces a positive ROI; below it, a negative ROI.

ROI vs. Annualized Return

Total gain, ROI and annualized return
MetricResultMeaning
Total gain+$2,500.00Dollar gain or loss
ROI25.00%Total return relative to the original investment
Annualized return—Needs an investment period

Why Holding Period Matters

A 25.00% ROI over 1 year is very different from a 25.00% ROI over 10 years:

  • 25.00% ROI over 1 year
    Annualized return ≈ 25.00%
  • 25.00% ROI over 5 years
    Annualized return ≈ 4.56%
  • 25.00% ROI over 10 years
    Annualized return ≈ 2.26%

Annualized with (1 + ROI)^(1/years) − 1. Dividing ROI by the number of years would overstate it: 25.00% ÷ 5 = 5.00%, not 4.56%.

ROI Breakdown

ROI = Gain ÷ Initial Investment × 100 = +$2,500.00 ÷ $10,000.00 × 100 = +25.00%

Investment Timeline

Enter an investment period to see the timeline from purchase to final value.

Only the start and end values are known; the actual path in between may have been much bumpier.

Compare Investments

Investment A
Investment B
Investment C
Investments compared by gain, ROI and annualized return
InvestmentGain / LossROIAnnualized Return
A+$2,000.0020.00%20.00%/yr
B+$4,000.0040.00%6.96%/yr
C+$2,500.0050.00%14.47%/yr

A higher ROI held for longer can still mean a lower annualized return, which is why ROI alone is not enough for comparing investments held for different periods.

What If My Final Value Changes?

Gain and ROI at different final values
Final ValueGain / LossROI
$9,000.00 (90%)−$1,000.00−10.00%
$10,000.00 (100%)$0.000.00%
$11,000.00 (110%)+$1,000.00+10.00%
$12,500.00 (125%)+$2,500.00+25.00%
$15,000.00 (150%)+$5,000.00+50.00%
$20,000.00 (200%)+$10,000.00+100.00%

Final values as a percentage of your initial investment.

ROI After Fees

No separate costs entered. Open Advanced Costs to add purchase, selling or other fees and compare ROI before and after them.

Including transaction costs can provide a more realistic picture of the return you actually received. Not every investment has the same types of fees.

Added or withdrew money along the way? If you added or withdrew money at different times during the investment, basic ROI may not fully describe the investment's performance. Time-weighted return or money-weighted return / IRR may be more appropriate.

This ROI calculator works out your return on investment as a percentage, along with the total gain or loss, from what you invested and what the investment is worth now or sold for. It handles losses as well as gains, so a negative ROI simply shows how much of the original investment was lost.

Add the holding period in years, months or days to see the annualized return, a CAGR-style yearly rate that makes investments held for different lengths of time comparable. Optional fields cover purchase fees, selling fees and other costs for ROI after fees, a break-even value, and an inflation-adjusted return. You can also compare up to three investments side by side and see how the ROI changes if the final value is higher or lower.

If you want to know how to compute ROI by hand, the formula is ROI = (final value − total cost) ÷ total cost × 100. An investment that cost $1,000 and is now worth $1,250 has an ROI of 25%.

ROI Formula

ROI = ((Final Value − Initial Investment) ÷ Initial Investment) × 100

  • Initial Investment: everything it cost to make the investment, including purchase fees.
  • Final Value: what you received or what it is worth at the end, after exit costs.
  • Gain/Loss: Final Value − Initial Investment.
  • ROI: the gain or loss as a percentage of the initial investment.

Example: ($12,000 − $10,000) ÷ $10,000 × 100 = 20.00%.

Net gain

Net Gain = Final Value − Initial Investment

When costs are entered separately, the calculator uses net proceeds (final value minus exit fees) and total cost (initial investment plus entry and other costs). ROI converts this gain or loss into a percentage relative to the original investment cost. Expressing it as a percentage is what lets ROI compare a $200 gain on $1,000 with a $200 gain on $100,000.

Annualized return (CAGR)

CAGR = (Final Value ÷ Initial Value)^(1/t) − 1

Here t is the holding period in years. This is an annualized equivalent growth rate, not a record of the investment's actual year-by-year returns. It works for losses too, as long as the final value is $0 or more. It is not ROI divided by years: 20% over 5 years is about 3.71% a year, not 4%.

ROI vs. CAGR

FeatureROICAGR
MeasuresTotal returnAnnualized growth
Uses timeNoYes
Easy to calculateYesYes
Useful for different holding periodsLimitedBetter
Shows actual yearly pathNoNo

ROI tells you the total percentage gain or loss. CAGR converts the start and end values into an annualized growth rate. CAGR does not mean the investment actually grew at that exact rate every year; it is a smoothed summary. For projecting growth forward, use the Investment Calculator, which also has a CAGR mode.

When ROI Isn't Enough

ROI

Good for simple total-return comparisons with one amount in and one amount out.

CAGR

Useful for annualizing a single initial investment and final value held for a known period.

IRR

More appropriate when there are multiple cash flows at different times, such as extra deposits, withdrawals, dividends or rental income.

NPV

Values future cash flows in today's money using a discount rate, to judge whether an investment beats a required return.

The ROI ratio is a standard corporate-finance and investment metric used across accounting, private equity and personal investing. It is deliberately simple and does not account for the time value of money the way NPV or IRR do.

ROI Calculation Examples

Example 1: Positive ROI

  • Initial: $1,000 · Final: $1,200
  • Gain: +$200.00
  • ROI = $200 ÷ $1,000 × 100

ROI = 20.00%

Example 2: Negative ROI

  • Initial: $5,000 · Final: $4,200
  • Loss: −$800.00
  • ROI = −$800.00 ÷ $5,000 × 100

ROI = −16.00%, a 16% loss

Example 3: Same ROI, Different Time

  • Initial: $10,000 · Final: $12,000 · ROI 20.00%
  • Over 1 year: (1.2)^(1/1) − 1 = 20.00%
  • Over 5 years: (1.2)^(1/5) − 1 = 3.71%

20.00% vs 3.71% per year

Example 4: ROI After Fees

  • $10,000 + $100 purchase costs = $10,100
  • $12,500 − $50 exit costs = $12,450
  • Before costs: 25.00%
  • After costs: $2,350 ÷ $10,100 × 100

ROI 25.00% → 23.27% after costs

All examples use the same calculation engine as the calculator above.

Common ROI Mistakes

  1. Ignoring fees. Leaving commissions or closing costs out inflates the reported ROI above what you actually experienced.
  2. Ignoring time. 20% ROI over 1 year is very different from 20% over 10 years; annualize before comparing.
  3. Treating ROI as guaranteed. A historical ROI describes one past outcome and does not predict future performance.
  4. Comparing different cash-flow structures. An investment with several deposits and withdrawals may need IRR or a time-weighted return instead.
  5. Confusing ROI with profit. A dollar gain and a percentage ROI answer different questions: a large profit can be a small ROI on a large investment.

Where Can ROI Be Used?

ROI works for stock investments, mutual funds, real estate, business investments, marketing campaigns, equipment purchases, projects, reselling products and digital businesses. In business and marketing, it is usually calculated as the gain attributable to the investment divided by the investment cost.

Marketing ROI example

Campaign cost $5,000 · Additional profit $7,500

Gain $2,500 · ROI 50.00%

Define whether you are measuring revenue, gross profit or net profit. Revenue is not the same as return, and using it would overstate ROI.

Real estate ROI example

Purchase + costs $200,000 · Net sale proceeds $250,000

Gain $50,000 · ROI 25.00%

Real property analysis can also involve financing, taxes, maintenance, rental income, closing and holding costs, so this is a simplified example. The Rental Property ROI Calculator covers rental income and expenses.

For money that grows over time, see the Compound Interest Calculator and the Simple Interest Calculator; for long-term goals, the Retirement Calculator.

How to Use the ROI Calculator

  1. Enter your initial investment: the total amount you originally invested.
  2. Enter the final value: what the investment is worth now, or what you received when you sold it. It can be lower than the initial investment.
  3. Optionally enter the investment period in years, months or days to see the annualized return.
  4. Optionally open Advanced Costs & Inflation to add purchase fees, selling fees and other costs, or to see an inflation-adjusted return.
  5. Read your ROI, net gain or loss, annualized return and break-even value.
  6. Use Why Holding Period Matters, Compare Investments and What If My Final Value Changes? to put the result in context.

Frequently Asked Questions

What is ROI?

ROI is a measure of how much an investment gained or lost relative to what it cost, expressed as a percentage. A $10,000 investment that ends at $12,500 has an ROI of 25%.

What does ROI stand for?

ROI stands for Return On Investment.

How do I calculate ROI?

Subtract the initial investment from the final value to get the gain or loss, divide by the initial investment, and multiply by 100. For $10,000 growing to $12,500: ($12,500 − $10,000) ÷ $10,000 × 100 = 25%.

What is the ROI formula?

ROI = ((Final Value − Initial Investment) ÷ Initial Investment) × 100. Include purchase costs in the initial investment and subtract selling costs from the final value for a more realistic result.

How do I calculate ROI as a percentage?

Divide the gain or loss by the original cost and multiply by 100. A $200 gain on $1,000 is 200 ÷ 1,000 × 100 = 20%.

What is a good ROI?

There is no single good number. Whether an ROI is good depends on the risk taken, how long the money was invested, what else you could have earned, the costs involved and the context. Comparing annualized returns over similar periods and risk levels is more meaningful than judging a raw ROI on its own.

Can ROI be negative?

Yes. If the final value is less than what you invested, ROI is negative. $5,000 that ends at $4,200 has an ROI of −16%. The lowest possible ROI is −100%, when the investment ends at $0.

What does a negative ROI mean?

It means the investment lost money: the final value, after costs, is below the total amount invested. A −16% ROI means 16% of the original investment was lost.

Does ROI include time?

No. ROI is the same whether the gain took one year or ten. Enter the investment period in the calculator to see the annualized return, which does account for time.

What is the difference between ROI and CAGR?

ROI is the total percentage return over the whole period. CAGR (compound annual growth rate) converts the same start and end values into a yearly rate. A 25% ROI over 3 years is a CAGR of about 7.72% a year.

How do I calculate ROI after fees?

Add purchase fees and other costs to the initial investment, and subtract selling fees from the final value, then apply the ROI formula. $10,000 plus $100 in fees, sold for $12,500 minus $50 in fees, gives $2,350 ÷ $10,100 = 23.27% instead of 25%.

How do I calculate ROI for a business investment?

Divide the gain attributable to the investment by its total cost. Decide first whether the gain is measured as revenue, gross profit or net profit, and include all relevant costs such as equipment, staff time and setup.

How do I calculate ROI for real estate?

For a simple sale, use the purchase price plus closing and other costs as the investment and the net sale proceeds as the final value. Real property returns often also involve financing, rental income, taxes, maintenance and holding costs, which a basic ROI does not capture; the Rental Property ROI Calculator covers rental income and expenses.

How do I calculate marketing ROI?

Divide the additional profit generated by the campaign, minus the campaign cost, by the campaign cost. A $5,000 campaign that produces $7,500 of additional profit has a gain of $2,500 and an ROI of 50%. Using revenue instead of profit would overstate it.

What is annualized ROI?

Annualized ROI is the constant yearly rate that would turn the starting amount into the ending amount over the holding period: (Final ÷ Initial)^(1/years) − 1. It is not ROI divided by the number of years, and it is not the return earned in each actual year.

What is the difference between ROI and IRR?

ROI compares one amount invested with one final value and ignores timing. IRR (internal rate of return) finds the annual rate that accounts for multiple cash flows at different dates, such as extra deposits, withdrawals or income, so it is the better tool when money moves in and out over time.

What is the difference between ROI and profit?

Profit is the dollar amount gained; ROI is that gain as a percentage of the cost. A $5,000 profit is a 50% ROI on $10,000 but only a 5% ROI on $100,000.

Can I calculate ROI with multiple investments?

Use Compare Investments to compare up to three separate investments side by side. If you added money to the same investment at different times, a simple ROI can be misleading, and a money-weighted return (IRR) or time-weighted return is more appropriate.

Are ROI calculator results guaranteed?

No. The calculator measures a result from the values you enter. A past ROI describes what happened, not what will happen, and taxes, fees and timing can change the return you actually receive.

Last updated: October 25, 2026.