Skip to content
FinanceFree · No signup · 1M+/month

Free Investment ROI Calculator — Total Return + Annualized CAGR

Drop initial cost, fees, dividends, final value, and holding years — get total ROI %, dollar profit, and annualized return (CAGR) for multi-year holdings.

  • Instant result
  • Private — nothing saved
  • Works on any device
  • AI insight included
Reviewed by CalcBold EditorialLast verified Methodology

Investment ROI Calculator

What you paid to acquire the investment.

Brokerage commissions, management fees, transfer fees over the holding period.

Current market value or sale price.

Total income received during holding (rental income, dividends, interest).

Required for annualized CAGR. Skip for total-return-only.

Embed builderDrop the ROI on your site →Free widget · 3 sizes · custom theme · auto-resizes · no signupGet embed code

What This Calculator Does

Return on Investment (ROI) is the single most-quoted number in finance — and the single most-misquoted. This calculator strips it down to the honest version: how much money did you actually put in, how much came back, and what is the percentage gain or loss after the fees and dividends are accounted for. You enter the initial cost, any fees or commissions, the final value of the position, any dividends or distributions you received along the way, and (optionally) the number of years you held the investment. The calculator returns three numbers: net profit in dollars, total ROI as a percentage, and — when a hold period is supplied — compound annual growth rate (CAGR).

Most online ROI tools cheat. They compute final-minus-initial and stop there, ignoring commissions, ignoring dividends, and ignoring the hold period. That gives you a flattering number that does not match the cash that actually moved through your bank account. The version you are using does the full accounting — it is closer to what an accountant or a portfolio manager would calculate, just without the spreadsheet ceremony.

Total ROI vs Annualized CAGR — The Math

The two percentages this calculator returns answer two completely different questions — and confusing them is the most common mistake retail investors make.

Total ROI tells you the cumulative percentage gain across the entire holding period. If you turned $10,000 into $20,000, your total ROI is 100%, regardless of whether that took one year or twenty. It is a backward-looking, time-agnostic number — useful for describing a single trade in isolation, dangerous when used to compare investments held for different periods.

CAGRis the annualized version. It is the constant yearly growth rate that, compounded across the years you held the investment, produces exactly the total return you experienced. CAGR is what lets you say “this investment returned 8.3% per year” in a way that is directly comparable to the S&P 500’s long-run average, your savings account’s APY, or another fund’s prospectus. Whenever you are comparing two investments held over different time spans, you must compare CAGR, not total ROI.

A concrete example: investment A returns 60% over 8 years; investment B returns 35% over 3 years. By total ROI, A looks better. But A’s CAGR is about 6.0% per year while B’s CAGR is about 10.5% per year. B compounded faster — the higher number wins when you put both on the same timeline. The same trap shows up in fund marketing brochures all the time. Always check the time period before being impressed by a percentage.

Including Fees and Dividends Honestly

ROI without fees is fiction. Brokerage commissions, mutual-fund expense ratios, bid-ask spreads, currency conversion charges, account maintenance fees, advisor fees, and (for real estate) closing costs and realtor commissions — all of these come out of your real return. A fund that quotes a 9% gross return and charges a 1% expense ratio is delivering 8% to you. Over a 30-year horizon, that 1% gap nearly doubles the dollar difference at the end. The calculator’s fees field is where that real cost goes.

Dividends matter just as much in the other direction. Roughly 40% of the S&P 500’s long-run total return historically came from reinvested dividends. If you track only price appreciation, you systematically understate the actual cash you earned. Real-estate analogs — net rental income, MLP distributions, REIT payments, bond coupons — all belong in the dividends field too. The calculator simply adds them to the final-value side of the equation, which is exactly how a tax accountant would treat them if they were reinvested.

One subtlety: this calculator treats dividends as a lump sum on top of the final value rather than reinvesting them at a per-period rate. That is a deliberate simplification. For most retail comparisons it’s within a percentage point of the truth, and the full reinvestment math is what the compound interest calculator is built for. If you need dividend-reinvested CAGR to four decimal places, that is the page to use.

How to Use This Calculator

  1. Enter initial cost — the actual money that left your account when you bought the position. For stocks, this is shares × purchase price. For real estate, this is the contract price plus any costs capitalized into your basis.
  2. Enter fees / commissions— every charge associated with buying and selling the position. Brokerage commissions, transaction fees, realtor fees, closing costs, exit loads. If you are not sure whether something belongs here, the rule of thumb is: if you wouldn’t have paid it without making the trade, include it.
  3. Enter final value — what the position is worth today (if you still hold it) or what you sold it for (net of selling fees, if you prefer to bake them into this number instead of the fees field; either approach works as long as you do not double-count).
  4. Enter dividends / distributions — the cumulative cash payout you received during the hold period. For dividend-reinvested positions, it is fine to enter $0 here and just use the final value (since the reinvestments are already embedded in your share count).
  5. Optional but strongly recommended: enter years held. Without the time input, the calculator cannot compute CAGR — and CAGR is usually the more useful number.

