ROI = (final value − initial cost) ÷ initial cost × 100. If $8,000 grows to $10,400, the gain is $2,400 and the ROI is 30%. A drop from $5,000 to $4,250 is −15%. ROI ignores time. To compare investments held for different periods, annualize it: (final ÷ initial)^(1 ÷ years) − 1. A 30% ROI over 3 years is about 9.14% a year.
This ROI calculator measures return on investment as a percent from initial and final values (or gain versus cost). It is a simple performance comparison tool for education and planning, not a promise of future results.
ROI is a simple comparison metric. It answers how large the profit or loss is relative to the money originally committed. It is popular because it is easy to communicate across stocks, small business projects, marketing tests, and personal purchases that you later resell. The tradeoff is that basic ROI does not automatically include time, risk, or cash flow timing unless you add those ideas yourself. For a financed rental, check whether rent covers the full payment with the DSCR loan calculator.
This page stays focused on the classic percent form. For compounding paths on a lump sum, use compound interest tools. For monthly investment plans, use a SIP style estimator. Start from finance calculators or investment and savings, and scan the full archive when you need adjacent metrics such as margins under business finance.
What this ROI calculator computes
Inputs are initial value and final value. Outputs are:
- ROI% = ((final – initial) ÷ initial) × 100
- Gain = final – initial
If initial is zero or negative, the live script returns ROI as 0 while still reporting gain as final minus initial. That guard avoids dividing by zero. In normal use, initial should be a positive cost or starting value.
Who uses ROI
- Investors summarizing a completed round trip on an asset
- Operators comparing project outcomes against cost
- Marketers reviewing campaign spend versus attributed return when they define final value clearly
- Students learning the return on investment formula
How to calculate ROI percentage and gain
- Enter the initial amount (cost, capital committed, or starting value).
- Enter the final amount (ending value, sale proceeds, or total recovered value as you define it).
- Read ROI as a percent and gain as the currency difference.
- Repeat for alternative scenarios to compare outcomes on the same basis.
Be explicit about what final includes. Some people put only sale price. Others include dividends, cost savings, or residual value. ROI is only as meaningful as the definitions you feed it. Keep definitions consistent when you compare two projects.
Worked examples
Investment example
You buy shares for $8,000 and later the position is worth $10,400.
- Gain = 10400 – 8000 = $2,400
- ROI% = (2400 ÷ 8000) × 100 = 30%
Loss example
You fund a side project with $5,000 and recover $4,250.
- Gain = 4250 – 5000 = -$750
- ROI% = (-750 ÷ 5000) × 100 = -15%
| Scenario | Initial | Final | Gain | ROI% |
|---|---|---|---|---|
| Stock position | $8,000 | $10,400 | $2,400 | 30% |
| Side project | $5,000 | $4,250 | -$750 | -15% |
| Break even | $2,000 | $2,000 | $0 | 0% |
What ROI does not include by default
Time: A 30 percent ROI earned in three months is not the same achievement as 30 percent earned in three years. Basic ROI does not annualize. If time matters, compute a separate annualized measure or at least state the holding period next to the ROI percent.
Risk: Two projects can show the same ROI with very different chances of loss. ROI alone does not score volatility, drawdowns, or chance of ruin.
Cash flow timing: Money returned early is usually more valuable than money returned late. Simple ROI treats initial and final as two snapshots.
Financing structure: Borrowed capital, interest expense, and equity contribution can change how you should define initial. To estimate that interest expense, run the amount through the business loan calculator. Agree on whether initial is total project cost or only cash equity.
Using ROI for comparison
ROI works best when you compare options that share a clear cost basis and a clear ending value definition. Rank experiments, product bets, or completed trades after you normalize what counts as cost and what counts as return. When horizons differ widely, label each ROI with its duration so you do not accidentally treat unequal periods as equal.
For operating businesses, pair ROI with margin and break even thinking from business finance tools. A high ROI on a tiny base may matter less than a moderate ROI on a core product line. Context turns a percent into a decision.
ROI versus related metrics
Compound interest projections estimate how money might grow along a path. ROI summarizes an outcome between two values. SIP estimates build future value from monthly contributions. Profit margin relates profit to revenue, not necessarily to capital invested. Each metric answers a different question. Use ROI when the question is: relative to what I put in, how did the ending value compare?
ROI vs annualized ROI
| Initial | Final | Years | ROI | Annualized (CAGR) |
|---|---|---|---|---|
| $2,000 | $2,600 | 1 | 30.00% | 30.00% |
| $8,000 | $10,400 | 3 | 30.00% | 9.14% |
| $10,000 | $15,000 | 5 | 50.00% | 8.45% |
| $10,000 | $20,000 | 10 | 100.00% | 7.18% |
| $5,000 | $4,250 | 2 | −15.00% | −7.80% |
The same 30% ROI is 30% a year over 1 year but 9.14% a year over 3 years. This calculator does not annualize; use the table or the formula above. Definition source: Investor.gov CAGR glossary https://www.investor.gov/introduction-investing/investing-basics/glossary/compound-annual-growth-rate-cagr.
ROI mistakes that overstate performance
- Leaving fees, taxes, or shipping out of initial or final inconsistently
- Comparing ROI figures from different time spans without labeling duration
- Using revenue as final when only profit should count for the decision at hand
- Dividing by a near zero initial and treating a huge percent as meaningful
- Treating a vague ROI figure as audited performance
- Expecting ROI to replace risk analysis
How to read a high or low ROI
There is no universal good ROI. Public equities, private ventures, and cash savings live in different opportunity sets. A useful habit is to compare your ROI with the alternative you actually skipped, over a similar period, using consistent definitions. Another useful habit is to separate realized ROI (closed) from paper ROI (unrealized), because unrealized marks can reverse.
Negative ROI is information. It can tell you to cut a line of spending, change pricing, or avoid repeating a trade thesis. It can also reflect a learning cost that still has strategic value. The calculator reports the math. Judgment still sits with you.
Limitations
This online ROI calculator implements only the basic percent and gain formulas. It does not compute annualized ROI, IRR, NPV, risk adjusted return, or after tax return. It does not know whether your inputs are complete. Treat results as a clear arithmetic summary for comparison and education, not as certified performance reporting.
Related calculations
Continue in finance, investment and savings, and business finance for compounding, SIP planning, margins, and break even views. Percent helpers for general math are under math and everyday. The calculators archive is the map back to every tool.
Also useful: Profit Margin Calculator · Compound Interest Calculator · Payback Period Calculator · Investment Calculator.