Investing

How to Calculate Return on Investment (ROI)

Master ROI calculation with clear formulas, real-world examples, and tips for comparing investment opportunities accurately.

Published: March 8, 2026

How to Calculate Return on Investment (ROI)

What Is Return on Investment (ROI)?

Return on Investment (ROI) measures the percentage gain or loss on an investment relative to its cost. It is calculated by dividing net profit by the initial investment cost and multiplying by 100.

Return on Investment is the most widely used profitability metric in finance and business. At its core, ROI answers a simple question: for every dollar I invested, how much did I gain or lose? The formula is straightforward: ROI = (Net Profit / Cost of Investment) × 100%. If you buy shares for $5,000 and sell them for $6,500, your net profit is $1,500 and your ROI is 30%. This simplicity is both ROI's greatest strength and its primary weakness. The metric applies universally — stocks, real estate, business ventures, education, marketing campaigns — making it an essential tool for comparing diverse investment opportunities. However, basic ROI does not account for the time required to achieve that return, the risk involved, or the opportunity cost of capital. A 30% ROI earned over one year is dramatically better than 30% earned over ten years. For this reason, sophisticated investors pair ROI with time-adjusted metrics like CAGR and risk-adjusted measures like the Sharpe ratio to make comprehensive comparisons.

How Do You Calculate ROI? Step-by-Step

Calculate ROI in three steps: (1) subtract the investment cost from the final value to get net profit, (2) divide net profit by the investment cost, (3) multiply by 100 to express as a percentage.

The basic ROI formula is: ROI = ((Final Value - Initial Investment) / Initial Investment) × 100%. Let us walk through several real-world examples. Stock investment: You buy 100 shares at $50 each ($5,000 total) and sell them at $72 each ($7,200). You also received $300 in dividends. ROI = (($7,200 + $300 - $5,000) / $5,000) × 100% = 50%. Real estate: You buy a rental property for $200,000, spend $30,000 on renovations, collect $60,000 in net rental income over 5 years, and sell for $280,000. Total return = $280,000 + $60,000 - $200,000 - $30,000 = $110,000. ROI = ($110,000 / $230,000) × 100% = 47.8%. Business investment: You spend $10,000 on a marketing campaign that generates $35,000 in attributable revenue with $20,000 in associated costs. Net profit = $35,000 - $20,000 - $10,000 = $5,000. ROI = ($5,000 / $10,000) × 100% = 50%. Always include all costs — transaction fees, taxes, maintenance — for accurate ROI calculations.

What Is Annualized ROI and Why Does It Matter?

Annualized ROI converts total ROI to an equivalent annual rate, enabling fair comparison between investments held for different time periods. The formula accounts for compounding effects.

Annualized ROI is essential for comparing investments with different holding periods. A 50% total ROI sounds impressive, but it matters enormously whether that return took 2 years or 10 years. The annualized ROI formula is: Annualized ROI = ((1 + ROI)^(1/n) - 1) × 100%, where n is the number of years. For a 50% return over 2 years: Annualized ROI = ((1.50)^(1/2) - 1) × 100% = 22.5%. For the same 50% over 10 years: Annualized ROI = ((1.50)^(1/10) - 1) × 100% = 4.1%. The difference is dramatic and reveals that the 10-year investment significantly underperformed the stock market average. Annualized ROI is mathematically equivalent to CAGR and provides the same smoothed annual growth rate. This metric is particularly important when evaluating real estate investments, private equity, or any illiquid investment where the holding period varies significantly. Always convert total ROI to annualized ROI before comparing against benchmarks or alternative investments.

ROI for Different Types of Investments

ROI varies significantly by asset type: stocks average 8-12% annually, real estate 8-10%, bonds 3-6%, and savings accounts 2-5%. Higher ROI typically corresponds to higher risk.

