More games at WuGames.ioSponsoredDiscover free browser games — play instantly, no download, no sign-up.Play

ROI Calculator

Free ROI calculator for return on investment, annualized return, payback period, real inflation-adjusted ROI, and a hurdle-rate accept/reject check.

$
Total amount invested at the beginning
$
Current or final value of investment
$
Ongoing costs (maintenance, fees, taxes)
years
months
How long you held the investment
%
Used for inflation-adjusted (real) ROI
%
Minimum acceptable annual return
Run three scenarios around your final value to stress-test the return under downside and upside cases.

What is ROI (Return on Investment)?

ROI (Return on Investment) is a financial metric that measures the profitability and efficiency of an investment by comparing the gain or loss from an investment relative to its cost. ROI is expressed as a percentage and is one of the most widely used performance indicators in business, finance, and investment analysis. A positive ROI indicates profit, while a negative ROI indicates loss.

ROI is versatile and can be applied to virtually any type of investment: business projects, marketing campaigns, equipment purchases, real estate, stocks, bonds, cryptocurrencies, education, and more. It provides a standardized way to compare the profitability of different investments, regardless of their size or type. This makes ROI invaluable for making informed decisions about where to allocate capital.

Understanding ROI helps investors, business owners, and managers evaluate whether an investment is worthwhile, compare multiple investment opportunities, optimize resource allocation, justify business decisions with data, and identify which investments deliver the best returns. However, ROI should not be used in isolation—factors like risk, time horizon, opportunity cost, and strategic importance should also be considered.

How ROI Calculation Works

The basic ROI formula is straightforward but can be expanded to provide deeper insights:

  • Basic ROI: ROI = (Final Value - Initial Investment - Additional Costs) ÷ Initial Investment × 100. This gives ROI as a percentage. Example: Invest $10,000, final value $12,000, costs $500. ROI = ($12,000 - $10,000 - $500) ÷ $10,000 × 100 = 15%
  • Annualized ROI: Normalizes ROI to annual basis for comparing investments with different time periods. Formula: [(Final Value ÷ Initial Investment)^(1/Years) - 1] × 100. A 50% ROI over 5 years equals 8.45% annualized ROI.
  • Payback Period: Time required to recover initial investment. Formula: Initial Investment ÷ (Annual Net Profit). Shorter payback period means faster capital recovery and lower risk.

When calculating ROI, include all relevant costs: purchase price, transaction fees, taxes, maintenance, insurance, and opportunity cost. For income-generating investments (rental property, dividend stocks), include ongoing income in final value. Always use net figures (after all costs and taxes) for accurate ROI calculation.

ROI Formulas and Calculations

Different ROI formulas for different scenarios:

  • Simple ROI: (Net Profit ÷ Cost of Investment) × 100
  • ROI with Additional Costs: [(Final Value - Initial Investment - Costs) ÷ Initial Investment] × 100
  • Annualized ROI: [(1 + ROI)^(1/Years) - 1] × 100
  • Real ROI (Inflation Adjusted): [(1 + ROI) ÷ (1 + Inflation Rate) - 1] × 100
  • CAGR (Compound Annual Growth Rate): [(Final Value ÷ Initial Value)^(1/Years) - 1] × 100
  • Time-Weighted ROI: Accounts for cash flows at different times, more accurate for investments with multiple contributions/withdrawals

Real-World ROI Examples

Example 1: Stock Investment

  • Initial Investment: $10,000 (buy 200 shares at $50)
  • Final Value: $14,000 (sell 200 shares at $70)
  • Additional Costs: $200 (brokerage fees, taxes)
  • Investment Period: 2 years
  • Net Profit: $3,800 ($14,000 - $10,000 - $200)
  • Simple ROI: 38% ($3,800 ÷ $10,000 × 100)
  • Annualized ROI: 17.5% per year
  • Analysis: 38% total return over 2 years is strong performance. 17.5% annualized beats typical S&P 500 average of 10%. Stock investing can deliver high returns but comes with significant volatility risk.