Three Worked Examples

Three realistic scenarios — copy any of them into the calculator above to see the full breakdown.

Example 1 — A long-held stock position

You bought $10,000 worth of a public-company stock 5 years ago. The position is now worth $14,500, you collected $500 in dividends across those years, and your total brokerage commissions added up to $50. Net profit = $14,500 + $500 − $10,000 − $50 = $4,950. Total ROI = $4,950 ÷ $10,000 = 49.5%. CAGR over 5 years = ($15,000 / $10,050)1/5 − 1 ≈ 8.3% per year. That is a respectable result — just slightly above the long-run nominal return of the S&P 500. Notice that the impressive-sounding 49.5% headline shrinks to a sober 8.3% once you annualize. Both numbers are true; only one of them is comparable to other investments.

Example 2 — A real estate flip with rental income

You bought a rental house for $350,000 and sold it 7 years later for $480,000. The realtor took a 6% commission on the sale ($28,800). Across the seven-year hold you collected $42,000 in net rental income after operating expenses, vacancy, and property tax. Net profit = $480,000 + $42,000 − $350,000 − $28,800 = $143,200. Total ROI = $143,200 ÷ $350,000 ≈ 40.9%. CAGR ≈ ($522,000 / $350,000)1/7 − 1 ≈ 5.0% per year. That sounds underwhelming until you remember that the deal was likely leveraged — if you put 20% down, your ROI on actual cash invested is roughly 5× higher. ROI on equity vs ROI on price is the single most important distinction in real-estate analysis, and a vanilla calculator like this one cannot read your mortgage off the screen. Treat the headline number as the unlevered baseline.

Example 3 — A crypto loss (the brutal math of recovery)

You bought $5,000 worth of a speculative coin XYZ. Two years later it is worth $1,800, with no dividends and no fees of note. Net loss = −$3,200. Total ROI = −64%. CAGR over 2 years ≈ (1,800 / 5,000)1/2 − 1 ≈ −40% per year. The psychologically important number, though, is what comes next: to recover from a 64% drawdown you need a +178% gainon your remaining $1,800 to get back to $5,000. Down 50% requires +100% to recover; down 80% requires +400%. This is the asymmetry of percentages — the further you fall, the disproportionately larger move you need to climb back. It is also why position sizing matters more than picking winners, and why “the trend is your friend” survives as a maxim despite being otherwise vacuous.

Common Mistakes

  • Quoting total ROI when CAGR is the right number.“I made 60% on this stock” is meaningless without knowing whether it took 1 year or 12. Always annualize before comparing.
  • Ignoring fees on the buy and sell side. A 1% commission on each side of a trade silently shaves 2 percentage points off your ROI. Across a portfolio, that quietly destroys returns. Add commissions, expense ratios, and bid-ask spread to the fees field — your real return is what you net, not what the chart shows.
  • Forgetting dividends entirely. A dividend-paying stock that traded flat for a decade still made you money via the cash payouts. Stripping dividends out of the calculation makes index funds, REITs, and dividend aristocrats look much worse than they actually are.
  • Confusing nominal ROI with real ROI. If your investment returned 6% per year but inflation ran at 4%, your real (purchasing-power) return is about 2% per year — not 6%. Nominal numbers feel better but real numbers are what your future self can actually buy with. Run the result through the inflation calculator for the purchasing-power-adjusted view.
  • Treating ROI as risk-adjusted return. A 12% return earned by holding T-bills and a 12% return earned by leveraging into Argentine bonds are not the same thing — even though the ROI number is identical. The standard fixes are the Sharpe and Sortino ratios, covered briefly below.
  • Cherry-picking the start and end dates. Buying at the bottom of a drawdown and selling at the top of a melt-up gives you a great ROI on paper but it is not a return you can replicate with future capital. Honest backtests use rolling windows or fixed start dates, not handpicked ones.
  • Not separating ROI on equity from ROI on total cost. For leveraged positions (mortgaged real estate, margin trades, options) the ROI on the cash you actually risked is dramatically different from the ROI on the notional position size. Both numbers are valid; they answer different questions. Pick the one that matches your decision.

When This Calculator Decides For You

