ROI Calculator: Return on Investment & Annualized CAGR Tool

Calculate Return on Investment (ROI), profit, and annualized CAGR for investments, real estate, business projects, marketing campaigns, and other financial decisions.

Try an example:
Your investment grew to
$15,000
+$5,000profit
Total ROI
+50.00%
Annualized ROI
+14.47%
Money Multiple
1.50×
What this means

Your $10,000 investment grew to $15,000, generating $5,000 in profit (+50.00% total return). Over 3 years, that equals an annualized return (CAGR) of +14.47% per year, multiplying your original capital by 1.50×.

How your investment grew

3.0 yr horizon

How does this compare?

Illustrative reference rates
S&P 500 (Historical)10.0% / yr
+4.5%
US Real Estate8.0% / yr
+6.5%
10-Year US Treasury4.0% / yr
+10.5%
High-Yield Savings (Cash)4.0% / yr
+10.5%
Baseline Inflation Rate3.0% / yr
+11.5%

*Reference benchmarks are long-term historical or typical reference rates for illustrative comparison only.

+$5,000·+50.0% ROI·14.5%/yr
Advertisement
Google AdSense Slot (in-article) Active in production once approved publisher ID is set. Reserved for 0 CLS.
Important Disclaimer: This ROI calculator is provided exclusively for educational, illustrative, and scenario planning purposes. It does not constitute investment, financial, tax, or legal advice. Calculated returns do not account for future market volatility, specific tax brackets, or investment losses. Always perform due diligence and consult a certified financial planner or tax professional before making investment decisions.
Calculator Engine & Logic

How This ROI Calculator Works

The mathematical formulas and validation steps executed by this browser-based calculator.

1 Net Profit & Total ROI Calculation

Depending on whether you choose Ending Value or Net Gain mode, the calculator computes net profit and cumulative percentage return:

Net Profit = Ending Value + Additional Income − Initial Investment − Additional Costs
Total ROI (%) = (Net Profit ÷ Total Capital Outlay) × 100

Note: Total Capital Outlay equals Initial Investment plus Additional Costs. Additional income and costs are only applied if not already factored into the entered ending value.

2 Compound Annual Growth Rate (CAGR)

To standardize performance across multi-year or fractional holding periods, the calculator geometricizes annual growth:

CAGR (%) = [ (Total Returned ÷ Total Invested)(1 ÷ Effective Years) − 1 ] × 100

When using Start/End Dates mode, the calculator computes calendar days between dates (Days ÷ 365.25) to maintain precision down to the exact day.

3 Inflation Adjustment (Fisher Equation)

When the Adjust for Inflation toggle is enabled, the calculator applies the Fisher equation to the annualized rate to determine purchasing power return:

Real CAGR (%) = [ (1 + Nominal CAGR) ÷ (1 + Inflation Rate) − 1 ] × 100

Four Worked Calculation Examples

A. Stock Investment (3 Years)
Invested: $10,000 | Sold: $15,000
Net Profit: $5,000
Total ROI: +50.00%
CAGR: +14.47% / yr
B. Dividend Growth (5 Years)
Invested: $25,000 | Sold: $36,000
Dividends: +$3,500 | Fees: -$250
Total ROI: +56.44%
CAGR: +9.36% / yr
C. Marketing Campaign (3 Months)
Ad Spend: $8,000 | Gross Margin Gain: $14,000
Net Profit: $6,000
Campaign ROI: +75.00%
Period: 0.25 years hold
D. Rental Rehab (2 Years)
Cash Invested: $50,000 | Resale Gain: $18,000
Rental Cash Flow: +$6,000 | Maintenance: -$2,000
Total ROI: +42.31%
CAGR: +19.29% / yr
Financial Education & Analysis

Complete Guide to Return on Investment (ROI)

Understand how to calculate, evaluate, and interpret Return on Investment across stocks, real estate, marketing campaigns, software investments, and business projects.

What Is ROI?

Return on Investment (ROI) is a foundational financial metric used to measure the profitability and capital efficiency of an investment relative to its initial cost. Expressed as a percentage, ROI illustrates how effectively capital is put to work to generate financial gains.