Example 2: Real Estate Investment

  • Purchase Price: $300,000
  • Down Payment: $60,000 (20% - your actual investment)
  • Property Value After 5 Years: $400,000
  • Rental Income (5 years): $90,000 ($1,500/month)
  • Mortgage Paid (Principal): $30,000
  • Costs: $50,000 (repairs, property tax, insurance, management)
  • Net Gain: $110,000 ($100,000 appreciation + $30,000 equity + $90,000 rent - $50,000 costs - $60,000 down payment)
  • ROI on Down Payment: 183% ($110,000 ÷ $60,000 × 100)
  • Annualized ROI: 23.2% per year
  • Analysis: Real estate uses leverage (mortgage) to amplify returns. 183% ROI on a 20% down payment demonstrates leverage power. However, calculation excludes mortgage interest payments which would reduce ROI.

Example 3: Marketing Campaign

  • Campaign Budget: $50,000 (ads, content, tools)
  • Generated Revenue: $200,000 (sales directly attributed to campaign)
  • Cost of Goods Sold: $80,000 (to fulfill sales)
  • Net Profit: $70,000 ($200,000 - $80,000 - $50,000)
  • Marketing ROI: 140% ($70,000 ÷ $50,000 × 100)
  • Analysis: For every $1 spent on marketing, generated $1.40 in profit. 140% ROI is excellent for marketing (many campaigns achieve 50-100%). Digital marketing typically has higher ROI than traditional due to better targeting and measurability.

Example 4: Business Equipment

  • Equipment Cost: $100,000 (new production machine)
  • Annual Revenue Increase: $40,000 (more capacity)
  • Annual Operating Costs: $10,000 (maintenance, power)
  • Annual Net Benefit: $30,000 ($40,000 - $10,000)
  • Payback Period: 3.33 years ($100,000 ÷ $30,000)
  • 5-Year ROI: 50% ([$30,000 × 5 - $100,000] ÷ $100,000 × 100)
  • Annualized ROI: 8.45% per year
  • Analysis: Equipment pays for itself in 3.33 years. After that, generates $30,000 annual profit. 8.45% annualized return is modest but provides operational benefits beyond pure financial return. Consider equipment lifespan and obsolescence risk.
ROI Calculator — Free ROI calculator for return on investment, annualized return, payback period, real inflation-adjusted ROI, and a hurd
ROI Calculator

Tips for Maximizing ROI

  • Time Value of Money: A dollar today is worth more than a dollar tomorrow due to inflation and opportunity cost. Use annualized ROI to compare investments with different time horizons. A 20% return in 6 months (48% annualized) beats 30% in 2 years (14% annualized).
  • Risk-Adjusted Returns: High ROI often comes with high risk. A guaranteed 8% return may be better than a risky 15% return depending on your risk tolerance. Consider using Sharpe ratio (return per unit of risk) for more complete analysis.
  • Include All Costs: Hidden costs reduce real ROI. Account for taxes, transaction fees, maintenance, insurance, opportunity cost of time, and inflation. Many investments look profitable until all costs are included.
  • Consider Alternative Investments: ROI should exceed your hurdle rate (minimum acceptable return). If risk-free Treasury bonds pay 5%, your investment should exceed that to compensate for additional risk. Compare ROI to alternative uses of capital.
  • Diversification Over Single High ROI: Don't chase the highest ROI investment. A portfolio of 3 investments with 15%, 12%, and 18% ROI is often safer than putting everything into one 25% ROI investment due to diversification reducing risk.
  • Track ROI Over Time: Monitor investment performance quarterly or annually. Poor-performing investments should be exited to redeploy capital into better opportunities. Winners should be analyzed to understand what made them successful.
  • Tax Efficiency Matters: After-tax return is what you keep. Long-term capital gains (held >1 year) are taxed at 0-20% vs ordinary income at 10-37%. Tax-advantaged accounts (401k, IRA, HSA) can significantly boost effective ROI.
  • Leverage Can Amplify ROI: Using debt (margin, mortgage) can multiply returns but also multiplies losses. If property appreciates 10% but you only put 20% down, your ROI is 50% (10% ÷ 20%). But if property drops 10%, you lose 50% of your capital.
  • Reinvest Returns for Compound Growth: Reinvesting profits creates exponential growth. $10,000 at 10% annual ROI grows to $25,937 in 10 years if returns are reinvested vs $20,000 if withdrawn. Compounding is the most powerful force in investing.
  • Focus on Sustainable ROI: One-time windfall profits don't build wealth. Repeatable, sustainable investments that generate consistent positive ROI over years create true wealth. Focus on business models and investments with durable competitive advantages.

