ROI Calculator

Finance

Calculate return on investment (ROI) and annualized ROI for any investment

An ROI calculator answers the single most important question in investing: did this pay off, and by how much? Return on investment (ROI) measures the profit or loss from an investment as a percentage of what you put in, making it possible to compare a stock trade, a house flip, and a marketing campaign on equal footing — even though the dollar amounts and time frames are completely different.

Our ROI calculator does the math instantly. Enter your initial investment and the final value you received (or expect to receive), and the tool calculates your ROI percentage in seconds. If you also enter the holding period, it computes your annualized ROI — the rate that accounts for how long your money was tied up, which is essential for comparing a 6-month flip against a 5-year stock holding.

Whether you're evaluating a stock trade, a rental property flip, a small business investment, or a marketing campaign's payoff, this calculator gives you the exact numbers you need to decide whether to repeat, adjust, or walk away from an investment.

Why ROI Calculator Matters

Investors use ROI to compare opportunities that have nothing in common except a dollar amount in and a dollar amount out. A stock that returned 12% in six months and a bond that returned 12% over three years both show the same raw ROI — but very different annualized returns. Calculating both figures prevents you from mistaking a slow, mediocre investment for a great one simply because the headline percentage looks the same.

Real estate investors rely on ROI to evaluate flips and rental properties. A house flip's ROI must account for the purchase price, renovation costs, closing costs, and holding costs (property taxes, insurance, loan interest) before comparing the profit to the total cash invested. Skipping any of these costs inflates the ROI and can make a marginal deal look profitable on paper.

Businesses and marketers use ROI constantly to justify spend: a marketing campaign's ROI compares ad spend against attributable revenue, while a business investment's ROI might compare capital spent on new equipment against the additional profit it generates. In every case, ROI turns a raw dollar gain into a comparable percentage — the only way to rank competing uses of limited capital.

The ROI Calculator Formula, Explained

ROI (%) = ((Final Value − Initial Investment) / Initial Investment) × 100. Annualized ROI (%) = ((Final Value / Initial Investment)^(1/n) − 1) × 100

Where: Final Value = what the investment is worth now, or what it sold for (include all proceeds, net of selling costs if you want a true net figure). Initial Investment = the total amount originally put in, including purchase price plus any additional costs like fees, renovations, or closing costs that were necessary to acquire and hold the asset. n = the holding period in years (use a decimal for partial years, e.g., 18 months = 1.5).

The basic ROI formula gives you a single lifetime percentage, regardless of how long you held the investment. The annualized ROI formula converts that lifetime return into an equivalent yearly rate by taking the nth root of the total growth multiple, which is the only way to fairly compare investments held for different lengths of time.

How to Use the ROI Calculator: Step by Step

  1. Enter your initial investment

    Input the total amount you put in — purchase price plus any additional costs required to acquire the asset, such as fees, commissions, or renovation costs for a property.

  2. Enter the final value

    Input what the investment is worth now, or the amount you received when you sold or closed it out. Use net proceeds if you want to account for selling costs.

  3. Add the holding period (optional)

    Enter how long you held the investment, in years (use decimals for months, e.g., 0.5 for 6 months). This unlocks the annualized ROI calculation.

  4. Calculate your ROI

    The calculator instantly returns your ROI percentage, your total dollar gain or loss, and — if you entered a holding period — your annualized ROI.

  5. Compare against alternatives

    Use the annualized ROI figure to compare this investment against other opportunities with different time frames, such as a savings account, index fund, or another deal.

ROI Calculator Examples: Real-World Scenarios

1

Stock Trade Over Two Years

Priya buys $2,000 of shares in a technology stock. Two years later, she sells the entire position for $2,700.

Initial investment:$2,000
Final value:$2,700
Holding period:2 years

Calculation

ROI = ((2700 - 2000) / 2000) × 100 = (700/2000) × 100. Annualized ROI = ((2700/2000)^(1/2) - 1) × 100 = (1.35^0.5 - 1) × 100

Result

ROI: 35%. Total gain: $700. Annualized ROI: 16.19% per year — useful for comparing this trade against a savings account or another stock held for a different length of time.

2

House Flip

A real estate investor buys a distressed property for $180,000 and spends $30,000 on renovations, for a total investment of $210,000. The property sells 18 months later for $265,000.

Purchase price:$180,000
Renovation cost:$30,000
Total initial investment:$210,000
Sale price:$265,000
Holding period:1.5 years

Calculation

ROI = ((265000 - 210000) / 210000) × 100 = (55000/210000) × 100. Annualized ROI = ((265000/210000)^(1/1.5) - 1) × 100

Result

ROI: 26.19%. Total profit: $55,000. Annualized ROI: approximately 16.78% — a strong return, though it excludes closing costs, financing interest, and taxes, which would lower the real-world figure.

3

Marketing Campaign ROI

A small business spends $5,000 on a paid ad campaign over one month and generates $18,000 in revenue directly attributable to that campaign.

Ad spend (initial investment):$5,000
Attributed revenue (final value):$18,000
Holding period:not applicable (short campaign)

Calculation

ROI = ((18000 - 5000) / 5000) × 100 = (13000/5000) × 100

Result

ROI: 260%. For every $1 spent on ads, the campaign generated $2.60 in profit on top of the original dollar. Because the campaign ran for under a month, annualizing this figure would be misleading and is typically skipped for short marketing cycles.

Common Mistakes to Avoid

  • Ignoring the holding period — a 30% ROI over 6 months is far better than a 30% ROI over 5 years, but the basic ROI formula alone doesn't show this. Always calculate annualized ROI when comparing investments held for different lengths of time.
  • Forgetting fees, taxes, and closing costs — real estate flips especially are prone to overstated ROI when investors omit closing costs, agent commissions, renovation overruns, and capital gains tax from the calculation.
  • Confusing ROI with annualized ROI — a 100% ROI sounds identical whether it took 1 year or 10 years, but the annualized returns are 100% and roughly 7.2% respectively. Always clarify which figure you're quoting or comparing.
  • Not accounting for opportunity cost — a 10% ROI looks good in isolation, but if a comparable-risk alternative (like an index fund) would have returned 15% over the same period, the investment actually underperformed the market.

Tips & Tricks

  • When comparing investments of different lengths, always use annualized ROI, not raw ROI — it's the only apples-to-apples comparison.
  • For real estate and business ROI, build a complete cost list before calculating — purchase price, fees, renovations, holding costs, and selling costs all belong in the 'initial investment' figure.
  • A high ROI on a small investment may generate less total profit than a modest ROI on a large investment — always look at the dollar gain alongside the percentage.

ROI is the universal yardstick for judging whether money put to work paid off, and this calculator gives you both the raw ROI percentage and the annualized rate needed to compare investments fairly across different time frames. Use it to evaluate a stock trade, a property flip, a business purchase, or a marketing campaign's payoff. If you're planning future contributions rather than measuring a completed investment, the Investment Growth Calculator projects how your money could grow over time, and the Compound Interest Calculator shows how reinvested returns compound year after year.

ROI Calculator — Frequently Asked Questions

Related Calculators

Authoritative References

External links open in a new tab. OmniCalc.us is not affiliated with these organisations.

Related Calculators