ROI Calculator
Calculate return on investment percentage, CAGR, absolute return, and holding period.
Absolute Return
--
ROI %
--
CAGR
--
Holding Days
--
Return on Investment answers a blunt question: did this use of money gain or lose, and by how much? This calculator takes what you put in, what it became, and optionally the dates you held it, then returns the absolute gain, the ROI percentage, the holding period in days, and the compound annual growth rate. It suits stocks and funds, real estate, business spending, and any project where you want to judge whether the capital was worth deploying.
How to Use
- Initial investment: The amount you committed. It must be greater than zero.
- Final value: What the position is worth now, or what you received when you closed it. It may be zero.
- Start and end dates: Optional. Add both to unlock holding days and CAGR.
- Read the results: Absolute return, ROI percentage, CAGR, and holding days, with a profit, loss, or break-even indicator.
The four inputs recalculate on every keystroke, so you can test a range of exit values without pressing a button.
The ROI and CAGR Formulas
The base calculation is a single ratio:
ROI = (Final − Initial) ÷ Initial × 100
The numerator is the absolute return in currency; dividing by the initial amount normalizes it so you can compare a $500 profit on a $1,000 stake against a $5,000 profit on a $50,000 stake. The first is 50% ROI, the second is 10%.
ROI ignores time, which is why the calculator also computes CAGR when dates are present. Holding years are the day count divided by 365:
years = holding days ÷ 365
CAGR = (Final ÷ Initial)^(1 ÷ years) − 1
CAGR is the constant annual rate that would produce the observed end value from the observed start value. It is not the average of the yearly returns, but it is the cleanest single number for comparing investments held for different lengths of time.
Worked Examples
A three-year gain. $10,000 grows to $13,000 over exactly three years (1,095 days). Absolute return is $3,000, ROI is 30%, and CAGR is 9.14%. Note that dividing 30% by three gives 10%, a close but different figure; CAGR is lower because it compounds, so later growth applies to a larger base. The simple annualized divide is only an approximation.
A two-year loss. $10,000 falls to $8,000 over 730 days. Absolute return is −$2,000, ROI is −20%, and CAGR is −10.56%. The red loss indicator makes the result unambiguous, and the negative CAGR shows the decline was spread across the period.
A short, sharp gain. $10,000 becomes $15,000 between January 1, 2023 and July 1, 2024, a span of 547 days or 1.4986 years. ROI is 50%, but CAGR is 31.07% — far higher than the 33.4% simple annualization because the gain happened in roughly a year and a half rather than three. This is why short, successful trades always look spectacular once annualized, and why you should not extrapolate that rate forward.
Annualize Before You Compare
Never compare ROI percentages across different holding periods. A 30% return earned in one year is an excellent year; the same 30% earned over fifteen years is far below what a broad index fund would have delivered. Convert every candidate to CAGR first, then line them up. Two useful reference points: doubling your money in 10 years is a CAGR of 7.18%, and doubling in 7 years is about 10.4%. A CAGR above roughly 7% is roughly in line with the long-run inflation-adjusted return of a diversified stock index, depending on the period you measure; a CAGR far above that signals either a genuinely exceptional result or, more often, a short window, leverage, or risk that the headline number does not reveal.
What ROI Misses
- Risk: A 40% return from a volatile single stock is not equivalent to 40% from a diversified fund.
- Cash flow timing: ROI assumes a single outlay and a single exit. Contributions or withdrawals along the way distort it; a compound interest calculator models those better.
- Costs: Dividends, interest, fees, commissions, and taxes are invisible unless you fold them into the final value.
- Opportunity cost: A 5% return means little without comparing it to what a savings account or index fund would have returned over the same period.
- Liquidity and effort: Some investments tie up capital or demand ongoing work that ROI does not price.
Accuracy and Limits
Results are rounded to two decimals. Holding days are counted as whole calendar days between the date portions of the inputs, ignoring the time of day, so intraday gains are not reflected. The day-to-year conversion uses a flat 365-day year rather than leap-year-adjusted fractions, which is standard for quick comparisons. The calculator requires a positive initial investment and treats a zero final value as a total loss of 100%. It reports gross figures only: no taxes, no fees, and no inflation adjustment. Treat it as a fast comparison tool, not a tax or accounting statement.
Related Tools
Frequently Asked Questions
How is the ROI percentage calculated?
ROI is the profit or loss divided by what you originally invested, expressed as a percentage: (final value − initial investment) ÷ initial investment × 100. Put $10,000 in and end with $13,000, and the absolute return is $3,000 with an ROI of 30%. The calculator also shows whether the position is a profit, a loss, or break-even.
How does the calculator turn my dates into a CAGR?
It counts the whole calendar days between the start and end dates, divides by 365 to get a holding period in years, then applies (final ÷ initial)^(1 ÷ years) − 1. That produces the constant annual rate that would have grown the initial amount into the final amount over the same span.
Why does CAGR show 'not available'?
Three situations: you left one or both dates blank, the end date is the same as or earlier than the start date, or the final value is negative, since a fractional power of a negative number has no real result. Holding days behaves the same way when no valid period exists.
Does ROI include dividends, interest, fees, or taxes?
No. It uses only the two numbers you supply. For a truer figure, add any dividends or interest to the final value, then subtract commissions, management fees, and estimated taxes before entering it. This calculator reports the gross result, not the after-tax result.
What does a negative ROI mean?
It means the final value is below what you invested, so the absolute return is negative and the indicator turns red. A negative CAGR confirms the loss was spread over the holding period rather than concentrated at the end. Break-even, an absolute return of exactly zero, is shown separately.
Can I use this for a marketing campaign or a business purchase instead of an investment?
Yes, the same math applies to any decision with money in and money out. Use total spend as the initial investment and the revenue or value generated as the final value. A $5,000 ad campaign that produces $8,000 in tracked sales is a 60% ROI, identical in form to a stock trade.
Reviewed by the HandyTools Hub team · Last updated