How to Calculate ROI (Return on Investment)

Learn how to calculate ROI for investments, business projects, and real estate. Covers the basic ROI formula, annualized returns, CAGR, and common pitfalls in ROI analysis.

The Basic ROI Formula

Return on Investment (ROI) measures the gain or loss generated by an investment relative to its cost. The basic formula is ROI = (Net Profit / Cost of Investment) * 100, or equivalently, ROI = [(Final Value - Initial Cost) / Initial Cost] * 100. If you buy $10,000 worth of stock and sell it for $13,500, your ROI is ($13,500 - $10,000) / $10,000 * 100 = 35%. If you invest $50,000 in renovating a rental property and the renovation increases the property value by $80,000, the ROI on the renovation is ($80,000 - $50,000) / $50,000 * 100 = 60%. The simplicity of this formula makes it universally applicable, but that simplicity also has limitations. Basic ROI does not account for the time period of the investment, does not consider risk, and can be manipulated by how costs and gains are defined.

Why Time Period Matters: Annualized ROI

A 35% return in one year is very different from a 35% return over ten years. Basic ROI does not distinguish between the two. Annualized ROI adjusts for the time period so you can compare investments of different durations on equal footing. The formula is: Annualized ROI = [(1 + ROI)^(1/n) - 1] * 100, where n is the number of years. A 35% total return over 1 year is a 35% annualized return. The same 35% over 5 years is only (1.35)^(1/5) - 1 = 6.2% annualized. Over 10 years, it is just 3.0% annualized. Annualized ROI reveals that a "great" total return might be mediocre when spread across a long holding period. Always annualize when comparing investments with different time horizons. A real estate investment that returned 100% over 8 years (annualized: 9.1%) may underperform a stock portfolio that returned 60% over 4 years (annualized: 12.5%).

CAGR: The Gold Standard for Investment Returns

Compound Annual Growth Rate (CAGR) is the most useful measure for evaluating investment performance over time. CAGR answers the question: "What constant annual growth rate would have gotten me from my starting value to my ending value?" The formula is CAGR = (Ending Value / Beginning Value)^(1/n) - 1, where n is the number of years. CAGR is functionally identical to annualized ROI when there are no intermediate cash flows. If you invested $20,000 and it grew to $35,000 over 6 years, CAGR = ($35,000/$20,000)^(1/6) - 1 = 9.8% per year. CAGR smooths out the year-to-year volatility and gives you a single number that describes the steady growth rate. It is the standard metric used in fund performance reporting, company revenue growth analysis, and long-term financial planning.

Calculating ROI for Real Estate

Real estate ROI calculations are more complex than stock ROI because of the multiple cash flow components. For a rental property, total return includes rental income, property appreciation, tax benefits, and mortgage principal paydown. A complete ROI calculation for a rental might look like this: you put $60,000 down on a $300,000 property. Over 5 years, you collect $90,000 in rent, pay $75,000 in expenses (mortgage interest, taxes, insurance, maintenance), the property appreciates to $345,000, and you have paid down $15,000 in mortgage principal. Your total gain is ($345,000 - $300,000) + ($90,000 - $75,000) + $15,000 = $75,000. Your ROI on the $60,000 invested is 125%, or about 17.6% annualized. Real estate ROI often looks impressive because of leverage: you control a $300,000 asset with only $60,000, and the returns are measured against your cash investment, not the full property value.

ROI for Business Decisions

Businesses use ROI to evaluate everything from marketing campaigns to equipment purchases to hiring decisions. For a marketing campaign, ROI = (Revenue Attributable to Campaign - Campaign Cost) / Campaign Cost * 100. If a $5,000 ad campaign generates $18,000 in revenue with $10,000 in cost of goods, the profit is $8,000 - $5,000 = $3,000, and the marketing ROI is 60%. For equipment purchases, compare the cost of the equipment against the increased productivity or reduced labor costs it produces over its useful life. The challenge in business ROI is attribution: accurately determining which revenue was generated by a specific investment. A new piece of manufacturing equipment clearly increases output, but the ROI of a brand awareness campaign is much harder to quantify. Despite this difficulty, even approximate ROI calculations are valuable for prioritizing limited capital among competing projects.

Common Pitfalls in ROI Calculations

Several mistakes commonly distort ROI calculations. First, omitting hidden costs: an investment in stocks might show a 12% return, but after accounting for trading commissions, fund expense ratios, and taxes on gains, the real return might be 8-9%. Second, ignoring opportunity cost: a 15% ROI on a real estate investment sounds good, but if you could have earned 12% in the stock market with far less effort and risk, the incremental benefit of the real estate investment is much smaller. Third, survivorship bias: calculating ROI only on your winning investments while ignoring your losses gives a misleadingly high picture of your investing skill. Fourth, cherry-picking time periods: measuring your stock portfolio from a market bottom to a market top will always produce impressive returns. Use consistent, meaningful time periods that include both good and bad markets.

ROI vs. Other Performance Metrics

ROI is not the only way to measure investment performance, and in many cases, other metrics provide additional insight. Internal Rate of Return (IRR) accounts for the timing of multiple cash flows and is better than basic ROI for investments with irregular payments, like rental property or a business with varying annual profits. Net Present Value (NPV) calculates the present-day value of all future cash flows and tells you whether an investment creates or destroys value. The Sharpe Ratio measures return relative to risk, rewarding consistent returns over volatile ones. Total return includes dividends, interest, and appreciation, while ROI might exclude some of these components depending on how it is defined. For a complete picture, use ROI as a starting point but supplement it with the metric most appropriate for the specific investment type and decision you are evaluating.

Try These Calculators

Put what you learned into practice with these free calculators.