Finance & Work

ROI calculator

ROI calculator tools like this one help you calculate return on investment as a percentage and as an annualized return, plus a side-by-side comparison of two investments.

ROI calculator chart showing investment growth and percentage return
What this ROI calculator solves: profit, percentage ROI, and annualized return.
This calculator provides a mathematical calculation based on the amounts you enter — not investment advice. Note that transaction costs and taxes are not factored in.

Calculate ROI

Enter your details

Compare two investments

Useful for seeing which of two options delivered the better return. Add a period to both to compare them per year (CAGR).
Investment A
Investment B
Enter both investments

How to use this ROI calculator

  1. Enter your initial investment and current or final value. The period field is optional — add it if you want to calculate CAGR (annualized return) alongside the total ROI.
  2. Press Calculate to see your profit or loss, ROI as a percentage, and, if you entered a period, the CAGR.
  3. Comparing two options? Use the second card of the ROI calculator to enter both investments side by side. Without periods it compares total ROI; with a period for both it compares the annualized return, which is the fairer test when the holding periods differ.

How is ROI calculated?

ROI (Return on Investment) expresses how much profit or loss you’ve made relative to your initial investment, expressed as a percentage. This matches the standard definition used by the SEC’s own investor education glossary.

ROI (%) = ((final value − investment) ÷ investment) × 100

What is annualized return (CAGR)?

A simple ROI doesn’t say anything about the period over which that return was achieved. Annualized return (CAGR: Compound Annual Growth Rate) converts the total ROI into an average yearly percentage, making it possible to fairly compare investments with different holding periods. This is the same standard CAGR formula used across finance and business.

CAGR (%) = ((final value ÷ investment)1/years − 1) × 100

For example, a 50% ROI over 5 years produces a very different annualized return than a 50% ROI in 1 year — even though the total ROI is the same in both cases: 50% CAGR for the 1-year case, but only about 8.4% CAGR for the 5-year case.

Worked examples

All figures below use the exact math this ROI calculator runs in your browser.

$10,000 → $13,500 over 3 years (the default values)

MetricResult
Profit$3,500
ROI35.00%
Annualized return (CAGR)10.52%

Compare: Investment A ($5,000 → $6,200) vs. Investment B ($8,000 → $9,500)

InvestmentROI
A24.00%
B18.75%

Investment A has the higher return, even though Investment B made more profit in dollar terms ($1,500 vs. $1,200) — a good illustration of why ROI as a percentage, not just raw profit, is what makes investments comparable.

Common mistakes when comparing ROI with an ROI calculator

  • Comparing dollar profit instead of percentage ROI. A bigger dollar gain doesn’t mean a better return if it came from a much larger initial investment — see the worked comparison above.
  • Ignoring the holding period. A 50% ROI means something very different achieved in 1 year versus 5 years; always check the annualized return before comparing investments of different lengths.
  • Forgetting costs and taxes. This ROI calculator, like most simple ROI tools, ignores transaction fees, management costs, and taxes, all of which reduce your real-world return.
  • Not accounting for added contributions. This tool assumes one investment and one final value; for recurring monthly contributions, a dedicated investment growth calculator will give a more accurate picture than an ROI calculator.

Where ROI fits with other business calculators

ROI measures the return on money you put in. If your question is about pricing a product, the profit margin calculator is the better fit, and for long-term saving towards a goal, the retirement calculator models monthly contributions with compound growth. Use the ROI calculator when you have one amount in and one amount out.

Frequently asked questions

Why does my ROI differ from the annualized return?

ROI shows the total return over the entire period, while the annualized return converts that into an average yearly percentage. For a holding period longer than one year, the annualized return is closer to zero than the total ROI: lower when you made a gain, less negative when you made a loss.

Does this calculator account for additional deposits or withdrawals over time?

No, this calculator assumes a single investment at the start and one final value. For recurring contributions (such as monthly saving or investing), use the investment calculator.

Is a higher ROI always better?

Not necessarily. A higher ROI often comes with higher risk, and a short period with a high return isn’t always comparable to a longer, more stable period. So also consider the annualized return and the context of the investment.

Can I use this ROI calculator for something other than stocks?

Yes — the math works for any investment with a single starting amount and a single ending value: real estate, a business sale, cryptocurrency, or even a large purchase you later resold. Just make sure the initial and final values are measured the same way (both including or both excluding costs like fees).

This ROI calculator is intended for illustration purposes only and does not constitute investment advice. Back to CalcSwiftly home.

Reviewed by: CalcSwiftly · Last reviewed: