how do you calculate the roi

If you have ever asked, “how do you calculate the ROI?”, you are asking one of the most useful questions in personal finance and business. ROI (Return on Investment) helps you evaluate whether an investment, project, or purchase was worth the money. It is simple, practical, and powerful when used correctly.

ROI Calculator

Enter your numbers below to calculate net profit, total ROI, and optional annualized ROI.

Enter your values and click Calculate ROI.

What Is ROI?

ROI stands for Return on Investment. It measures how much profit (or loss) you made compared to the amount you invested. Investors, marketers, business owners, and even everyday consumers use ROI to make smarter decisions.

At its core, ROI answers one question: “For every dollar I put in, how much did I get back?”

The Basic ROI Formula

The standard formula is:

ROI (%) = ((Final Value - Total Cost) / Total Cost) × 100

Where:

  • Final Value = the amount you ended with
  • Total Cost = initial investment + any extra fees or expenses

If the percentage is positive, you earned a return. If negative, you took a loss.

Step-by-Step: How Do You Calculate the ROI?

1) Add up your total cost

Include all relevant costs: purchase price, transaction fees, setup costs, maintenance, and other direct expenses.

2) Determine final value

This is what you received at the end—sale proceeds, total campaign revenue, or total value after growth.

3) Calculate net profit

Net Profit = Final Value - Total Cost

4) Divide by total cost and convert to a percentage

ROI = (Net Profit / Total Cost) × 100

Quick Examples

Example 1: Simple investment

You invest $2,000 and later cash out at $2,400. No extra fees.

  • Total Cost = $2,000
  • Final Value = $2,400
  • Net Profit = $400
  • ROI = ($400 / $2,000) × 100 = 20%

Example 2: Investment with fees

You buy an asset for $5,000, pay $150 in fees, and later sell for $5,800.

  • Total Cost = $5,000 + $150 = $5,150
  • Final Value = $5,800
  • Net Profit = $650
  • ROI = ($650 / $5,150) × 100 = 12.62%

Example 3: Marketing campaign ROI

You spend $1,200 on ads and generate $1,800 in attributable revenue.

  • Total Cost = $1,200
  • Final Value = $1,800
  • Net Profit = $600
  • ROI = ($600 / $1,200) × 100 = 50%

Annualized ROI (When Time Matters)

One major limitation of basic ROI is that it does not account for time. A 20% return in one year is very different from 20% over five years. That is why annualized ROI is useful.

Annualized ROI (%) = ((Final Value / Total Cost)^(1 / Years) - 1) × 100

Use annualized ROI when comparing investments held for different lengths of time.

What Counts as a “Good” ROI?

There is no universal threshold because expected ROI depends on risk, industry, and alternatives. Still, here are practical ways to judge ROI:

  • Compare to your alternatives: Could your money do better elsewhere?
  • Compare to risk: Higher risk should usually demand higher expected return.
  • Compare to inflation: A return below inflation may mean losing purchasing power.
  • Compare to your goal: If your target is 10% and you got 14%, that is strong.

Common ROI Mistakes to Avoid

Ignoring hidden costs

Taxes, subscriptions, maintenance, and financing costs can significantly reduce true returns.

Comparing projects with different timeframes

A 30% return over six months is not the same as 30% over six years. Use annualized ROI.

Not separating revenue from profit

Revenue is not return. ROI should be based on net gain after costs.

Using ROI alone for big decisions

ROI is useful, but it is only one metric. For larger decisions, also consider cash flow, payback period, risk, and strategic fit.

ROI vs. Other Metrics

  • ROAS (Return on Ad Spend): Focuses only on ad revenue versus ad spend.
  • IRR (Internal Rate of Return): Better for multi-year projects with uneven cash flows.
  • NPV (Net Present Value): Accounts for time value of money and discount rates.

For quick evaluations, ROI is excellent. For complex investments, combine it with IRR or NPV.

Practical Tips to Improve ROI

  • Reduce acquisition and operating costs wherever possible.
  • Increase conversion rates and retention before increasing spending.
  • Track all costs consistently so your ROI is realistic.
  • Run small tests first, then scale what works.
  • Review ROI by channel, product, or segment to find top performers.

Final Takeaway

If you remember one thing, remember this: ROI is your net gain divided by your total cost, expressed as a percentage. It is simple enough to use every day and strong enough to improve major financial decisions.

Use the calculator above any time you evaluate an investment, campaign, side hustle, or purchase. The better you measure return, the better you allocate your money.

🔗 Related Calculators