ROI math rarely floats free of a real decision. Some of the most common ones it actually settles:

  1. Sell or hold. Run two scenarios — the ROI you have already locked in if you sell today, and the ROI you would need next year for holding to be the better choice. If holding requires a stretch return, your edge has run out.
  2. Active vs index.Compare your active picks’ CAGR against the benchmark’s CAGR over the same window. If you are not consistently beating the index after fees and taxes, the index is the rational default.
  3. Real estate vs equities. Run both with full fee accounting (closing costs, realtor commissions, property tax for real estate; expense ratios and trading costs for equities). Most retail investors discover that unlevered real estate underperforms a low-fee index — but levered real estate often outperforms because of the equity multiplier. ROI alone cannot tell you which side wins; you have to calculate both honestly.
  4. Whether to take the gain.If a position has hit a target return and your decision rule is “sell at 25% gain”, the calculator confirms whether you are actually at 25% gain after fees — not whether the line on the screen looks like 25%. The two numbers diverge more often than people realize.

Real Return — Subtracting Inflation

Every percentage on this page is a nominal return — the dollar increase divided by the dollar starting point, before adjusting for the fact that dollars themselves shrink in purchasing power. To get the real return, subtract the inflation rate from the nominal return. The exact formula is multiplicative — (1 + nominal) / (1 + inflation) − 1 — but for low rates the simple subtraction is within a tenth of a percent.

At a long-run US inflation rate of about 3%, a 7% nominal CAGR becomes roughly a 4% real CAGR. A 4% nominal return becomes 1% real. And a 3% nominal return — the kind a high-yield savings account might pay during a normal-rate period — is approximately zero real return. You are not gaining purchasing power; you are just keeping pace.

This is also where the conversation about retirement gets unforgiving. A 7% nominal return sounds like a strong tailwind for compounding, but a 4% real return means your money is doubling in purchasing power every 18 years, not every 10. The retirement savings calculator and the compound interest calculator both let you swap nominal and real assumptions to stress-test the plan in either frame.

Risk-Adjusted Returns (Sharpe, Sortino) — Out of Scope but Worth Knowing

ROI tells you what you earned. It does not tell you how much you suffered to earn it. Two investments with identical ROI can have wildly different risk profiles — one ground out steady gains while the other lurched from drawdown to recovery and happened to land in roughly the same place. To distinguish the two, professional investors use risk-adjusted return metrics. The two most common:

  • Sharpe ratio = (return − risk-free rate) ÷ standard deviation of returns. It penalizes both upside and downside volatility equally — high Sharpe means smooth ride per unit of return.
  • Sortino ratio = (return − risk-free rate) ÷ downside deviation. Same idea but only penalizes downside volatility, since most investors do not actually mind upside surprises. Generally a more honest measure of pain-per-percentage.

Computing either ratio requires the per-period return series — every monthly or quarterly return across the holding period, not just the start and end. That is well outside what this calculator is built for, and it is well outside what most retail investors ever bother to compute. But if you find yourself comparing two investments with similar ROI and very different volatility, that is the toolkit. For everything else, ROI plus CAGR — net of fees, including dividends, with inflation noted on the side — covers 90% of the decisions you will face.

For the time-value-of-money side of the same coin, see the compound interest calculator. For long-horizon planning that uses CAGR assumptions to project a future balance, the retirement savings calculator builds on the same math. To convert any nominal return into a real (purchasing-power) return, the inflation calculator does the adjustment in either direction. And if you are weighing an investment against paying down debt, the loan EMI calculator tells you the guaranteed return on the other side of the trade — paying off a 7% mortgage early is a risk-free 7% return, which is harder to beat than it looks.

Sources & Methodology

The formulas, thresholds, and benchmarks behind this calculator are anchored to the primary sources below. Where a study or agency document is the underlying authority, we link straight to it — not a summary or republished version.

  1. SEC Investor.gov — Compound Interest and Investment Returns· U.S. Securities and Exchange Commission

    Federal investor-education authority on standard ROI computation, time-weighted return, and the future-value formulas the calculator implements.

    Accessed

  2. CFA Institute — Global Investment Performance Standards (GIPS)· CFA Institute

    International professional standard governing investment-performance measurement including time-weighted vs money-weighted return methodology.

    Accessed

  3. Federal Reserve — H.15 Selected Interest Rates· Board of Governors of the Federal Reserve System

    Authoritative federal dataset on benchmark rates used to anchor risk-free return assumptions in ROI scenarios.

    Accessed

  4. U.S. Treasury — Treasury Marketable Securities Yield Curve· U.S. Department of the Treasury

    Federal yield-curve dataset providing risk-free rate inputs for benchmarking investment ROI against alternatives.

    Accessed

  5. BLS — Consumer Price Index for Real Return Adjustment· U.S. Bureau of Labor Statistics

    Federal inflation series required to convert nominal ROI to real (inflation-adjusted) return for accurate long-horizon comparison.

    Accessed

  6. IRS Publication 550 — Investment Income and Expenses· Internal Revenue Service

    Federal tax-authority guidance on investment-income tax treatment, capital-gain rates, and basis adjustments used to compute after-tax ROI.

    Accessed

