how to calculate return on investment

ROI Calculator

Use this quick calculator to estimate net profit, total ROI, and annualized ROI.

What Is Return on Investment (ROI)?

Return on investment (ROI) is a simple way to measure how much money you made (or lost) compared to how much money you put in. Whether you are evaluating stocks, rental property, a business project, or even a marketing campaign, ROI helps you answer one key question: Was this investment worth it?

The best part is that ROI is easy to calculate and easy to compare across opportunities. The downside is that ROI alone does not tell the full story (especially when time and risk are involved). We will cover both the calculation and the practical caveats below.

The Basic ROI Formula

The standard formula is:

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

In plain English:

  • Total Investment Cost = your initial amount + extra expenses (fees, maintenance, commissions, etc.)
  • Final Value = how much the investment is worth when you exit, or how much cash it returned
  • Net Profit = Final Value - Total Investment Cost

Quick Example

Suppose you invest $10,000 in an index fund. You pay $200 in fees over time, and later sell for $12,500.

  • Total Investment Cost = $10,000 + $200 = $10,200
  • Net Profit = $12,500 - $10,200 = $2,300
  • ROI = ($2,300 / $10,200) × 100 = 22.55%

That means you earned about 22.55% on the money you actually committed.

Step-by-Step: How to Calculate ROI Correctly

1) Gather all costs

Many people only use the purchase price and forget hidden costs. Include transaction fees, taxes, maintenance, software subscriptions, contractor fees, advertising spend, and anything else required to produce the return.

2) Determine your final value

This could be sale price, current valuation, or total revenue generated. Be consistent with your definition so comparisons stay fair.

3) Compute net profit

Net Profit = Final Value - Total Cost. If this number is negative, your ROI will be negative.

4) Divide by total cost and convert to percent

Divide net profit by total cost, then multiply by 100 to get a percentage.

Annualized ROI: Comparing Investments Over Different Time Periods

A 20% return over 1 year is very different from a 20% return over 5 years. That is why annualized ROI is useful.

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

Use annualized ROI when comparing projects with different durations. It gives a better apples-to-apples comparison.

Common ROI Mistakes to Avoid

  • Ignoring costs: small fees can dramatically reduce true return.
  • Not accounting for time: total ROI can mislead when periods differ.
  • Comparing high-risk and low-risk returns directly: risk matters as much as return.
  • Using revenue instead of profit: ROI should be based on net outcomes, not top-line numbers.
  • Leaving out taxes: after-tax ROI is often the number that matters most in real life.

ROI in Personal Finance vs Business

Personal Finance

You can use ROI for stocks, ETFs, real estate, education costs, side hustles, and even debt paydown strategies.

Business Decisions

Companies use ROI to evaluate marketing campaigns, equipment purchases, hiring, software tools, and product launches. A project with higher ROI is usually more attractive, but management should also consider strategic impact and risk.

Final Thoughts

ROI is one of the most practical financial metrics because it is easy to compute and easy to communicate. Start with the basic formula, include all costs, and use annualized ROI when comparing different time horizons. If you do only those three things, your investment decisions will instantly become more data-driven.

Use the calculator above to test scenarios quickly. Small input changes can reveal whether a decision is robust or hanging by a thread.

🔗 Related Calculators