ROI Calculator
Measure return quality by combining gain percentage, absolute profit, and position sizing context in one view.
For educational purposes only. This calculator does not provide investment advice.
ROI
—
Profit / Loss
—
📊 Visual Analysis
What This Calculator Does
The ROI Calculator measures the total return on any investment as a percentage. Enter what you paid and what it's worth now (or what you sold it for), and the calculator shows your percentage gain or loss, plus the absolute dollar profit.
Formula
ROI is the simplest way to express how much you gained or lost relative to what you put in. A positive ROI means you made money; a negative ROI means you lost money. The result is a percentage, making it easy to compare different investments regardless of their size.
Input Fields Explained
Cost of Investment ($)
The total amount you paid to acquire the investment. For stocks, this is the purchase price per share multiplied by the number of shares, plus any commissions or fees you paid at purchase. For real estate, include the purchase price, closing costs, and renovation expenses.
Final Value ($)
The current value or sale price of the investment. If you've already sold, use the sale proceeds after selling fees. If you're still holding, use the current market value. Be honest — including fees gives you a more accurate ROI.
Example Calculation
You invested $1,000 in a stock. After 18 months, you sell for $1,250.
Net Gain = $1,250 − $1,000 = $250
ROI = ($250 ÷ $1,000) × 100% = 25%
Your investment returned 25%. But notice: this 25% was earned over 18 months, not one year. To compare it fairly with other investments, you'd need to annualize it:
Annualized ROI = [(1 + 0.25)^(1/1.5) − 1] × 100%
= [1.25^0.667 − 1] × 100%
= 16.2% per year
How to Read the Result
You gained money. But consider the time frame — 25% in one year is excellent, while 25% over ten years is underwhelming. Always pair ROI with holding period.
You lost money. The magnitude tells you how much. A −50% ROI means you lost half your investment. Note that recovering from a −50% loss requires a +100% gain.
Break-even in nominal terms. In reality, inflation means your purchasing power decreased.
Common Mistakes
- Not subtracting fees and commissions. If you paid $10 to buy and $10 to sell, your real cost is $1,020, not $1,000. These costs reduce your actual ROI.
- Ignoring taxes. Capital gains taxes reduce your net return. A 25% pre-tax ROI may become 20% after taxes, depending on your bracket and holding period.
- Confusing realized and unrealized gains. An unrealized gain exists only on paper. Until you sell, the ROI is theoretical and can change.
- Comparing ROI across different time periods. A 50% ROI in 6 months is much better than 50% in 5 years. Always annualize when comparing.
- Forgetting dividends and distributions. If your stock paid dividends while you held it, those are part of your total return. Include them in your final value.
When This Calculator Is Useful
- Evaluating the performance of a completed investment (stock, real estate, business)
- Comparing two investments to see which performed better in percentage terms
- Checking whether an investment beat a benchmark like the S&P 500
- Quickly estimating potential return on a planned investment
Limitations
- ROI does not account for time — a 20% ROI over 1 month and 20% over 10 years look the same, but are very different
- ROI ignores volatility and risk — a smooth 10% return and a volatile path that ends at 10% produce the same ROI
- ROI does not reflect cash flow timing — investments with intermediate cash flows (dividends, interest) need more nuanced measures like IRR
- ROI is backward-looking — past ROI does not predict future performance
- For a more complete picture, pair ROI with annualized return, risk metrics, and investment duration
Frequently Asked Questions
What is a good ROI?
A good ROI depends on the investment type, risk level, and time horizon. What is considered solid for one asset class may be disappointing for another. Rather than chasing a specific number, compare your ROI against the risk-free rate (such as government bond yields) and against similar investments. Always consider the time period — a 20% ROI in one year is very different from 20% over ten years.
What's the difference between ROI and ROE?
ROI (Return on Investment) measures the profitability of any investment relative to its total cost. ROE (Return on Equity) specifically measures a company's net income relative to shareholders' equity. ROI is used for any investment, while ROE is a company-specific metric.
How do I calculate annualized ROI?
Annualized ROI = [(1 + ROI)^(1/Years) - 1] × 100%. For example, if your total ROI is 50% over 5 years, the annualized ROI = [(1 + 0.5)^(1/5) - 1] × 100% = 8.45%. This lets you compare investments held for different periods.
What is the difference between ROI and ROE?
ROI (Return on Investment) measures the gain or loss relative to the total cost of the investment. ROE (Return on Equity) measures profitability relative to shareholders' equity. ROI applies to any investment, while ROE is specific to company profitability and uses equity (not total investment cost) as the denominator. Both are expressed as percentages but answer different questions about performance.
Does ROI account for the time period of the investment?
No. A standard ROI calculation does not include the holding period — a 20% ROI achieved in one month and a 20% ROI achieved over five years look identical. To compare investments fairly across different time periods, you need an annualized measure like CAGR or annualized ROI, which normalizes returns to a yearly rate.
🔧 Related Calculators
Educational Disclaimer
This calculator is for educational and informational purposes only. It does not provide investment, financial, tax, or legal advice. The results are based on the inputs and assumptions you provide and may not reflect real market conditions, fees, taxes, or risks. Always do your own research or consult a qualified professional before making financial decisions.