Investment Return Calculator
✦ Finance & MoneyMeasure a completed investment's net gain or loss after purchase costs, sale costs, cash distributions and withdrawals, then compare simple return (ROI) with the annualised compound rate (CAGR) — with an inflation-adjusted annual rate alongside.
- ✓ Calculated in your browser
- ✓ Nothing you type is stored
- ✓ No sign-up required
- ✓ Formula and sources shown
The formula
Simple total return and annualised return
Total invested = Purchase value + Purchase costs + Additional contributions
Total received = Sale value - Sale costs + Cash distributions + Cash withdrawals
ROI = (Total received - Total invested) / Total invested
CAGR = (Total received / Total invested)^(1 / Years) - 1
This calculator treats every additional contribution as invested capital and every distribution or withdrawal as cash received. It calculates a simple total return, not an internal rate of return: it does not time-weight cash flows that happen during the holding period.
Calculating it by hand
- Add the purchase value, purchase costs and any additional capital to find total invested.
- Subtract sale costs from the gross sale value to find the net sale value.
- Add cash distributions and prior withdrawals to that net sale value to find total value received.
- Subtract total invested from total value received to find the absolute gain or loss.
- Divide that gain or loss by total invested to calculate the simple total return (ROI).
- When total value received is greater than zero, raise its ratio to total invested to the power of one divided by years, then subtract one for the annualised return (CAGR).
Worked examples
$10,000 invested, sold for $15,000 after five years
Total invested = $10,000 + $0 purchase costs + $0 added capital = $10,000Total received = $15,000 - $0 sale costs + $0 distributions + $0 withdrawals = $15,000ROI = ($15,000 - $10,000) / $10,000 = 50.00%; CAGR = ($15,000 / $10,000)^(1 / 5) - 1 = 8.45%
Net gain: $5,000.00; simple total return: 50.00%; annualised return: 8.45%.
$2,000 purchase, $10 buy cost, $2,400 sale, $10 sale cost and $140 distributions over three years
Total invested = $2,000 + $10 + $0 = $2,010Total received = $2,400 - $10 + $140 + $0 = $2,530ROI = ($2,530 - $2,010) / $2,010 = 25.87%; CAGR = ($2,530 / $2,010)^(1 / 3) - 1 = 7.97%
Net gain: $520.00; simple total return: 25.87%; annualised return: 7.97%.
$1,000 initial purchase, $500 added capital, $1,200 sale, $200 withdrawal and $50 distribution over two years
Total invested = $1,000 + $0 + $500 = $1,500Total received = $1,200 - $0 + $50 + $200 = $1,450ROI = ($1,450 - $1,500) / $1,500 = -3.33%; CAGR = ($1,450 / $1,500)^(1 / 2) - 1 = 0.983192 - 1 = -1.68%
Net loss: $50.00; simple total return: -3.33%; annualised return: -1.68%.
Methodology
How investment return is calculated
Return is not the same as price change. Every purchase cost, selling fee, dividend and withdrawal shifts the number — and the difference between a 50% gain over one year and a 50% gain over five years is bigger than most people expect.
Read sources and limitsWhat does an investment return measure?
An investment return is the gain or loss on an investment once everything you put in and everything it paid back are counted, shown in dollars and as a percentage of what you invested. A $2,000 gain on $10,000 is a 20% return; the same $2,000 on $100,000 is 2%.
The definition of "invested" is where a quick calculation often goes wrong. The purchase price is not the whole cost if you paid a commission, spread, load or transaction tax, and the amount received is not the gross sale price if selling charges came off it. This calculator therefore starts with a cash-flow bridge — purchase value plus purchase costs and added capital on one side; net sale value, distributions and withdrawals on the other — and shows every line in the breakdown table.
What is the difference between ROI and CAGR?
Simple return (ROI) ignores time: a 50% gain made in one year and a 50% gain made in five years are both 50% ROI. Annualised return, or compound annual growth rate (CAGR), is the constant yearly rate that would grow the amount invested into the amount received over the holding period.
That makes CAGR the measure for comparing holdings of different lengths. It is not ROI divided by years: a 50% five-year return is a CAGR of 8.45%, not 10%, because the annual rate compounds. CAGR needs a value received above zero; if an investment ends at zero, the page still shows the dollar loss and the simple return but leaves CAGR blank rather than showing a misleading number.
How are dividends, contributions and withdrawals counted?
Cash distributions — dividends, interest, rent or other payments you kept rather than reinvested — are added to the value received, because they are part of what the investment paid you. Additional contributions are added to the amount invested. Cash withdrawals taken before the final sale count as value received.
This tool does not date those intermediate cash flows. A contribution in the first month and one in the last month are treated the same, even though one was invested far longer. When the timing of cash flows matters, a money-weighted return such as IRR or XIRR is the right method; this page deliberately does not approximate one without dates.
How do fees and inflation change an investment return?
Fees come straight out of return. A commission, advisory charge, spread, fund expense or closing cost is the difference between a gross market gain and what you keep, so enter the charges you know as purchase or sale costs. The tool does not estimate fees you did not enter, and it does not model taxes.
The optional inflation assumption turns the nominal CAGR into a real one: (1 + CAGR) / (1 + inflation) - 1. It assumes one constant inflation rate, so it illustrates purchasing-power change rather than reconstructing history. Return alone also says nothing about risk, liquidity or diversification; compare investments with similar objectives and horizons.
How do I use this for stocks, real estate and ETFs?
For a stock, the purchase value is shares x price paid, the purchase cost is any commission, the sale value is the gross proceeds and the sale cost the selling commission; dividends you received in cash go in Cash distributions. Enter the number of shares under Advanced to see the gain or loss per share.
For real estate, the purchase value is the price paid; purchase costs include transfer taxes, legal and inspection fees; the sale value is the gross selling price and sale costs include agent commission and closing costs. Rental income received is a cash distribution. For an ETF or index fund, the expense ratio is already reflected in the fund's price, so enter only explicit trading costs.
What mistakes should I avoid when calculating return?
Do not mix gross and net figures: if the sale value already has selling fees taken off, leave Sale costs at zero, or they are subtracted twice. Count each distribution once — reinvested dividends are already in the sale value. Measure the holding period from the first purchase to the date of the sale value.
And do not turn one historical result into a forecast. An annualised rate describes what happened under the values entered; it says nothing about what the same investment will do next. This calculator provides educational estimates based on the figures you enter. It is not investment, tax, legal or financial advice.
Investment Return questions
What is the formula for investment return?
Total invested is the purchase value plus purchase costs plus any additional contributions. Total value received is the sale value minus sale costs plus cash distributions and withdrawals. Simple return (ROI) = (total received - total invested) / total invested. Annualised return (CAGR) = (total received / total invested)^(1 / years) - 1.
What is the difference between ROI and CAGR?
ROI is the total gain or loss over the whole holding period and ignores time. CAGR (compound annual growth rate) is the constant yearly rate that would produce the same result. Use CAGR to compare investments held for different periods; use ROI for the plain total-cash result. A 50% ROI over five years is a CAGR of 8.45%.
How do you calculate annualised return (CAGR) by hand?
Divide total value received by total invested, raise the ratio to the power of 1 / years, then subtract 1. For $15,000 received on $10,000 over 5 years: (15,000 / 10,000)^(1 / 5) - 1 = 1.5^0.2 - 1 = 0.0845, or 8.45% a year. The formula needs a value received above zero.
Why is CAGR lower than total return divided by the years?
Because CAGR compounds. 8.45% a year for five years is a 50% total, since each year's growth builds on the previous year's larger balance. Dividing 50% by 5 gives 10%, an arithmetic average that ignores compounding and overstates the equivalent annual rate. CAGR is the correct annual figure for multi-year results.
Should I include dividends and interest in my investment return?
Yes — include the cash dividends, interest or rent you received and did not reinvest, in Cash distributions; they are part of what the investment paid you, and including them gives the total return rather than the price-only return. Do not count a reinvested distribution twice: if it stayed in the investment, it is already in the sale value.
Does investment return include brokerage fees?
Only if you enter them: buying commissions go in Purchase costs and selling commissions in Sale costs. Returns calculated without fees overstate what you received. A $10 commission on a $500 purchase raises your cost by 2%, which shows clearly in the annualised return on a short holding period.
How do I calculate real estate investment return?
Use the purchase price as the purchase value, buying costs (transfer tax, legal fees, inspection) as purchase costs, the gross selling price as the sale value, agent commission and closing costs as sale costs, and net rental income received as cash distributions. For the return on your own equity in a mortgaged property, enter the equity you put in and the net equity you took out after repaying the loan.
What does the inflation-adjusted annualised return mean?
It is the annual growth in purchasing power after the constant inflation rate you enter: (1 + nominal CAGR) / (1 + inflation) - 1. It divides rather than subtracts, so a 10% CAGR with 3% inflation is a 6.80% real return, not 7%. It illustrates a fixed assumption; it is not a record of actual inflation or a forecast.
Can this calculator measure returns with many dated cash flows?
It summarises their total cash effect but does not time-weight each contribution or withdrawal. For a return that accounts for exact cash-flow dates, use a money-weighted measure such as IRR or XIRR. This page does not approximate one without dates, because doing so would produce a misleading percentage.
Can I annualise the return on an investment held for less than a year?
You can, but treat it as a projection. An 8% gain in three months annualises to 1.08^(12 / 3) - 1 = 36.0%, which assumes you could repeat the same gain four times in a row. Most professional reporting does not annualise periods under a year for that reason; quote "8% in three months" instead.
How do I calculate the return on an investment I have not sold yet?
Use the current market value as the sale value. That gives an unrealised return: the gain exists on paper but is not locked in, and no tax has been triggered. Subtract realistic selling costs so the figure is closer to what you would keep. $20,000 invested, now worth $27,000, with $500 of selling costs: unrealised gain $6,500, ROI 32.5%.
Is investment return calculated before or after tax?
Before tax, here and in almost all quoted returns. For an after-tax estimate, subtract the tax due on the gain and on any distributions from the amount received. $10,000 invested with a $4,000 long-term gain taxed at 15%: tax $600, after-tax gain $3,400, after-tax ROI 34% instead of 40%. Assets inside an IRA or 401(k) are not taxed on sale; IRS Publication 550 has the rules.
Source notes
Method, sources & limitations
Every figure on this page comes from the formula above applied to the values you enter. Nothing is estimated from market data, and no result is a forecast. These are the sources behind the method and any fixed figures it uses:
- FINRA — Calculating Your Investment Returns
- FINRA — Fees and Commissions
- U.S. Securities and Exchange Commission (Investor.gov) — Understanding Fees
- IRS Publication 550 — Investment Income and Expenses
Educational information only. Results are estimates produced from the assumptions you enter, and are not financial, tax, legal or medical advice. Check anything that matters against a qualified professional and the cited sources.