Skip to content

Finance & Tax

ROI Calculator

Measure how profitable an investment was. Enter what you invested, what it is worth now and how long you held it.

Use calculator

Tool updated

ROI does not account for investment risk, inflation or the timing of cash flows. Results are estimates for education and planning, not financial advice.

Can be 0 for a total loss.

Additional costs (optional)

Turn off to see the basic return on the initial investment alone.

Compare with other investments

For example, Option B.

Blank uses the years above.

For example, Option C.

Blank uses the years above.

Return on investment (including additional costs)

50.00%

50.0% return: a net profit of $5,000 on $10,000 invested, or 14.47% a year over 36 months.

Total investment

$10,000

Initial investment plus additional costs

Gross return (final value)

$15,000

Gross gain or loss: $5,000

Net profit

$5,000

After all costs

ROI

50.00%

Basic 50.00% · with costs 50.00%

Annualized ROI

14.47%

The steady yearly rate that gives the same result

Return multiple

1.50×

Break-even value: $10,000

Where the money went

  • Initial investment: $10,000(100.0%)
$0$5K$10K$15K$20K$10K$15K$5KYour investment
  • Total investment
  • Final value
  • Net profit
Total investment $10,000, final value $15,000, net profit $5,000
PeriodTotal investmentFinal valueNet profit
Your investment$10,000$15,000$5,000

How this was calculated

  1. Total investment = $10,000.00 = $10,000.00.
  2. Net profit = final value − total investment = $15,000.00 − $10,000.00 = $5,000.00.
  3. ROI = net profit ÷ total investment × 100 = $5,000.00 ÷ $10,000.00 × 100 = 50.00%.
  4. Annualized ROI = (final value ÷ total investment)^(1 ÷ years) − 1 = ($15,000.00 ÷ $10,000.00)^(1 ÷ 3.00) − 1 = 14.47%.

ROI does not measure risk, inflation or the timing of cash flows. Two investments with the same ROI can differ a lot in how risky they were and how long your money was tied up.

Worked example

Invest 1,000 and sell for 1,500 after 2 years

Enter an initial investment of 1,000, a final value of 1,500 and a period of 2 years.

ROI = (1,500 − 1,000) ÷ 1,000 = 50%; annualized = 1.5^(1/2) − 1 = 22.47% a year

Adding 100 of fees makes the total investment 1,100 and the ROI 36.36%. ROI does not account for risk, inflation or the timing of cash flows.

Back to the calculator

How to use the calculator

  1. Choose the type of investment, such as business, marketing, real estate, stocks or equipment.
  2. Enter your initial investment and the final value. The final value can be 0 for a total loss.
  3. Enter how long you held the investment in years and months.
  4. Add any additional costs, such as fees, taxes, repairs or advertising, and choose whether to include them in the ROI.
  5. Read the total investment, net profit, ROI, annualized ROI and return multiple.
  6. Check the chart of costs, final value and net profit.
  7. To compare investments, open the comparison section and enter up to two more.
  8. Copy the link to save your calculation.

Calculator Overview

This free ROI Calculator measures how profitable an investment was, or is expected to be. Enter the initial investment, the final value, any additional costs and how long you held it, and the calculator returns your total investment, gross return, net profit, ROI percentage and annualized ROI. It handles gains, losses and break-even results, and explains what each number means.

Choose the kind of investment, such as a general investment, business, marketing campaign, real estate, stocks or funds, or equipment purchase, and the form uses suitable labels and cost categories for it. You can calculate ROI with or without additional expenses such as fees, taxes, maintenance, advertising or closing costs, so you can see the difference between a basic return and a net return.

Charts compare your costs, final value and net profit, and show where the money went. A comparison section lets you set up to three investments side by side, with their costs, net profit, ROI and annualized ROI, so you can see which performed better per dollar and per year. Twelve currencies are supported, and the calculator validates your inputs, including zero investments, negative returns and short periods.

ROI is simple and useful, but it does not account for risk, inflation or the timing of cash flows. This guide explains the limits so you can use it sensibly alongside other measures. The results are estimates for education and planning, not financial advice.

Formula

Loading formula...

Formula and Step-by-Step Example

The total investment is the initial amount plus any additional costs you choose to include. The net profit is the final value minus that total. ROI is the net profit divided by the total investment, multiplied by 100. If you choose not to include additional costs, the result is the basic ROI on the initial investment alone, and the calculator also shows the other version so you can see the effect of the costs.

Annualized ROI converts the total return into a steady yearly rate. It is the ratio of the final value to the total investment, raised to the power of one divided by the number of years, minus one. Because it compounds, a 50% total return over two years is 22.47% a year, not 25%. When the period is under a year, the annualized figure extrapolates a short result and is flagged as such.

The return multiple is the final value divided by the total investment. A multiple above 1 means a gain and below 1 means a loss. The break-even value is the final value at which ROI is zero, which equals the total investment.

The calculator handles an investment of zero by asking for a positive amount, a final value of zero as a total loss with an ROI of −100%, and a missing duration by hiding the annualized figure. ROI does not account for risk, inflation or the timing of cash flows.

Frequently asked questions

What is ROI?

Return on investment (ROI) measures how much you gained or lost on an investment compared with what it cost. It is usually shown as a percentage: net profit divided by the cost of the investment, multiplied by 100. An ROI of 50% means you earned half of what you put in.

How do I calculate ROI?