A positive ROI indicates that an investment generated net gains, whereas a negative ROI signifies a net financial loss. ROI can be measured on a gross basis (comparing top-line revenue against direct purchase costs) or on a net basis (accounting for all ongoing expenses, advisory fees, distributions, and transaction overhead).

ROI (%) = (Net Gain ÷ Initial Investment) × 100

How to Calculate ROI

Calculating basic Return on Investment follows a straightforward 6-step framework:

  1. Identify the Initial Investment: Determine the total initial capital outlay, including purchase price and upfront acquisition fees.
  2. Determine the Ending Value: Establish the final market value or gross sale proceeds of the asset.
  3. Add Applicable Income: Include interim cash flows received, such as stock dividends, bond coupons, or rental distributions (only if not already included in ending value).
  4. Subtract Applicable Costs: Deduct ongoing management fees, trading commissions, or closing expenses.
  5. Calculate Net Gain: Compute Net Gain = Ending Value + Additional Income − Initial Investment − Additional Costs.
  6. Divide and Convert to Percentage: Divide net gain by total invested capital and multiply by 100.
Worked Stock Trade Example:
Initial Purchase: 100 shares @ $50 = $5,000
Ending Sale Proceeds: 100 shares @ $72 = $7,200
Dividend Income Received: +$200
Trading & Brokerage Fees: -$50
Net Gain = $7,200 + $200 − $5,000 − $50 = $2,350
Total ROI = ($2,350 ÷ $5,050) × 100 = +46.53%

How to Calculate ROI in Excel and Google Sheets

Building an ROI calculation model in Microsoft Excel or Google Sheets requires just a few standard formula cells:

1. Simple ROI Formula
=(EndingValue - InitialInvestment) / InitialInvestment

Cell example: If starting capital is in A2 and ending value is in B2, use =(B2-A2)/A2 and set format to Percentage (%).

2. Annualized CAGR Formula
=(EndingValue / InitialInvestment)^(1 / Years) - 1

Cell example: If holding horizon (years) is in C2, enter =(B2/A2)^(1/C2)-1 to compute compound annual growth rate.

Irregular Cash Flows (XIRR): When capital contributions or dividend withdrawals occur at uneven dates throughout an investment, simple CAGR formulas can distort performance. In these scenarios, use the native spreadsheet formula =XIRR(values, dates) to calculate the true annualized internal rate of return.

ROI for Rental Property and Real Estate

Real estate investments generate financial returns through four distinct mechanisms: ongoing rental cash flow, mortgage principal reduction (amortization), property price appreciation, and tax depreciation shields.

Because rental properties frequently use mortgage leverage, real estate investors rely on multiple specialized metrics to analyze performance:

  • Total Real Estate ROI: Divides cumulative net financial gain (net cash flow + equity paydown + appreciation − closing costs) by your total out-of-pocket cash invested (down payment + closing costs + initial rehab).
  • Cash-on-Cash Return: Measures annual pre-tax cash flow divided strictly by the initial cash invested, focusing purely on liquid liquidity yield.
  • Capitalization Rate (Cap Rate): Computes unleveraged Net Operating Income (NOI) divided by current property market value to measure intrinsic property profitability independent of financing. You can model this in detail with our Cap Rate Calculator.

For comprehensive multi-year rental underwriting including debt service, vacancy, and IRR, explore our dedicated Property ROI Calculator.

Marketing, SEO, and Advertising ROI

In digital marketing, paid advertising, and organic search (SEO), measuring capital efficiency requires clearly distinguishing between top-line advertising efficiency and bottom-line commercial profit.

ROAS (Return on Ad Spend)
ROAS = Attributed Revenue ÷ Ad Spend

Measures top-line revenue velocity. A campaign spending $10,000 to generate $30,000 in revenue produces a 3.0x ROAS.

True Marketing / SEO ROI
ROI = (Gross Profit − All Marketing Costs) ÷ Costs × 100

Measures bottom-line profit after subtracting Cost of Goods Sold (COGS), agency fees, creative production, and software costs.

A 3.0x ROAS does not automatically mean a 200% ROI. If product cost is 60% of sale price ($18,000) and campaign overhead is $2,000, total costs equal $30,000, resulting in a break-even (0% net ROI) outcome despite high top-line ROAS.

ROI for Software, AI, and Automation

