FiscalCalc

ROI Calculator

Calculate the return on any investment in seconds. Enter your initial investment, final value, and holding period to see total ROI, annualized return (CAGR), and inflation-adjusted real return.

$
$
$

Transaction fees, commissions, or other expenses

yrs

How long you held the investment

%

Annual inflation rate for real return calculation

The calculator that works for you — not for lenders.

Free. No email. No ads tied to your inputs. No one trying to sell you a financial product.

See all 20 calculators →

What Is ROI?

Return on Investment (ROI) is one of the most widely used metrics in finance. It measures how much you gained — or lost — relative to what you put in. ROI is expressed as a percentage, making it easy to compare investments of different sizes and types on the same scale.

The basic ROI formula is:

ROI = (Net Profit / Total Cost Basis) × 100

Where Net Profit = Final Value − Initial Investment − Additional Costs and Total Cost Basis = Initial Investment + Additional Costs.

For example: you invest $10,000, pay $500 in transaction fees, and sell for $15,000. Your net profit is $4,500 and your total cost basis is $10,500. ROI = ($4,500 / $10,500) × 100 = 42.86%.

Total ROI vs. Annualized ROI (CAGR)

Total ROI tells you the overall percentage gain from start to finish — regardless of how long the investment was held. It answers the question: "How much did I make relative to what I put in?"

Annualized ROI (Compound Annual Growth Rate, or CAGR) converts that total return into an equivalent per-year rate. It answers: "What annual return rate would produce the same result?" The CAGR formula is:

CAGR = (Final Value / Total Cost Basis)^(1 / Years) − 1

Consider two investments: Investment A delivers 50% total ROI over 3 years. Investment B delivers 50% total ROI over 10 years. The total return is identical, but Investment A has a CAGR of approximately 14.5% per year — far superior to Investment B's 4.1% per year. Without annualizing, time-based comparisons are misleading.

CAGR smooths out year-to-year volatility. An investment that gained 30% one year, fell 10% the next, and gained 20% in year three did not return a steady rate each year — but its CAGR gives you a single representative annual figure for apples-to-apples comparison.

Inflation-Adjusted (Real) ROI

A 40% return sounds impressive — until you realize inflation ran at 8% per year over the same period. In real (purchasing power) terms, your gain was much smaller. Inflation-adjusted ROI strips out the effect of price-level increases to show your true wealth gain.

The formula for real ROI is:

Real ROI = [(1 + nominal ROI/100) / (1 + inflation rate/100)^years − 1] × 100

This is not simply subtracting inflation from nominal ROI — the mathematically correct approach compounds inflation over the entire holding period. At 3% annual inflation over 5 years, cumulative inflation is approximately 15.9%, not 15%.

For long-term investment decisions — retirement savings, real estate, or any multi-decade horizon — always evaluate real ROI alongside nominal ROI. Planning for retirement using only nominal numbers can cause you to significantly overestimate your future purchasing power.

A Practical Example

Suppose you bought rental property for $250,000, spent $15,000 on closing costs and repairs (additional costs), held it for 7 years, and sold it for $375,000. Inflation averaged 3% per year during that period.

  • Total Cost Basis: $265,000
  • Net Profit: $375,000 − $265,000 = $110,000
  • Total ROI: ($110,000 / $265,000) × 100 = 41.51%
  • Annualized ROI (CAGR): ($375,000 / $265,000)^(1/7) − 1 = approximately 5.08% per year
  • Real ROI: [(1.4151) / (1.03)^7 − 1] × 100 = approximately 15.98%

The nominal gain looks like 41.5%, but after 7 years of 3% inflation, the real purchasing power gain is closer to 16%. This is still positive, but significantly different from the headline number — and much closer to what matters for your long-term financial wellbeing.

Always Include All Costs

One of the most common mistakes investors make is calculating ROI on the initial purchase price alone, ignoring transaction costs, maintenance, taxes, and fees. These costs reduce your cost basis (what you paid) but they also directly reduce your net profit.

For stock investments, include brokerage commissions (if any). For real estate, include purchase closing costs (typically 2–5% of purchase price), ongoing maintenance and property taxes, and selling costs (typically 6–8% including agent commissions). For business investments, include all capital deployed beyond the initial purchase.

Use the Additional Costs field in this calculator to capture these expenses. Even seemingly small fees — a 1% transaction cost on a $50,000 investment is $500 — meaningfully affect ROI, especially over shorter holding periods.

Questions You Might Ask

What is ROI and how is it calculated?

ROI (Return on Investment) measures profit relative to the total cost of an investment. Formula: ROI = (Net Profit / Total Cost Basis) × 100, where Net Profit = Final Value − Initial Investment − Additional Costs. It tells you what percentage you earned back on every dollar invested.

What is the difference between total ROI and annualized ROI?

Total ROI is the overall percentage gain over the entire holding period. Annualized ROI (CAGR) converts that into an equivalent per-year rate. A 100% total return over 10 years equals approximately 7.2% annualized — much less impressive than 100% over 3 years (which is about 26% annualized). Always use CAGR to compare investments with different holding periods.

What is inflation-adjusted ROI?

Inflation-adjusted (real) ROI removes the effect of price-level increases over your holding period. It shows your true purchasing power gain. Formula: Real ROI = [(1 + nominal ROI) / (1 + inflation)^years − 1] × 100. Use it for any multi-year investment where inflation meaningfully affects your real wealth.

What is a good ROI?

It depends on the asset class and risk. For long-term diversified stock portfolios, 7–10% annualized (before inflation) is considered reasonable, benchmarked against the S&P 500 historical average. For real estate, 8–12% total annualized (including rental income) is typical. For lower-risk assets like bonds or CDs, 3–5% annualized is standard. Compare your ROI against the relevant benchmark for the asset class, not against arbitrary targets.

Should I include transaction costs in my ROI calculation?

Always. Transaction costs (commissions, closing costs, fees) directly reduce your net profit. Excluding them overstates your true return. Use the Additional Costs field to capture all expenses beyond the purchase price. For real estate, total buying and selling costs can easily total 8–10% of the property price.