investing calculators

ROI Calculator

Calculate the percentage gain or loss on any investment by comparing your initial cost to its final value. Ideal for evaluating stocks, real estate, business projects, or any capital outlay.

About this calculator

Return on Investment (ROI) expresses how much profit you made relative to what you originally spent, stated as a percentage. The formula is: ROI = ((finalValue − initialValue) / initialValue) × 100. A positive ROI means you gained money; a negative ROI means you lost money. ROI is intentionally unit-agnostic — it works equally well for a $500 stock trade or a $5 million real estate deal because it normalises the outcome to a percentage. Note that this calculator does not account for the time taken to achieve the return; a 50% ROI over 10 years is far less impressive than 50% in one year. For time-adjusted comparisons, consider annualised ROI or the related metric CAGR.

How to use

Imagine you bought shares worth $2,500 and sold them for $3,800. Enter Initial Investment = $2,500 and Final Value = $3,800. The formula calculates: ROI = ((3,800 − 2,500) / 2,500) × 100 = (1,300 / 2,500) × 100 = 52%. Your investment returned 52%, meaning you earned $1.52 for every $1.00 invested. If instead you sold for $2,000, the ROI would be −20%, indicating a loss.

Frequently asked questions

What is a good ROI percentage for a stock market investment?

A commonly cited benchmark is the S&P 500's long-run average of roughly 10% per year (or about 7% after inflation). Any single investment beating that consistently over many years is considered exceptional. Short-term trades may target higher percentage returns, but they also carry proportionally higher risk. Context matters enormously: a 15% ROI on a low-risk bond portfolio is outstanding, while 15% on a speculative startup investment might be considered disappointing given the risk taken.

How do I calculate ROI when there are multiple cash flows or dividends?

The simple ROI formula works best for a single buy-and-sell transaction. When dividends, rental income, or ongoing costs are involved, you need to add all cash inflows to the final value and subtract all additional costs from the initial investment before applying the formula. For complex scenarios with irregular cash flows spread over time, Net Present Value (NPV) or Internal Rate of Return (IRR) are more appropriate metrics. Many professional analysts use IRR precisely because it accounts for both the size and timing of every cash flow.

Why doesn't ROI account for how long the investment was held?

ROI is a simple ratio designed for quick, comparable snapshots of profitability — it deliberately ignores time to keep the metric universally applicable. The trade-off is that a 30% ROI over one year and a 30% ROI over a decade look identical in this formula, even though they are vastly different outcomes. To incorporate time, you can convert ROI to an annualised figure using: Annualised ROI = (1 + ROI/100)^(1/years) − 1. This adjusted figure allows fair comparison between investments held for different durations.