Evaluating enterprise software implementations, Robotic Process Automation (RPA), AI tooling, and SaaS platforms requires a structured business value framework:

Software ROI (%) = [ (Annual Financial Benefits − Total Annual Cost) ÷ Total Annual Cost ] × 100

When modeling software and automation initiatives, quantifiable benefits typically include:

  • Direct Labor Time Reclaimed: Converting repetitive manual work into automated hours multiplied by effective hourly compensation rates.
  • Operational Error Reduction: Avoiding rework costs, compliance fines, and customer churn associated with manual processing errors.
  • Tool Consolidation: Retiring redundant single-purpose software licenses and legacy infrastructure.
  • Revenue Acceleration: Faster time-to-market and increased sales conversion enabled by streamlined workflows.

ROI vs. CAGR vs. IRR vs. ROAS vs. ROE

Different financial disciplines use tailored performance metrics. The table below compares their primary applications:

Metric What It Measures Best Used For
ROI Cumulative percentage gain relative to total initial investment Simple investment snapshots and project comparisons
CAGR Annualized compound rate of capital growth over time Comparing multi-year investments with different holding durations
IRR Discount rate where Net Present Value (NPV) of all cash flows equals zero Private equity, real estate syndications, and capital projects
XIRR Exact-date annualized rate of return for non-periodic cash flows Real-world investment portfolios with irregular deposits and withdrawals
ROAS Gross revenue generated per dollar of direct advertising expense Paid media optimization and e-commerce marketing campaigns
ROE Net accounting income generated per dollar of book shareholder equity Corporate financial analysis and fundamental stock valuation

Real vs. Nominal Investment Returns

Standard investment reporting quotes nominal returns, which represent raw dollar gains unadjusted for inflation. Over multi-year holding periods, inflation erodes consumer purchasing power, meaning nominal gains exceed the true growth in goods and services your capital can buy.

To calculate your true purchasing power increase, the Fisher relationship is applied to annualized compound growth (CAGR):

Real CAGR (%) = [ (1 + Nominal CAGR) ÷ (1 + Inflation Rate) ] − 1

Additionally, the real purchasing power of your final proceeds is calculated as:

Real Ending Value = Nominal Ending Value ÷ (1 + Inflation Rate)Years

What Is a Good ROI?

There is no single universal "good ROI" figure. Expected returns are inextricably linked to risk, liquidity constraints, holding horizons, inflation, and volatility:

  • Risk-Free Baseline (Cash & Short-Term Treasuries): Delivers steady yields (historically 2% to 5%) with minimal capital loss risk, establishing the hurdle rate all risk-bearing investments must exceed.
  • Diversified Equities (S&P 500): Historically produced ~10% nominal annualized return (~7% inflation-adjusted) over long 20+ year horizons, accompanied by interim volatility and periodic drawdowns.
  • Leveraged Real Estate: Often targets 10% to 15%+ annualized total return across rental cash flow and equity appreciation, balanced against tenant vacancy and physical asset maintenance.
  • Venture & Private Equity: Requires 20% to 30%+ projected annual returns to compensate investors for illiquidity and high rates of individual startup failure.

Past performance does not guarantee future results. Projected returns should always be evaluated alongside downside risk, debt leverage, and capital loss probabilities.

Limitations of Simple ROI

While simple ROI provides a quick intuitive snapshot of financial gain, it has several critical analytical limitations:

  • Blind to Time Horizon: A 50% simple ROI earned across 2 years (22.5% CAGR) is vastly superior to a 50% simple ROI earned across 10 years (4.1% CAGR).
  • Ignores Cash Flow Timing: Simple ROI treats distributions received in Year 1 identically to distributions received in Year 10, disregarding the compounding time value of money.
  • Oromits Volatility & Drawdowns: Two assets can deliver identical 15% annualized returns, but one may experience severe 40% drops while the other climbs smoothly.
  • Tax & Inflation Blindness: Pre-tax nominal returns do not reflect the erosion caused by short-term capital gains taxes or high-inflation environments.
Frequently Asked Questions

Frequently Asked Questions About Return on Investment (ROI)

