What Is ROI?
ROI stands for return on investment. It compares a calculated gain or loss with the amount used as the investment base, then expresses the result as a percentage.
In finance, return on investment is one of the most common ways to compare the forecasted profitability of different opportunities before committing serious money. It can be used for stocks, real estate, marketing campaigns, employees, business equipment, or almost any project that has a cost and a possible gain. More detailed return formulas exist, but ROI remains popular because it is simple, fast, and easy to explain as a first-pass profitability check.
The percentage depends on which value is used as the denominator, the holding period, and whether the amount returned is realized or still a calculation. In this calculator, a $10,000 amount invested that returns $12,500 produces a $2,500 investment gain, a 25.00% ROI, and a 20.00% profit margin.
ROI can sometimes be confused with ROR, or rate of return. They are related, and in casual use people may mix them, but ROR often implies a time period such as an annual rate, while plain ROI by itself does not include time unless it is annualized.
ROI Formula Explained
Formula used by this calculator
Investment gain = Amount returned - Amount invested
ROI = (Investment gain / Amount invested) x 100
Profit margin = (Investment gain / Amount returned) x 100
Annualized ROI = ((1 + ROI decimal)^(1 / years) - 1) x 100
The amount returned is the ending amount or proceeds entered in the form. The amount invested is the calculation base and ROI denominator. Profit margin uses the amount returned as its denominator, which is why ROI and profit margin can show different percentages for the same gain.
Some analysts include taxes, fees, or financing costs before entering the amount returned. That can produce a different ROI percentage, so comparisons should use the same denominator and net/gross convention.
How to Calculate ROI
- Enter the initial investment.
- Enter the amount returned or proceeds.
- Choose Use Dates or Use Length if you want annualized ROI.
- Review investment gain, ROI, annualized ROI, profit margin, and investment length.
For example, if the amount invested is $1,000 and the amount returned is $2,000, the investment gain is $1,000. ROI is ($1,000 / $1,000) x 100 = 100.00%, while profit margin is ($1,000 / $2,000) x 100 = 50.00%.
With a 2.5-year holding period, annualized ROI is (2^(1 / 2.5) - 1) x 100 = 31.95%. That is an equivalent compounded yearly rate across the full holding period, not the exact return earned in each year. It is not IRR or XIRR, does not account for irregular deposits or withdrawals, does not measure risk, and is not a forecast or guaranteed annual return.
Difficulty in Using ROI
ROI is flexible enough to measure many kinds of investments, but that flexibility can make it easy to misuse. The formula is simple; the harder part is deciding what should count as the investment amount and what should count as the amount returned.
For example, one real estate investor may include capital improvements, taxes, insurance, and closing costs before entering the amount invested, while another may use only the purchase price. A stock investor may account for trading fees and capital gains taxes, while another may compare only the buy price and sale value. Both people can calculate ROI correctly from their inputs, but the results are not directly comparable unless the same assumptions are used.
The biggest weakness of basic ROI is that it does not include a timeframe. A 1,000% ROI over 50 years may be less useful than a 50% ROI earned in only a few months. This is why ROI works best as a starting point, then should be paired with annualized ROI, risk, liquidity, taxes, and other decision factors.
Annualized ROI
This calculator includes an investment time input to address the missing-time problem in basic ROI. When you enter valid dates or a length in years, the calculator converts the total ROI into an annualized ROI, which is often more useful when comparing investments with different holding periods.
Higher annualized ROI is usually attractive, but it should not be read in isolation. A lower-return investment may still be preferred when it has lower risk, better liquidity, more predictable cash flow, or other favorable conditions. Some ROI calculations, such as advertising ROI, may also depend on assumptions about marginal sales lift, brand recognition, or future customer value rather than a directly observed sale price.
What Is a Good ROI?
There is no responsible universal benchmark for a good ROI. A useful comparison looks at the holding period, risk, inflation, financing costs, taxes, effort required, liquidity, alternative opportunities, and any relevant business or industry benchmark.
A higher ROI is not automatically better if it comes with much higher risk or a final value that is only a guess. A 10% return over one year is also different from a 10% return over five years, which is why the annualized result can help with holding-period comparisons.
How to Make ROI Comparisons Fair
ROI is most useful when every option is measured with the same input rules. Before comparing two investments, decide whether the amount returned is gross or net, whether fees and taxes are included, and whether the holding periods are similar enough to compare directly.
| Comparison issue | Why it matters | Better input habit |
|---|---|---|
| Gross vs net return | Gross proceeds can overstate the money actually kept. | Use net amount returned when fees, taxes, repairs, or financing are material. |
| Different holding periods | A 20% gain in three months is not the same as 20% over five years. | Enter dates or investment length and compare annualized ROI. |
| Unequal risk | Higher ROI may come from higher uncertainty or lower liquidity. | Compare ROI with risk, cash-flow reliability, and available alternatives. |
| Different denominators | Using cash invested in one case and total project cost in another changes the result. | Keep the amount invested definition consistent across every option. |
ROI vs ROAS
ROI measures gain or loss relative to an investment base. ROAS, or return on ad spend, measures revenue generated relative to advertising spend.
For example, $5,000 in ad spend that generates $15,000 in sales has a 3:1 ROAS. If product costs, platform fees, fulfillment, and labor total $11,500, the broader ROI can still be weak even though the ROAS looks positive.
ROI vs IRR, NPV, Payback Period, and Hurdle Rate
ROI is a quick profitability metric, but it is not always the final decision tool. For simple cases with one amount invested and one amount returned, ROI is usually easy to read. For projects with many cash flows, financing events, reinvestments, or uneven timing, other metrics can give a clearer picture.
- Annualized ROI converts total ROI into an equivalent yearly rate when a holding period is known.
- IRR or XIRR is better when money moves in and out on different dates.
- NPV discounts future cash flows back to today using a chosen required return.
- Payback period focuses on how long it takes to recover the initial investment.
- Hurdle rate is the minimum return you require before an investment deserves more attention.
A smart ROI calculator result is best used with context: compare it with the return you require, the risk you are taking, the cash you may need during the holding period, and the returns available from simpler alternatives.
ROI for Stocks, Real Estate & Business
The same ROI structure can be used for stocks, real estate, and business projects, but the meaning of amount invested and amount returned should stay consistent.
For stocks, amount invested may be the purchase amount and amount returned may include sale value plus dividends. For real estate, the returned amount may include sale proceeds and income. For business projects, it may be revenue, resale value, or total cash recovered from the project.
Transaction fees, taxes, commissions, renovation costs, shipping, advertising spend, maintenance, platform fees, and closing costs can all change the result if you include them before entering the returned amount. Simple ROI generally does not account for when each cash flow occurred; when deposits, withdrawals, or irregular cash flows happen on different dates, IRR or XIRR may be more appropriate.
| Use case | Amount invested can include | Amount returned can include |
|---|---|---|
| Stock ROI calculator | Purchase amount, commissions, and trading fees | Sale value, dividends, and distributions |
| Real estate ROI calculator | Down payment, repairs, closing costs, and improvements | Sale proceeds, rental income, and recovered deposits |
| Marketing ROI calculator | Ad spend, agency costs, software, and production costs | Incremental revenue, gross profit, or customer value |
| Business ROI calculator | Equipment, labor, implementation, training, and maintenance | Recovered cash, cost savings, resale value, and added profit |
For related planning, compare this page with the Compound Interest Calculator, Retirement Calculator, Loan Calculator, Mortgage Calculator, Margin Calculator, Customer Acquisition Cost Calculator, and Percentage Calculator.
ROI Examples
These examples are illustrative and do not represent expected returns. Each row uses the same amount-invested denominator and return treatment as the calculator.
| Example | Invested | Returned | Period | Gain | ROI | Annualized ROI |
|---|---|---|---|---|---|---|
| Stock investment | $5,000.00 | $5,850.00 | 2 years | $850.00 | 17.00% | 8.17% |
| Rental property | $60,000.00 | $72,000.00 | 4 years | $12,000.00 | 20.00% | 4.66% |
| eCommerce business | $12,000.00 | $16,500.00 | 1 years | $4,500.00 | 37.50% | 37.50% |
| Marketing campaign | $4,000.00 | $6,200.00 | 0.5 years | $2,200.00 | 55.00% | 140.25% |
| Small business investment | $20,000.00 | $27,000.00 | 3 years | $7,000.00 | 35.00% | 10.52% |
Example Investment Growth Table
This illustrative projection starts with $10,000.00 and assumes8% annual compound growth. It excludes fees, taxes, inflation, and irregular cash flows, and it is not historical market data or a prediction.
| Year | Calculated value | Cumulative gain | ROI |
|---|---|---|---|
| 0 | $10,000.00 | $0.00 | 0.00% |
| 1 | $10,800.00 | $800.00 | 8.00% |
| 3 | $12,597.12 | $2,597.12 | 25.97% |
| 5 | $14,693.28 | $4,693.28 | 46.93% |
| 10 | $21,589.25 | $11,589.25 | 115.89% |
This table models compound growth over time. The main calculator measures simple ROI from the entered amount returned and amount invested.
ROI Limitations
Simple ROI does not automatically measure risk, volatility, liquidity, inflation, taxes, financing costs, opportunity cost, required effort, cash-flow timing, or the probability that an calculated amount returned will be achieved.
ROI can also mislead when comparing investments with different holding periods unless returns are annualized appropriately. Annualized ROI improves time comparison, but it still does not measure risk or handle multiple dated cash flows like IRR or XIRR.
Projected values are not guaranteed. Treat ROI as a first-pass comparison and review the underlying assumptions before using it for planning, accounting, tax, lending, or investment decisions.
Frequently Asked Questions
Practical answers to common calculator questions.
