Did your investment actually pay off, or does it only look good on paper? A profit of $8,550 sounds great until you ask how long it took and what taxes took back.
This ROI calculator measures return on investment from what you put in and what you got out. It shows net profit, ROI, and annualized ROI in gross or after-tax mode. It also checks your result against inflation and a benchmark rate. It suits investors, landlords, and business owners comparing past or planned deals.
Table of Contents
- What the ROI Calculator Measures
- How to Use the ROI Calculator
- The ROI Formulas Behind the Results
- Worked Example: A $20,000 Stock Portfolio
- How to Read Each Result
- Simple ROI vs Annualized ROI
- Limitations and Assumptions
- FAQs About the ROI Calculator
What the ROI Calculator Measures
- Two modes: the Gross return tab ignores tax, and the After-tax return tab applies your tax rate.
- Four headline numbers: Total invested, Net profit, ROI, and Annualized ROI.
- Deeper metrics: gross profit, after-tax profit, real annual return, and the benchmark gap.
- Break-even progress: a bar showing how much of your money has come back, capped at 100%.
- Return comparison bars: gross, after-tax, and benchmark profit side by side.
- Decision insights: short notes on benchmark position, tax drag, and purchasing power.
- Utilities: save up to eight scenarios, copy a summary, export a CSV file, print, or reset.
Every number refreshes the moment you change a field. The currency menu changes only the symbol and number format, not the values.
How to Use the ROI Calculator
- Pick Gross return or After-tax return at the top of the inputs card.
- Choose a Currency and a Decimal precision of 0, 2, or 3 places.
- Enter your Initial investment. This must be greater than zero.
- Add Additional costs such as commissions, closing costs, or setup fees.
- Enter the Final investment value, meaning the sale price or current market value.
- Add Income received, such as dividends, rent, or interest you collected.
- Under Assumptions, set the Holding period (years). Decimals work, so 18 months is 1.5.
- Set the Tax rate (%), Inflation rate (%), and Benchmark return (%).
If an input breaks a rule, an error note appears under it and the status badge reads "Review inputs."
The ROI Formulas Behind the Results
The tool first adds your initial investment and costs to get Total invested. Then it adds final value and income to get your exit value.
Exit Value - Total Invested÷Total Invested×100=ROI %
- Total invested = initial investment + additional costs.
- Exit value = final investment value + income received.
- Gross profit = exit value - total invested.
- After-tax profit = gross profit - tax rate × gross profit. Tax applies only when profit is positive.
- Annualized ROI = (ending amount ÷ total invested)^(1 ÷ years) - 1, times 100.
- Real annual return = (1 + annualized ROI) ÷ (1 + inflation) - 1, times 100.
- Benchmark profit = total invested × (1 + benchmark rate)^years - total invested.
In gross mode, the ending amount is the exit value. In after-tax mode, it is total invested plus after-tax profit.
Worked Example: A $20,000 Stock Portfolio
Say you bought $20,000 of stock and paid $150 in fees. Four years later the shares are worth $27,500, and you collected $1,200 in dividends.
You enter a 15% tax rate, a common US long-term capital gains rate. You also set 3% inflation and an 8% benchmark return.
| Result | Gross Return | After-Tax Return |
| Total invested | $20,150.00 | $20,150.00 |
| Net profit | $8,550.00 | $7,267.50 |
| ROI | 42.43% | 36.07% |
| Annualized ROI | 9.25% | 8.00% |
| Real annual return | 6.06% | 4.86% |
| Benchmark gap | $1,286.15 | $1,093.23 |
Your exit value is $27,500 + $1,200, or $28,700. Subtract $20,150 to get a gross profit of $8,550. Tax at 15% removes $1,282.50, leaving $7,267.50.
The benchmark grows $20,150 at 8% for four years, which earns $7,263.85. Before tax, you beat it by $1,286.15. After-tax mode taxes that benchmark profit at 15% too, leaving $6,174.27. Your lead becomes $1,093.23.
How to Read Each Result
ROI is total profit as a share of everything you put in. It ignores time, so a 42.43% gain reads the same over one year or ten.
Annualized ROI spreads the gain into a steady yearly rate. In the example, 9.25% a year for four years turns $20,150 into $28,700.
Real annual return removes inflation to show growth in buying power. The real rate of return calculator explores this idea in more depth.
Benchmark gap is your profit minus what the benchmark rate would have earned. In after-tax mode, both profits are taxed at your rate. A negative gap means a simple index-style return would have done better.
Break-even progress shows exit value as a share of total invested. An "Above break-even" badge means you got all your money back.
Simple ROI vs Annualized ROI
Simple ROI is useful for one deal, but it can mislead when holding periods differ. A 30% gain over two years beats a 42% gain over five years on a yearly basis.
Annualized ROI fixes this by asking what steady yearly rate produces the same result. It is the same idea as compound annual growth rate. Our CAGR calculator works it out from a start and end value alone.
Neither number accounts for when cash arrived during the holding period. For uneven cash flows over time, the NPV and IRR calculator gives a more precise answer.
Property investors often track yearly cash income instead. The cash-on-cash rental return tool fits that need better. To see how prices erode savings over time, try the future purchasing power calculator.
Limitations and Assumptions
- Income counts at the end: the tool adds all income to the exit value. It does not credit you for receiving it early.
- One flat tax rate: the same rate applies to gains and income. It ignores brackets, state tax, and holding period rules.
- No tax benefit on losses: a loss stays the same in both modes, so write-offs are not modeled.
- Break-even ignores tax: the break-even bar and badge always use the gross exit value, even in after-tax mode.
- No deflation: inflation must be between 0% and 100%, so negative inflation is rejected.
- No currency conversion: switching currency only changes symbols and formatting.
FAQs About the ROI Calculator
What Counts as a Good Return on Investment?
It depends on the risk and the time involved. Many investors compare their annualized ROI with a broad stock index or a safe savings rate. That is what the benchmark field is for.
How Is ROI Different From Annualized ROI?
ROI shows your total gain for the whole period. Annualized ROI converts that gain into a steady yearly rate, so investments held for different lengths compare fairly.
Should I Include Fees in My ROI?
Yes, enter them under Additional costs. The tool adds them to Total invested, which lowers your profit and your ROI.
What Happens If My Investment Lost Money?
ROI turns negative, and the badge reads "Below break-even" instead. For example, $10,100 invested that returns $9,100 over two years shows -9.90% ROI and -5.08% annualized.
Why Did My Lead Over the Benchmark Shrink in After-Tax Mode?
Tax takes the same share of your profit and the benchmark profit. So the dollar gap shrinks by that share too. At 15%, the example lead falls from $1,286.15 to $1,093.23.
Can I Use This for Business or Marketing Projects?
Yes, any spend with a measurable payoff works. Enter the cost as the investment and the payoff as the final value. Other profit and return tools sit in our finance and business section.
This calculator gives planning estimates only and is not financial advice. Reviewed for general accuracy by Prof. Dr. Khalil Mudassar, PhD.