ROI = (final value − cost) ÷ cost × 100. If you invest 1,000 and it is worth 1,500, the net profit is 500 and the ROI is 500 ÷ 1,000 × 100 = 50%. If there are additional costs such as fees, add them to the cost before dividing.

What is annualized ROI?

Annualized ROI is the steady yearly rate that would produce the same total return over the period you held the investment. It is (final value ÷ cost)^(1 ÷ years) − 1. A 50% ROI over 2 years is 22.47% a year, not 25%, because the growth compounds.

Why is annualized ROI better for comparing investments?

Because it puts investments held for different lengths of time on the same yearly basis. A 30% ROI over 10 years is about 2.7% a year, while 10% in 6 months is about 21% a year when annualized.

What is the difference between gross and net return?

Gross return is the final value compared with the initial investment, before additional costs. Net return subtracts every cost of earning it, such as fees, taxes, maintenance and advertising. Net ROI is the more realistic measure, and the calculator shows both.

How are negative returns handled?

A negative ROI means a loss. An investment that falls from 10,000 to 8,000 has an ROI of −20%. A loss also needs a bigger gain to recover: after a 20% loss you need a 25% gain to get back to 10,000. A final value of 0 is a loss of 100%.

Why can't I calculate ROI with a zero investment?

ROI divides by the amount invested. If the cost is zero, the result is undefined, so the calculator asks for an investment greater than zero.

Can I use it for marketing campaigns?

Yes. Choose the marketing campaign type, enter the campaign spend as the investment and the revenue it generated as the final value, and add agency fees or other costs. The return multiple is similar to return on ad spend (ROAS).

Can I use it for real estate?

Yes. Enter the purchase price, the sale price or current value, and costs such as closing costs, repairs, property taxes and agent fees. For rental income, add it to the final value. Remember that the annualized figure depends on how long you held the property.

What does ROI not tell me?

ROI does not account for risk, inflation or the timing of cash flows. Two investments with the same ROI can differ in how risky they were and in when the money came back, and 10% over one year is not equivalent to 10% over five.

What is a good ROI?

It depends on the type of investment, the risk and the time. Compare against alternatives, such as a savings account or an index fund, over the same period, and against the rate of inflation.

Can I compare several investments?

Yes. Open the comparison section and enter up to two more investments. The calculator shows costs, net profit, ROI and annualized ROI side by side with a chart.

Understand your result

ROI Calculator guide

ROI is one of the simplest ways to judge an investment, which is also why it is easy to misuse. This guide shows the calculation with examples and points out the costs, timing and risk that the single percentage leaves out.

A worked example: 1,000 becomes 1,500

You invest 1,000 and later it is worth 1,500. The net profit is 500 and the ROI is 500 ÷ 1,000 × 100 = 50%. If you held the investment for two years, the annualized ROI is (1,500 ÷ 1,000)^(1 ÷ 2) − 1 = 22.47% a year.

If you also paid 100 in fees, the total investment is 1,100, the net profit is 400, and the ROI is 36.36%. Including costs changed the answer by more than 13 percentage points, which is why net ROI is the more honest figure.

Different kinds of investment

For a marketing campaign that costs 5,000 and generates 12,000 of revenue, the ROI is (12,000 − 5,000) ÷ 5,000 = 140%, a return multiple of 2.4. For a property bought for 200,000, sold for 250,000 and carrying 20,000 of costs, the net profit is 30,000 and the ROI is 13.64%, which is about 2.6% a year over five years.

The same arithmetic applies to stocks, equipment or a business, but what counts as a cost and as a return differs. Include everything it took to earn the return, and count income as well as the sale value.

Why annualize

Two investments are only comparable when they cover the same period. An ROI of 10% in three months is very different from 10% in three years. Annualizing the first gives about 46% a year, while the second is about 3.2% a year.

Be careful with very short periods. Extrapolating three months of results to a year assumes the same return can be repeated four times in a row, which is rarely realistic.

What ROI leaves out

ROI does not measure risk, so a high ROI from a very risky investment may not be better than a lower ROI from a safe one. It ignores inflation, so a 3% ROI in a year with 4% inflation is a loss in buying power. It also ignores the timing of cash flows, so it is a poor measure for investments with many deposits and withdrawals.

For those cases, use measures that account for timing, such as the internal rate of return, and compare against alternatives over the same period.

Continue with a related calculation

References and further reading

Quick reference: ROI worked examples

Worked example: ROI and annualized ROI for four situations. Costs are included in the total investment where shown. Annualized ROI is calculated from the holding period.

ROI worked examples
ExampleTotal investmentFinal valueNet profitROIAnnualized ROI
Basic return1,0001,50050050.00%22.47%
With 100 of costs1,1001,50040036.36%16.77%
Marketing campaign5,00012,0007,000140.00%n/a
Real estate, 5 years220,000250,00030,00013.64%2.59%

Read the complete ROI Calculator guide

See the longer walkthrough and reference notes for ROI Calculator.

Open Guide

Editorial Review & ROI Sources

Author

Jitendra Kumar

Founder & Lead Developer

Reviewed by

OmniCalc Editorial Review

Formula QA, source review, and calculator maintenance

Last reviewed

ROI calculator

ROI and annualized ROI formulas are reviewed against standard definitions and tested with hand calculations, including losses, zero values and short periods.

Primary Sources

ROI does not account for risk, inflation or the timing of cash flows. Results are estimates for education and planning, not financial advice. See our sources and methodology and editorial policy.

Explore more calculators