Frequently Asked Questions

The most common questions we get about this calculator — each answer is kept under 60 words so you can scan.

  • What does ROI actually measure?
    Return on Investment = (gain ÷ cost) × 100. It tells you the % return your money produced. ROI doesn't account for time — a 50% ROI over 1 year is excellent; the same 50% over 30 years is mediocre. That's why CAGR (annualized) matters for multi-year comparisons.
  • What is CAGR?
    Compound Annual Growth Rate. The single annual rate that, if applied each year, would produce the same final value. Formula: (final ÷ cost)^(1/years) − 1. CAGR smooths out volatile years into one annual number for fair comparison across investments. A 50% return over 5 years = 8.4% CAGR, comparable to a savings account that returns 8.4% per year.
  • How do I include dividends?
    Add total dividends received over the entire holding period (not annual). The calculator treats them as additional return — they go into the gain. So a stock bought at $100, currently worth $120, that paid $5 in dividends has a $25 total gain on $100 cost = 25% ROI, not 20%.
  • What about fees?
    Fees reduce ROI. Add brokerage commissions, expense ratios over time, transfer fees, and management fees. A 1% annual expense ratio over 20 years compounds to roughly 18% of returns lost — small fees matter enormously over long horizons.
  • How is this different from simple percentage gain?
    Simple gain = (final − initial) ÷ initial × 100. Doesn't include fees or dividends. The ROI calculator's Total Return includes both, giving the more-honest 'actually how much did I make' number. For tax purposes, capital gains is calculated on price-only; ROI calculations care about real wealth change.
  • What's a 'good' ROI?
    Depends on time horizon and risk. Stock market long-run real return ~7% CAGR. Bonds 2-4%. Cash 0-1%. Real estate typically 4-6% real (not counting leverage). Crypto is hugely variable. If your CAGR is over 10% real over multiple years, you're outperforming most professional managers — possibly a sign you're taking more risk than you realize.
  • Should I compare ROI to inflation?
    Yes — that's what 'real return' means. A 5% nominal ROI in a year with 3% inflation is only 2% real return. Real returns are what matter for purchasing-power preservation. The calculator gives nominal returns; subtract inflation manually using the Inflation calculator.
  • How do I handle partial sales or DCA?
    Approximate it. For dollar-cost-averaging (regular contributions over time), treat the average cost basis as initial and the current portfolio value as final — close enough for ballpark. For exact IRR (Internal Rate of Return) with multiple cash flows, use a spreadsheet's XIRR function. The calculator handles single-purchase + single-sale cleanly.
  • Why is annualized return lower than I expected?
    Compounding cuts both ways. A 100% total return over 10 years is only 7.18% CAGR (because 1.0718^10 = 2.0). A 200% total return over 10 years is 11.6% CAGR. Multiply-then-take-the-Nth-root math feels less impressive than the headline 100%, but it's the honest annual equivalent. CAGR ≈ total return / years only at low totals.
  • Does this work for real estate?
    Conceptually yes, with caveats. Initial cost should include closing costs + improvements. Fees include realtor commissions on sale (~6% in US). Final value = sale price − selling fees. Dividends = net rental income (rent − expenses). Real estate ROI is often misleading without including the 'time you spent managing it' as an opportunity cost.
  • What about leveraged investments?
    ROI on leveraged investments (mortgaged real estate, options, margin) can be misleading. A 10% gain on a 5x leveraged position is 50% ROI on your equity, but the risk is also 5x. The calculator doesn't model leverage — input your actual cash invested as the 'cost'. For risk-adjusted analysis, use Sharpe ratio or Sortino ratio (out of scope here).
  • Should I include tax in the calculation?
    For honesty, yes. Subtract capital gains tax (15-20% in US for long-term, ~37% for short-term) from the final value. The calculator's headline ROI is pre-tax; do the post-tax calculation by reducing 'final value' by your expected tax bill before running. For tax-advantaged accounts (Roth IRA, 401k), pre-tax ROI is your real number.