Types of ROI by Investment Category

Stock Market ROI: Historical average 10% annually (S&P 500). Individual stocks range from -100% to +1000%+. Value stocks: 8-12% typical. Growth stocks: 15-25% potential but higher volatility. Dividend stocks: 3-6% dividends + appreciation. Time horizon matters: short-term volatile, long-term (10+ years) more stable. Consider dollar-cost averaging to reduce timing risk.

Real Estate ROI: Residential: 8-12% typical (appreciation + rental income - costs). Commercial: 10-15% potential. REITs: 8-10% average. Leverage amplifies returns: 20% down payment means 5x leverage. Include hidden costs: property tax (1-2%), insurance (0.5-1%), maintenance (1-2%), vacancy (5-10%), property management (8-10% of rent). Location and market timing critical.

Cryptocurrency ROI: Extremely volatile. Bitcoin: +50,000% from 2011-2021 but -80% drawdowns. Altcoins: -99% failure rate but successful ones deliver 100x-1000x. High risk/high reward. Only invest what you can afford to lose completely. Diversify across multiple coins. Use dollar-cost averaging. Secure storage essential (hardware wallet). Tax implications complex.

Business/Startup ROI: Small business: 15-30% target ROI for stability. Startups: -100% to +10,000% depending on success. 90% of startups fail (total loss). Successful startups can return 10x-100x investment in 5-7 years. Requires active management (not passive). Consider opportunity cost of time and salary. Exit strategy important: acquisition, IPO, or ongoing profits.

Marketing ROI: Average marketing ROI: 100% (2:1 return). Email marketing: 360% (best channel). SEO: 220%. Content marketing: 200%. Social media: 95%. PPC: 200%. Calculate as: (Revenue from Campaign - Cost) ÷ Cost × 100. Attribution challenging for multi-touch campaigns. Focus on customer lifetime value, not just initial sale.

Education ROI: College degree: 5-15% annual ROI over career. Technical certifications: 20-50% immediate salary increase. Online courses: 100-500% ROI if applied. MBA: 200-400% ROI over career but 2 years opportunity cost. Consider salary increase, career advancement, and network value. Calculate payback period: additional costs vs additional earnings.

Equipment/Machinery ROI: Target 15-25% for equipment purchases. Payback period should be 3-5 years max. Include maintenance, training, and downtime costs. Consider tax benefits (depreciation, Section 179). Lease vs buy: buying has better ROI if equipment lasts >5 years. Technology equipment: 3-year refresh cycle due to obsolescence.

Energy Efficiency ROI: Solar panels: 10-20% ROI, 5-10 year payback. LED lighting: 25-50% ROI, 1-3 year payback. HVAC upgrades: 15-30% ROI, 3-7 year payback. Insulation: 10-20% ROI. Calculate savings: reduced utility costs vs upfront investment. Consider tax credits and rebates. Energy costs rising increases ROI over time.

R&D (Research & Development) ROI: Pharmaceutical: 10:1 successful drug. Technology: 3:1 to 5:1 typical. Many projects fail (negative ROI) but winners compensate. Portfolio approach essential. Long time horizon (5-10 years). Difficult to measure intangible benefits. Patent value, trade secrets, and competitive advantage hard to quantify but valuable.

