Return on Investment Calculator
Solve ROI = ((Gain − Cost) / Cost) × 100 for any of its four variables — return on investment, gain (final value), cost (initial investment), or net profit. Includes a live investment waterfall diagram, a cost-vs-gain comparison chart, annualized ROI (CAGR) when you supply a holding period, and a full step-by-step solution.
It measures efficiency, not just profit
ROI is a ratio: profit divided by capital invested. This makes it directly comparable across investments of different sizes. Making $10,000 on a $100,000 investment (10 % ROI) is very different from making $10,000 on a $10,000 investment (100 % ROI) — the second is a much better use of capital. ROI normalises profit by cost so you can rank opportunities by their efficiency. This is why ROI is the universal yardstick for comparing projects, campaigns, and asset classes.
Simple ROI ignores time
The basic ROI formula treats all holding periods as equivalent — a 50 % ROI is "50 %" whether it took 1 year or 20 years. That is a serious limitation. A 50 % return over 20 years is an annualized 2.05 % (barely beating inflation); the same 50 % over 1 year is 50 % annualized (an excellent return). Always compute annualized ROI (CAGR) when comparing investments with different durations. The Advanced panel of this calculator does this automatically whenever you supply a holding period.
It ignores risk, taxes, and cash flow timing
ROI is a single number and it cannot capture everything that matters about an investment. Two investments with identical ROI can have completely different risk profiles — one safe, one speculative. ROI also ignores taxes (a 30 % ROI becomes 21 % after a 30 % tax rate) and the timing of intermediate cash flows (a project that returns cash early is worth more than one that returns it late, because early cash can be reinvested). For a fuller picture, combine ROI with NPV, IRR, payback period, and a risk assessment.
It works for any asset class
ROI is asset-agnostic — it works equally well for stocks, real estate, small businesses, marketing campaigns, education, equipment purchases, and even personal decisions like whether to buy or rent. Any situation where you spend money (cost) and get something back (gain) can be evaluated with ROI. This universality is why ROI is the most widely used financial metric in the world — every CFO, marketing manager, and individual investor uses it as their first-pass filter for whether a given use of capital is worth pursuing.
How to Use This Calculator
The ROI formula links four quantities: the return on investment, the final gain, the initial cost, and the net profit. Give the tool three and it will find the fourth.
1. Load a scenario preset
Click any preset — S&P 500, real estate flip, business startup, marketing campaign, stock trade, bond, crypto loss, home purchase — to load representative cost, gain and holding period values in one click.
2. Pick what to solve for
Choose ROI to compute the percentage return from cost and gain; Gain to project the final value from cost and a target ROI; Cost to reverse-engineer the required initial investment; or Profit to find the dollar profit at a given ROI.
3. Enter the investment details
Cost is the initial capital deployed (including fees and additions). Gain is the total amount received back. Both must be positive; gain can be less than cost to represent a loss. Set the ROI slider to explore target returns.
4. Add a holding period for annualization
Enter the number of years the money was invested to compute the annualized ROI (CAGR). This is essential for comparing investments of different durations — the same total ROI means very different annual returns over 1 year vs 10 years.
5. Read the waterfall diagram
The result card shows the primary value plus a colour-coded verdict. The waterfall diagram below draws cost, profit, and gain as connected bars so you can see exactly how the initial investment turned into the final return, and how much of it was profit.
6. Switch to Advanced for depth
Advanced mode adds an annualized ROI chart across holding periods, a +1 % sensitivity check on each input, and a companion metrics panel with net profit, profit margin, annualized ROI, payback period, and required gain for a target ROI.
What This Tool Offers
Built around the classic relation ROI = ((Gain − Cost) / Cost) × 100, the universal measure of investment efficiency.
Four-way solving
Solve for ROI, gain, cost, or net profit. The calculator rearranges the formula automatically and handles the domain constraints (cost > 0, ROI > −100 %).
Investment waterfall diagram
A connected-bar waterfall showing cost, net profit, and gain as three linked stages — visually demonstrating that gain = cost + profit.
Cost vs gain comparison
A side-by-side bar chart of cost and gain, with the difference shaded to show profit or loss, plus the ROI percentage called out.
Annualization (CAGR)
When you supply a holding period, the tool computes the annualized ROI — the compound annual return that would produce the same total ROI over that time. Essential for comparing investments of different durations.
Scenario preset library
Nine ready-made scenarios spanning the investment spectrum from safe bonds to speculative crypto, each loading typical cost, gain, and holding period values.
Reference tables
An ROI vs holding-period lookup grid, typical ROI ranges by asset class, a full variable reference, and a comprehensive FAQ.
Reference Tables & Conversions
An annualization lookup grid, typical ROI ranges by asset class, and the variable reference.
Annualized ROI Lookup — Total ROI vs Holding Period
Annualized ROI (CAGR, in % per year) for various total ROIs and holding periods. CAGR = (1 + ROI/100)^(1/n) − 1.
| Total ROI | 1 yr | 3 yr | 5 yr | 10 yr | 20 yr | 30 yr |
|---|
Typical ROI Ranges by Asset Class
Historical long-run averages and typical holding periods. Individual results vary widely; past returns do not guarantee future returns.
| Asset class | Typical annual ROI | Typical holding | Risk | Notes |
|---|
Variable Reference
| Symbol | Meaning | Formula | Notes |
|---|---|---|---|
| ROI | Return on investment | ((Gain − Cost)/Cost) × 100 | Percentage; can be negative |
| Cost | Initial investment (cost basis) | Gain / (1 + ROI/100) | Must be > 0 |
| Gain | Final value received | Cost × (1 + ROI/100) | Total cash returned, not profit |
| Profit | Net profit | Gain − Cost = Cost × ROI/100 | Dollar gain or loss |
| CAGR | Annualized ROI | (1+ROI/100)^(1/n) − 1 | Requires holding period n |
| PM | Profit margin on gain | Profit / Gain × 100 | Fraction of return that is profit |
| PP | Simple payback period | Cost / annual cash flow | Years to recover cost |
What Does ROI = ((Gain − Cost) / Cost) × 100 Measure?
Return on investment measures the profitability of an investment as a percentage of the amount invested. It answers the fundamental question: "For every dollar I put in, how many dollars did I get back, and what percentage is that?" A 50 % ROI means you made 50 cents of profit for every dollar invested. A −20 % ROI means you lost 20 cents for every dollar. Because ROI is a ratio, it lets you compare investments of completely different sizes on a level playing field: a $1,000 investment that returns $2,000 (100 % ROI) is a better use of capital than a $1,000,000 investment that returns $1,100,000 (10 % ROI).
The ROI Formula
The defining relationship is:
where Gain is the final value received and Cost is the initial amount invested. The difference (Gain − Cost) is the net profit (or net loss if negative). Rearranged to solve for the other three quantities:
Cost = Gain / ( 1 + ROI / 100 )
Profit = Cost × ROI / 100 = Gain − Cost
The annualized ROI (CAGR) is:
where n is the holding period in years. And the profit margin on the return is:
ROI Variables
| Symbol | Meaning | Notes |
|---|---|---|
| ROI | Return on investment | Percentage; can be negative, and can exceed 100 % |
| Cost | Initial investment | Also called the cost basis; includes fees and additions |
| Gain | Final value received | Total cash returned, not the profit |
| Profit | Net profit | Gain − Cost; what ends up in your pocket |
| n | Holding period (years) | Used to annualize the return |
How Each Input Affects ROI
ROI is a simple ratio and each input has a distinct effect. Cost is the denominator: doubling cost while holding gain constant halves the ROI. Gain is the numerator's positive component: doubling gain while holding cost constant doubles the net profit and roughly doubles the ROI (not exactly, because the formula is ((G−C)/C), so doubling G gives ((2G−C)/C) which is (2·ROI + 100) — a bigger jump than 2×).
Small changes in cost have a larger relative effect on ROI than small changes in gain, because cost appears in both the numerator (subtracted) and the denominator. A 10 % reduction in cost, holding gain constant, increases ROI by more than 10 % — typically 11–12 % depending on the base case. This is why cost control is such a powerful lever in any investment: shaving costs off an investment improves its ROI disproportionately.
The holding period does not affect the simple ROI at all — that is the metric's biggest weakness. But it has a large effect on the annualized ROI, which is what you actually want for comparison. A 100 % total return over 1 year is a spectacular 100 % annualized return; over 10 years it is a modest 7.18 % per year; over 30 years it is a barely-beating-inflation 2.34 % per year. Always annualize when comparing investments with different durations.
ROI Calculation Examples
ROI = (15,000 − 10,000) / 10,000 × 100 = 50.00 %
Net profit = $5,000
ROI = (285,000 − 200,000) / 200,000 × 100 = 42.50 %
Net profit = $85,000
CAGR = (1 + 1)^(1/10) − 1 = 2^(0.1) − 1 = 7.177 %/yr
Which is dramatically lower than the simple 100 % figure suggests.
Cost = 15,000 / (1 + 0.50) = $10,000
So to achieve 50 % on a $15,000 return, invest no more than $10,000.
Frequently Asked Questions
Profit is an absolute amount in dollars; ROI is a percentage relative to the investment. If you invest $10,000 and get back $15,000, your profit is $5,000 (a dollar figure) and your ROI is 50 % (the profit divided by the cost, expressed as a percentage). Both are important, but for different reasons. Profit tells you how much money you made in absolute terms; ROI tells you how efficiently you made it. A $5,000 profit sounds the same regardless of context, but it is a 50 % ROI on a $10,000 investment and only a 0.5 % ROI on a $1,000,000 investment. Always look at both numbers together — profit for scale, ROI for efficiency.
Because simple ROI ignores time completely. A 100 % total ROI sounds impressive, but if it took 20 years to achieve, the annualized return is only 3.53 % per year — worse than a savings account. The same 100 % over 1 year is 100 % annualized, which is exceptional. Without annualization you cannot compare a 3-year investment to a 10-year investment, or a real estate flip to a long-term stock holding. The annualized ROI (also called CAGR — compound annual growth rate) converts any total return into an equivalent per-year rate, giving you a single comparable number. This calculator computes it automatically whenever you supply a holding period, and the Advanced chart shows how the annualized ROI varies across holding periods for your current total return.
It depends on what you are measuring. The pure ROI formula uses Cost and Gain as they are — whatever you invested and whatever you received. If you want a realistic picture of your investment performance, you should include all costs in Cost (broker commissions, transaction fees, property taxes, maintenance, management fees) and reduce Gain by any exit costs or taxes owed. This gives you "net ROI" or "after-tax ROI", which is the real measure of what you made. Inflation is a separate adjustment: to get "real ROI", subtract the inflation rate from your nominal annualized ROI. A nominal 7 % annual return with 3 % inflation is a 4 % real return. Each adjustment narrows the gap between the headline number and what you actually experience.
Absolutely. ROI of 100 % means you doubled your money (gain = 2 × cost, profit = cost). ROI of 200 % means you tripled it (gain = 3 × cost). ROI of 900 % means you turned $1 into $10. There is no upper limit — an early-stage startup investment that returns 100× has an ROI of 9,900 %. Early Bitcoin investors from 2010 have seen ROI in the hundreds of thousands of percent. High ROIs are mathematically possible but statistically rare, and they usually come with very high risk of total loss. This is why professional investors focus on risk-adjusted returns rather than chasing the highest raw ROI.
There is no universal answer because "good" depends entirely on the risk of the investment and the opportunity cost of capital. Historically, the S&P 500 has returned about 10 % per year (before inflation and taxes), so a 10 % annualized return is often used as a benchmark for passive equity investing. Real estate often targets 8–12 % annualized. Bonds yield 2–5 %. A venture capital investment might target 25–40 % annualized to compensate for the high failure rate. The relevant question is not "is this a high number?" but "is this a good return relative to the risk I'm taking and the alternatives I have?" A 5 % ROI on a risk-free bond is excellent; the same 5 % on a risky startup is terrible. The Advanced panel of this calculator compares your ROI to typical benchmarks.
ROI is simple, which is both its strength and its weakness. Its main limitations: (1) It ignores time — you cannot compare investments of different durations without annualizing. (2) It ignores risk — a 20 % ROI on a speculative bet is not the same as a 20 % ROI on a government bond. (3) It ignores cash flow timing — a project that returns money early is worth more than one that returns it late, but ROI treats them the same. (4) It ignores the size of the investment — 20 % ROI on $100 is very different from 20 % ROI on $1,000,000 in terms of absolute wealth created. (5) It can be manipulated by changing the cost basis — excluding fees or "creative accounting" inflates ROI. For all these reasons, ROI should be used alongside NPV, IRR, payback period, and a proper risk assessment — never as the sole decision criterion.
Convert both to annualized ROI (CAGR) and then compare. Investment A returns 50 % over 2 years: CAGR = (1.50)^(1/2) − 1 = 22.5 %/yr. Investment B returns 100 % over 5 years: CAGR = (2.00)^(1/5) − 1 = 14.9 %/yr. Despite the higher total ROI for B (100 % vs 50 %), investment A delivered the better annual return (22.5 % vs 14.9 %). Once annualized, both are directly comparable, and you can then layer in risk, liquidity, and other qualitative factors. This is exactly what the annualization feature of this calculator does — supply the holding period and it computes the CAGR for you.
Variables
| Symbol | Quantity | Unit |
|---|---|---|
| ROI | Return on investment | % |
| Gain | Final value or return from investment | currency |
| Cost | Original amount invested | currency |
What it means
Return on Investment (ROI) is a simple performance measure that evaluates the efficiency of an investment. It is calculated by dividing the net profit (gain minus cost) by the cost of the investment, expressed as a percentage. ROI is widely used in business and personal finance to compare the profitability of different investments, marketing campaigns, and capital projects. It does not account for the time value of money, so it is best used for short‑term investments or as a first‑pass metric. Understanding ROI is essential for decision‑making and for justifying resource allocation.
Worked example
Return on Investment – Two Detailed Examples
Real‑World| Parameter | Value |
|---|---|
| Cost | 1000 |
| Gain | 1200 |
| Parameter | Value |
|---|---|
| Cost | 5000 |
| Gain | 4500 |
Common mistakes
- Gain: The final value of the investment minus the initial cost – can be negative (loss).
- Cost: The total amount invested (initial outlay).
- ROI: A percentage – multiply by 100.
- Time: ROI does not account for the time period – for comparisons, use annualised ROI.
- Cash flows: Include all costs and returns – not just the final value.
Applications
Return on Investment (ROI) measures the efficiency of an investment by comparing the gain (or loss) to its cost. Expressed as a percentage, ROI is one of the most widely used performance metrics in business and finance. It helps managers evaluate past investments, to prioritise future projects, and to communicate results to stakeholders. ROI is used for marketing campaigns, equipment purchases, R&D projects, and real estate. By applying ROI, organisations can allocate capital to the highest‑yielding opportunities and justify expenditures. However, ROI does not account for time or risk, so it is often supplemented with other measures. Nevertheless, its simplicity and universality make it indispensable for decision‑making.
- Project performance evaluation and post‑audit reviews
- Capital allocation and budget prioritisation
- Marketing campaign effectiveness measurement
- Real estate investment profitability analysis
- Education – teaching basic financial analysis
Related calculators · Corporate Finance
Recently updated formulas
Suggest an improvement
Found a mistake? Have a better example? Let us know.
You may send up to 3 suggestions per 24 hours.