ROI Calculator
Enter what you invested and what you got back to find your return on investment as a percentage, your net profit or loss, the annualized ROI for fair comparisons across time horizons, and your payback period. You can also work backwards: enter a target ROI and initial cost to see the required return. Switch the currency to match your investment, and results update as you type.
What is return on investment (ROI)?
Return on investment is the ratio of net profit to total cost, expressed as a percentage. An ROI of 30% means you earned 30 cents of profit for every dollar invested. The formula is ROI = (Final value - Total cost) / Total cost x 100. It is the most widely used measure of investment performance because it is simple, unit-free, and instantly comparable across very different types of investments, from real estate to stocks to marketing campaigns.
Why annualized ROI matters
A raw ROI number tells you how much you made but not how fast. A 40% gain over 10 years is far less impressive than 40% in two years. Annualized ROI (also called compound annual growth rate, or CAGR) converts any total return into an equivalent per-year rate using the formula: Annualized ROI = (Final value / Initial cost)^(1 / years) - 1. This makes investments of different durations directly comparable. For example, an investment that doubled in 7 years has an annualized ROI of about 10.4%, roughly matching a broad stock market index fund.
How to use this calculator
In forward mode, enter your initial investment, the final value you received back, any additional costs such as fees or commissions, and optionally the number of years you held the investment. The calculator returns the ROI percentage, net profit or loss, annualized ROI, payback period, and the total cost. In reverse mode, enter your initial cost and a target ROI to find out the final value you need to achieve that return. The currency selector adjusts the display; the math is identical in any currency.
ROI vs. other return metrics
ROI measures the total return relative to cost, but several related metrics answer slightly different questions. Net Present Value (NPV) adjusts future cash flows for the time value of money, making it better for long projects with uneven payouts. Internal Rate of Return (IRR) finds the discount rate at which NPV equals zero, useful when comparing projects of different sizes. Payback period tells you how many years it takes to recoup your initial investment from profit, ignoring what happens afterwards. Use ROI as a quick screening tool, then reach for NPV or IRR for larger capital decisions where timing and opportunity cost matter most.
ROI benchmarks by asset class
| Asset class | Avg. annual return (approx.) | Risk level |
|---|---|---|
| High-yield savings account | 4-5% | Very low |
| US Treasury bonds (10-year) | 4-5% | Low |
| Investment-grade corporate bonds | 5-7% | Low-moderate |
| Real estate (US residential) | 8-12% | Moderate |
| S&P 500 index fund | 10-11% | Moderate |
| Small-cap stocks | 11-13% | High |
| Emerging market equities | 7-12% | Very high |
Long-run average annual returns for common asset classes. Use these to judge whether your annualized ROI is competitive.
Frequently asked questions
What is a good ROI percentage?
It depends entirely on the asset class, duration, and risk level. For stock market investments, the S&P 500 has averaged roughly 10 to 11 percent per year historically, so anything above that threshold over the same period is generally considered strong. For real estate, 8 to 12 percent annually is a common benchmark. For a short-term business investment, many firms apply a hurdle rate of 15 to 25 percent. Always compare your ROI against a relevant benchmark and adjust for risk - a higher ROI from a high-risk venture may not be better than a lower ROI from a stable one.
What is the difference between ROI and annualized ROI?
ROI is the total percentage gain or loss over the entire holding period, regardless of how long that was. Annualized ROI (CAGR) converts that total return into an equivalent yearly rate assuming compound growth. For example, a total ROI of 60% over 5 years equals an annualized ROI of about 9.9% per year. Without annualizing, you cannot fairly compare a 3-year investment against a 10-year one.
How do I calculate ROI with additional costs?
Add all costs together before calculating. If you bought shares for $10,000 and paid $200 in broker commissions and fees, your total cost is $10,200. If those shares later sold for $13,500, your net profit is $13,500 - $10,200 = $3,300, and your ROI is $3,300 / $10,200 = 32.4%, not 35% based on the purchase price alone. This calculator handles additional costs automatically with the optional extra-costs field.
Can ROI be negative?
Yes. A negative ROI means you lost money: the final value was less than the total cost. For example, if you invested $5,000 and got back only $4,000, your ROI is ($4,000 - $5,000) / $5,000 = -20%. Negative ROI is common in early-stage investments, failed business projects, or investments sold during a market downturn.
What is the payback period?
The payback period is how many years it takes to recover the original investment from profits alone, assuming the same annual profit rate continues. If you invest $10,000 and earn $2,000 net profit per year, the payback period is 5 years. It is a quick solvency check, but it ignores what happens after you break even. A project with a longer payback period can still generate a much higher total ROI if profits continue to accumulate past the break-even point.
How is this ROI calculator different from a stock return calculator?
This calculator is a general-purpose tool that works for any investment: a business, property, marketing budget, equipment purchase, or financial asset. It does not account for dividends received along the way, dollar-cost averaging into multiple purchases, or tax effects. For detailed stock analysis with dividends reinvested, use a dedicated stock total-return calculator. For simple buy-and-hold investments where you have a single cost and a final value, this tool gives the correct answer.