Customer Acquisition ROI: E-commerce: 300% target (3:1 LTV:CAC). SaaS: 300-500% target. CAC (Customer Acquisition Cost) should be recovered in 12 months. Calculate: Customer Lifetime Value ÷ Customer Acquisition Cost. Track cohorts over time. Retention rate critical: 5% increase in retention = 25-95% profit increase. Churn kills ROI.

Frequently Asked Questions

What's the actual difference between Simple ROI, Annualized ROI, and CAGR?

Simple ROI = (Final Value − Cost) / Cost × 100. It tells you total percentage gain over the entire holding period, regardless of how long that was. A 50% Simple ROI sounds great until you learn it took 10 years. Annualized ROI normalizes that to a per-year rate: a 50% return over 10 years is only 4.14% annualized — barely better than a high-yield savings account. CAGR (Compound Annual Growth Rate) is mathematically identical to Annualized ROI when there are no intermediate cash flows: CAGR = (FV / PV)^(1/years) − 1. The CFA Institute and SEC require fund managers to disclose annualized returns (not simple) precisely because simple ROI lets you cherry-pick long windows to make weak investments look strong. Always annualize when comparing investments of different durations.

Why does this calculator divide by initial investment instead of total investment including costs?

Because the most widely-taught accounting convention defines ROI as (Net Gain) / (Initial Investment), where Net Gain = Final Value − Initial Investment − Additional Costs. This puts costs in the numerator (subtracted from gain) rather than the denominator. The alternative — dividing by total cost (initial + ongoing) — is sometimes called "Return on Investment Cost" and gives a slightly lower ROI. For a $10k investment that grew to $15k with $500 in fees: this calculator shows (5000−500)/10000 = 45%; the alternative shows 4500/10500 = 42.86%. Both are defensible. Pick one convention and use it consistently. Investopedia and most CPA curricula use the convention this calculator uses.

Should I include unrealized gains in my ROI calculation?

It depends on what decision the ROI is informing. For benchmarking performance against the S&P 500 or a target return — yes, mark-to-market unrealized gains; that's how funds report. For tax planning or decisions involving actual cash — no, only count what you've actually sold. Unrealized gains can evaporate: anyone holding Bitcoin at $69k in November 2021 had a great unrealized ROI until 14 months later when prices were below $17k. The IRS treats unrealized gains as $0 income until you sell (with a few exceptions: PFICs, Section 1256 contracts marked-to-market annually). If you're reporting ROI to investors or making a sell/hold decision, show both: realized for tax accuracy, unrealized for current position value.

How do I calculate real (inflation-adjusted) ROI?

Use the Fisher equation: Real ROI = [(1 + Nominal ROI) / (1 + Inflation Rate)] − 1. Worked example: if your nominal annual ROI was 8% and inflation was 6% (US Q4 2022 actuals), Real ROI = 1.08/1.06 − 1 = 1.89%. You barely kept up with the cost of living. The common shortcut Real ROI ≈ Nominal − Inflation is only accurate at low rates; it understates the gap as inflation rises. Why this matters: high-inflation periods (1970s US, 2022-2024 globally) silently destroy returns that look fine on paper. The US 10-year Treasury yielded 4.5% in 2023 — looks like a profit, but with 5% inflation your purchasing power dropped 0.48% per year. Always compare ROI against the inflation regime of the holding period.

What's the practical limit of the payback period metric?

Payback period tells you how long until your investment recoups itself, but it has two well-documented blind spots. First, it ignores time value of money: a 5-year payback in $1k yearly returns is mathematically inferior to a 5-year payback weighted toward the early years, but plain payback treats them identically. Second, it ignores everything after the payback point: an investment that pays back in 4 years then yields nothing looks identical to one that pays back in 4 years then continues yielding 10% indefinitely. Capital budgeting research (Brealey, Myers and Allen, "Principles of Corporate Finance" 13th ed.) recommends payback period only as a screening filter alongside NPV and IRR — never as the sole metric. For pure information value, Discounted Payback Period (which applies a discount rate to future cash flows) is strictly better but harder to communicate to non-finance audiences.

