Return on Investment: How to Calculate ROI and Compare Results
Return on investment (ROI) turns the outcome of a stock, a rental property, a marketing campaign or a side business into one percentage: the gain or loss relative to what you put in. It needs two numbers, and what it leaves out (time, costs you forgot, risk) matters as much as what it shows.
What ROI Is and Why It Matters
Return on investment measures the gain or loss generated by an investment relative to its cost, expressed as a percentage. A positive ROI means you came out ahead; a negative ROI means you lost money; zero means you broke even.
It puts investments of very different sizes on the same footing. A $500 profit on a $2,000 stake is a 25% ROI; a $5,000 profit on a $50,000 stake is 10%. The smaller stake used its capital more efficiently even though it earned a tenth of the dollars.
It also forces a specific claim. "The campaign made money" is vague; "the campaign returned 40%" can be compared with the 12% you might have earned elsewhere.
Understanding the Inputs
The simple ROI calculation needs only two figures, and getting them right is most of the work.
Initial value is the total amount you put in — the full cost of acquiring the investment. For honest results this should include not just the headline price but every cost of getting in: fees, commissions, closing costs, or setup expenses. Understating it inflates your ROI.
Final value is what the investment is worth now, or what you sold it for. For a completed investment this is the sale proceeds; for an ongoing one it is the current market value. If there were selling costs, subtract them so the final value reflects what you actually walked away with.
The gap between these two numbers — the net gain or loss — is what ROI expresses as a percentage of what you started with.
How to Calculate ROI
The formula is:
ROI (%) = ((Final Value − Initial Value) ÷ Initial Value) × 100
The numerator is your raw profit or loss. Dividing it by the initial value scales that profit against what you risked, and multiplying by 100 turns the ratio into a percentage. A positive result is a gain; a negative result is a loss.
Worked example. Suppose you invested in a small position and later sold it.
- Initial value: $8,000 (purchase price plus fees)
- Final value: $10,400 (sale proceeds after costs)
First, find the net gain:
1. $10,400 − $8,000 = $2,400
Then divide by the initial value:
2. $2,400 ÷ $8,000 = 0.30
Finally, convert to a percentage:
3. 0.30 × 100 = 30% ROI
Your investment returned 30%. The ROI Calculator does the same calculation from the initial and final values.
If the final value had instead been $7,200, the math would give ($7,200 − $8,000) ÷ $8,000 × 100 = −10%, a loss of ten percent. The same formula handles gains and losses without modification.
Using ROI to Compare Investments
ROI shines as a comparison tool, but only when you compare like with like.
Same time horizon. Simple ROI says nothing about time. A 30% return over one year is excellent; the same 30% over ten years is mediocre (about 2.7% a year). Only compare ROIs that cover similar durations, or switch to an annualized measure: the CAGR calculator turns a start value, end value and number of years into a yearly rate, and What Is CAGR? walks through that formula.
Consistent cost accounting. If one ROI includes fees and another ignores them, the comparison is rigged. Decide what counts as the initial value and apply it uniformly across every option you weigh.
Risk awareness. A higher ROI is not automatically better if it came with far more risk. A speculative bet that returned 50% and a bond that returned 5% are not directly comparable without considering how much you could have lost. ROI measures the reward; it is silent on the risk you took to earn it.
Common Mistakes and How to Avoid Them
Ignoring time entirely. This is the biggest trap with simple ROI: without a time frame, the number can't be compared. Always pair the ROI with how long the money was invested, and annualize when horizons differ.
Forgetting costs. Leaving fees, commissions, and taxes out of the initial or final value flatters the result. Real ROI is what ends up in your pocket, net of everything it took to get there.
Confusing unrealized with realized gains. An on-paper 30% ROI is not money in hand until you sell. Markets can give it back. Distinguish what you have actually banked from what merely looks good on a statement.
Comparing across different risk levels. Ranking investments by ROI alone can steer you toward the riskiest options. Weigh the return against the chance of loss, not in isolation.
ROI describes a past or current outcome; it is not a forecast or investment advice.