Understanding typical ROI ranges by investment type helps set realistic expectations and identify outliers. US stock market (S&P 500): Historical average ROI is approximately 10% annually before inflation, 7% after inflation. Individual stock returns vary enormously — some deliver 1000%+ returns while others go to zero. Real estate: Residential rental properties typically generate 8-12% total ROI combining rental income (3-5%) and appreciation (3-5%), plus leverage benefits from mortgage financing. Commercial real estate can achieve higher returns but requires more capital and expertise. Bonds: Investment-grade corporate bonds return 4-6% annually, while government bonds return 2-4%. The lower ROI reflects lower risk. High-yield bonds offer 6-10% but with significantly higher default risk. Savings and CDs: Current high-yield savings accounts offer 4-5% APY, which barely keeps pace with inflation. The ROI is low but risk is essentially zero with FDIC insurance. When comparing these ROI ranges, always consider risk, liquidity, tax treatment, and required time commitment alongside the headline return number.

Common Mistakes When Calculating ROI

The most common ROI mistakes include ignoring transaction costs, failing to account for taxes, not adjusting for inflation, and comparing investments over different time periods without annualizing.

Accurate ROI calculation requires including all costs and adjustments that affect your actual return. Transaction costs like brokerage commissions, real estate closing costs, and fund expense ratios reduce your net profit and lower true ROI. A stock trade with $50 in round-trip commissions on a $5,000 investment reduces ROI by 1% before the stock moves. Taxes are another frequently overlooked factor. A stock sold for a 30% gain in a taxable account might yield only 22-25% after federal and state capital gains taxes. The after-tax ROI is what actually builds your wealth. Inflation adjustment matters for longer holding periods — a 50% nominal ROI over 10 years might be only 25-30% in real (inflation-adjusted) terms. Finally, comparing unadjusted ROI across different time periods is meaningless. A rental property that returned 80% over 8 years (7.5% annualized) underperformed the stock market. Always annualize returns and compare after-tax, after-inflation results to make truly informed investment decisions.

How to Use ROI for Better Investment Decisions

Use ROI as a screening tool to compare opportunities, but pair it with risk assessment, time horizon analysis, and consideration of liquidity and tax implications for complete decision-making.

ROI is most powerful as part of a comprehensive evaluation framework rather than a standalone decision metric. Start by calculating the expected ROI for each investment opportunity, using conservative assumptions for future returns. Then layer in additional factors. Risk assessment: higher expected ROI should come with proportionally higher risk. If two investments offer similar ROI but one is significantly riskier, the lower-risk option is objectively better. Liquidity: stocks can be sold instantly while real estate may take months. Illiquid investments should offer a liquidity premium — higher ROI to compensate for reduced flexibility. Tax efficiency: municipal bonds may offer lower pre-tax ROI than corporate bonds but higher after-tax ROI for investors in high tax brackets. Time commitment: rental real estate may offer attractive ROI but requires ongoing management time. Accounting for your time at a fair hourly rate may significantly reduce the effective ROI. Opportunity cost: every dollar invested in one opportunity is a dollar unavailable for others. Compare each investment's ROI against your best available alternative rather than against zero.

ROI vs Other Performance Metrics

ROI is simplest but least nuanced. CAGR adds time adjustment, IRR handles multiple cash flows, and the Sharpe ratio incorporates risk. Use the right metric for each analysis type.

Several metrics extend beyond basic ROI for specialized use cases. CAGR (Compound Annual Growth Rate) annualizes ROI to account for time, making it ideal for comparing buy-and-hold investments over different periods. IRR (Internal Rate of Return) handles investments with multiple cash flows at different times — real estate with rental income, business projects with varying annual returns, or investments with additional contributions. IRR is the discount rate that makes the net present value of all cash flows equal to zero. The Sharpe ratio divides excess return (above the risk-free rate) by standard deviation, measuring how much return you receive per unit of risk taken. A Sharpe ratio above 1.0 is considered good, above 2.0 is very good. ROE (Return on Equity) measures returns specifically on the equity portion of an investment, which matters for leveraged investments like real estate where borrowed money amplifies returns. For most individual investors comparing simple investments, ROI and CAGR provide sufficient analytical power. Add IRR for complex investments with multiple cash flows and the Sharpe ratio when comparing investments with different risk profiles.

Daniel Lance
Personal Finance Writer

Daniel covers compound interest, retirement planning, and debt payoff strategies at InterestCal. His goal is to break down complex financial concepts into clear, actionable insights.

Frequently Asked Questions

Related Resources