When should I use NPV or IRR instead of ROI?

Use NPV (Net Present Value) and IRR (Internal Rate of Return) when the investment has multiple cash flows at different times — most real businesses, capital projects, and complex investments do. Simple ROI is a single-period metric: invest X, get back Y, done. It cannot handle the difference between $10k invested today returning $15k all at year 5 versus $3k/year for 5 years. Both have 50% Simple ROI, but the second has roughly twice the NPV at a 10% discount rate because money arrives sooner. NPV gives a dollar answer (good or bad in absolute terms); IRR gives a percentage you can compare to your cost of capital. Rule of thumb: ROI for quick gut checks and single-period investments (stocks held and sold, real estate flips), NPV/IRR for multi-period business decisions. The XIRR function in Excel handles irregular cash flow timing correctly.

What are the most common ROI calculation mistakes that exaggerate results?

Five common errors: (1) Ignoring fees and taxes — a 30% pre-tax pre-fee ROI can be 18-20% after long-term capital gains tax (15-20% federal + state) and 0.5-2% trading costs. (2) Cherry-picking the start date — a "5-year ROI" measured from March 2009 (post-crash bottom) versus October 2007 (pre-crash peak) tells completely different stories about the same stock. (3) Survivorship bias — averaging mutual fund returns over 20 years using only funds that survived overstates returns by ~1-2%/year because failed funds were removed from the database. (4) Not accounting for time — using simple instead of annualized ROI. (5) Confusing leveraged ROI with unleveraged: a property up 10% with 20% down gives 50% ROI on equity but 10% ROI on the asset; comparing leveraged real estate ROI to unleveraged stock ROI is apples to oranges. The 2020 Bogleheads forum survey of 5,000+ DIY investors found these five errors accounted for over 70% of overestimated personal returns.

Does my investment beat inflation and my hurdle rate?

This calculator now answers both directly. Enter your expected annual inflation and your hurdle rate (minimum acceptable annual return, often your cost of capital), and it computes two professional screens. First, the Real Annualized ROI uses the Fisher equation: Real = [(1 + Nominal Annualized) / (1 + Inflation)] − 1. If your annualized ROI is 12% and inflation is 4%, your real return is 1.12/1.04 − 1 = 7.69% — that is the actual growth in purchasing power, not the headline 12%. Second, the Hurdle Rate Check compares your annualized ROI against your hurdle rate and returns a verdict: it clears the hurdle (accept), is marginal (within ~1 point — investigate further), or falls below the hurdle (reject). The accept/reject rule is the foundation of capital budgeting: an investment that earns less than your cost of capital destroys value even if its nominal ROI is positive. Analysts, CFOs, and PE/VC teams never judge a deal on nominal ROI alone — they confirm it beats inflation (real purchasing-power growth) and clears the hurdle rate (opportunity cost of capital) before committing.

What's a reasonable benchmark ROI for different investment types in 2026?

Approximate annualized benchmarks (post-inflation real returns, long-term averages): US stocks 6-7% real (S&P 500 historical 10% nominal − 3% long-term inflation); investment-grade bonds 1-2% real; international developed stocks 4-5% real; REITs 5-7% real; gold 0-1% real (storehouse of value, not growth); cash/T-bills typically 0% real after inflation. Beating these consistently with active management is hard: the SPIVA 2024 report found 88% of large-cap active funds underperformed the S&P 500 over 15 years. For business investments, a hurdle rate of 12-15% is typical (above cost of capital, below VC expectations). For VC returns, the 80/20 rule applies: top quartile funds return 20%+ IRR, median around 8-10%, bottom half lose money. Set your ROI expectation based on what asset class you're in — comparing your portfolio to NVIDIA 2023 (+239%) sets you up to feel disappointed forever.