Return on Investment Formula

You bought 100 shares at $50 each and later sold the entire position for $6,500. Before celebrating, you need an exact answer to one question: what was the actual percentage gain? The return on investment formula gives that answer by comparing net profit to the total amount invested. It is the most common profitability ratio used in finance, marketing, and real estate because it compresses any outcome into a single comparable percentage.

Investment Details
Total initial outlay including fees and commissions
Amount received after sale, liquidation, or campaign completion
Leave empty to skip annualized ROI
Result

The calculator above applies the standard return on investment formula to any figures you provide. Enter your total initial outlay, including fees, and the final value returned by the investment. It will subtract the two figures to find net profit, divide by the original cost, and display the ROI as a percentage instantly.

How the Return on Investment Formula Works

ROI measures how efficiently invested capital generates profit. The standard equation is:

ROI = (Gain from Investment − Cost of Investment) / Cost of Investment × 100

You may also see it written as net profit divided by cost of investment, multiplied by 100. Both versions produce the same result.

Consistency matters. If your cost includes brokerage fees, your gain must include dividends or interest. Mixing pre-tax and after-tax figures without adjustment will distort the final percentage.

Return on Investment Formula Example

Follow these steps with concrete numbers. Assume you purchased equipment for $4,000, used it to generate revenue, and later liquidated it for $5,200.

  1. Identify the total cost of investment: $4,000.
  2. Identify the final returned value: $5,200.
  3. Calculate net profit: $5,200 − $4,000 = $1,200.
  4. Divide net profit by cost: $1,200 / $4,000 = 0.30.
  5. Convert to a percentage: 0.30 × 100 = 30%.

The result means you earned 30 cents for every dollar invested.

What Is Annualized ROI?

The standard formula ignores time. A 30% return over two years is very different from 30% over ten years. Annualized ROI adjusts for the holding period:

Annualized ROI = [(1 + ROI)^(1 / n) − 1] × 100

In the formula, n represents the number of years. Using the previous 30% example:

  • Over 2 years: [(1.30)^(0.5) − 1] × 100 ≈ 14.0% per year
  • Over 10 years: [(1.30)^(0.1) − 1] × 100 ≈ 2.7% per year

Investors rely on this variation to compare projects with different durations on equal footing.

Why ROI Can Mislead Investors

Despite its popularity, the formula has limits. Relying on it blindly can produce poor decisions.

  • Time value of money. Without annualizing, a 50% ROI over five years looks identical to 50% over one year.
  • Risk is invisible. A speculative stock and a government bond can show the same ROI, but carry vastly different probabilities of loss.
  • Cost definitions vary. One manager might include training and maintenance; another might exclude them. That flexibility allows manipulation.
  • Absolute scale is hidden. A 200% ROI on a $200 trade yields $400 in profit, while a 15% ROI on a $2,000,000 project yields $300,000.

When to Use ROI vs Other Metrics

ROI works best for straightforward, single-period comparisons. For more complex analyses, other metrics fill the gaps.

MetricBest Used For
ROIQuick screening of simple investments, marketing campaigns, and asset flips
ROAMeasuring how efficiently a company uses all of its assets, not just one investment
IRRComparing projects with complicated multi-year cash flows
NPVDetermining absolute dollar value added after adjusting for the cost of capital

If your decision involves timing, reinvestment, or risk-weighted returns, pair ROI with IRR or NPV before committing capital.

This guide is for informational purposes only and does not constitute professional investment advice.

Frequently Asked Questions

Can ROI be used to evaluate marketing campaigns?
Absolutely. Marketers treat ad spend as the cost of investment and measure the resulting sales profit as the gain. By applying the standard return on investment formula, a campaign that costs $5,000 and generates $7,500 in profit yields a 50% ROI, making cross-channel budget comparisons quick and objective.
Why should investors annualize their ROI calculations?
Standard ROI measures total return over the entire holding period, whether that spans six months or ten years. Annualized ROI converts that total into an average yearly rate, allowing a fair comparison between a two-year startup investment and a decade-long bond on equal footing.
Can ROI be negative?
Yes. A negative ROI occurs when the final value of an investment is lower than its total initial cost, including all fees. This outcome means the investor has lost part of the original capital, and the return on investment formula yields a percentage below zero.
What costs should be included in an ROI calculation?
Include every cash outlay required to acquire and hold the asset, such as purchase price, brokerage commissions, installation fees, and renovation expenses. Omitting these ancillary costs inflates the percentage and produces an unrealistic view of the investment’s actual profitability.
How does ROI differ from IRR?
ROI shows total percentage growth over a given period, while the Internal Rate of Return identifies the annualized discount rate that makes net present value equal zero. IRR is superior for analyzing complex multi-year cash flows, whereas ROI offers a faster snapshot for simple lump-sum investments.
Is a 10% ROI considered good?
It depends on the asset class, risk profile, and prevailing market conditions. For broad stock market indices, 10% historically approximates the long-term average, making it an attractive target for passive equity investors, while real estate or venture capital benchmarks can differ substantially.
  1. Rate of Return Calculator (2026)
  2. ROI Calculator
  3. Rental Yield Calculator | Property Investment Returns
  4. ROI Formula: How to Calculate Return on Investment (2026)
  5. Social Security Calculator
  6. Compound Interest: Formula, Examples & Calculator 2026