What is an ROI calculator and what does it measure?
An ROI calculator is a financial tool that measures the profitability and capital efficiency of an investment, project, or purchase. It calculates your percentage return (net profit relative to total invested cost) and compound annual growth rate (CAGR), allowing you to evaluate and compare financial performance across different timeframes and asset classes.
How do you calculate ROI?
The basic Return on Investment formula is: ROI (%) = (Net Gain ÷ Initial Investment) × 100. Net gain equals your final ending value plus any received income (such as dividends or distributions) minus your initial investment and additional transaction costs. For example, if you invest $10,000 and receive $15,000 in total proceeds, your net gain is $5,000 and your ROI is 50%.
How do you calculate annualized ROI or CAGR?
Annualized ROI calculates your compound annual growth rate (CAGR) using the formula: CAGR = (Ending Value ÷ Initial Investment)^(1 ÷ Years) − 1. Annualizing returns standardizes performance so you can fairly compare investments held over different time horizons (for example, comparing a 20% gain in 1 year against a 45% gain across 3 years).
How do you calculate ROI in Excel or Google Sheets?
In Excel or Google Sheets, calculate simple ROI in a cell using: `=(EndingValue - InitialInvestment) / InitialInvestment` (or `=(B2-A2)/A2`) and format the cell as a percentage. For annualized CAGR, use: `=(EndingValue / InitialInvestment)^(1 / Years) - 1`. If cash flows occur on irregular dates, use the built-in `=XIRR()` formula instead.
How do you calculate ROI for rental property or real estate?
Real estate ROI accounts for rental income, property appreciation, and mortgage leverage. Total real estate ROI divides net equity gain (net cash flow plus principal paydown plus appreciation minus closing costs) by your total out-of-pocket cash invested. For annualized rental performance, investors also evaluate Cap Rate (unleveraged Net Operating Income divided by property value) and Cash-on-Cash return.
How is marketing or SEO ROI different from ROAS?
ROAS (Return on Ad Spend) measures gross revenue generated per dollar spent on advertising (`Revenue ÷ Ad Spend`). In contrast, Marketing and SEO ROI measures true bottom-line profitability after deducting ad spend, agency fees, content production costs, and software overhead: `Marketing ROI = (Gross Profit Generated − Total Marketing Costs) ÷ Total Marketing Costs × 100`.
How do you calculate ROI for software, AI, or automation?
Software and automation ROI evaluates financial gains against subscription, implementation, and licensing expenses: `ROI = (Net Annual Benefits − Total Software Cost) ÷ Total Software Cost × 100`. Annual benefits include direct labor hours saved, eliminated operational errors, reduced third-party tools, and incremental revenue generated by accelerated workflows.
What is a good ROI?
There is no single universal 'good' ROI because expected return depends on asset class, risk profile, inflation, and holding horizon. Historically, broad US equities (S&P 500) have averaged ~10% nominal annual return over multi-decade periods, while risk-free cash and short-term Treasuries historically yield 2% to 5%. Higher projected returns typically require accepting higher volatility, liquidity constraints, or risk of capital loss.
How does inflation affect investment returns?
Inflation reduces the future purchasing power of your investment proceeds. While nominal ROI reflects your raw dollar gain, Real ROI calculates your actual purchasing power increase using the Fisher equation on annualized returns: `Real CAGR = (1 + Nominal CAGR) ÷ (1 + Inflation Rate) − 1`. If an investment yields 8% nominal CAGR during a 3% inflation environment, the real annualized return is approximately 4.85%.
Related Tools

Explore Investment & Growth Calculators

Model compound growth, analyze leveraged rental cash flows, track net worth, and project retirement timelines.

Sources & Industry Standards

Return calculation formulas, compounding methodologies, and financial benchmarks are reviewed quarterly.

CFA Institute — Global Investment Performance Standards (GIPS) — International ethical standards for calculating and presenting investment performance, money-weighted returns (MWR), and time-weighted annualized rates. Last updated: July 2026
SEC (U.S. Securities and Exchange Commission) — Investor.gov — Official federal investor education standards on compound interest formulas, holding period return calculations, and nominal vs. real return analysis. Last updated: July 2026
Corporate Finance Institute (CFI) — "Financial Analysis Fundamentals" — Industry reference standards for Return on Investment (ROI), Compound Annual Growth Rate (CAGR), and Internal Rate of Return (IRR) equations. Last updated: July 2026