How ROI is calculated
Return on investment compares what an investment gained with what it cost. On its own it ignores time, so the calculator also annualizes it, the method shown in OpenStax Principles of Finance. The annualized return is the constant yearly rate that, with compounding, turns the amount invested into the amount returned.
annualized = ((R ÷ I)^(1 ÷ t) − 1) × 100%
- I
- Amount invested, including costs
- R
- Amount returned, including income
- t
- Years held
Worked example
| Gain$14,500 − $10,000 | $4,500 |
|---|---|
| ROI$4,500 ÷ $10,000 | 45% |
| Annualized1.45^(1/3) − 1 | 13.19% |
The annualized figure is lower than 45% ÷ 3 = 15%, because each year's growth builds on the previous years'.
How to read your results
- ROI is the total return over the whole period; it can't compare a 2-year and a 10-year investment on its own.
- Annualized return makes them comparable: doubling your money in 10 years is 7.18% a year.
- Losses show as negative: $5,000 falling to $4,000 in two years is -20% in total and -10.56% a year.
ROI measures return on money invested; margin measures profit on sales. For prices and margins, use the profit margin calculator.
Assumptions
- One amount invested at the start and one amount returned at the end.
- Income received along the way is included in the amount returned.
- Taxes and inflation are not deducted unless you include them yourself.
Limitations
- Regular deposits or withdrawals need a money-weighted return (IRR), which this calculator does not compute.
- ROI says nothing about risk: two investments with the same ROI can be very different.
- Past returns don't predict future ones.
Frequently asked questions
How do I calculate return on investment?
Subtract what you invested from what you got back, divide by what you invested and multiply by 100. $10,000 returning $14,500 is 45%.
What is annualized ROI?
It is the yearly rate that compounds to the same total return. A 45% return over 3 years is 13.19% a year, not 15%.
What is the difference between ROI and profit margin?
ROI divides the gain by the money invested; profit margin divides the profit by the selling price. A business can have a thin margin and a high ROI if it sells a lot with little capital.
Sources
Definitions and rules referenced on this page. Calcendium is not affiliated with these publishers.
- Principles of Finance, 15.1 Risk and Return to an Individual Asset
OpenStax, Rice University · International · Checked October 29, 2026
The holding period return is the total return over the time held, without annualizing; to compare investments it is annualized as (1 + holding period return)^(1/m) − 1, for periods shorter or longer than a year.
- Compound interest — glossary
U.S. Securities and Exchange Commission, Investor.gov · United States · Checked October 23, 2026
Definition of compound interest: interest earned on principal and on interest already added.