ROI Calculator

Calculate your return on investment (ROI) instantly by entering your initial investment cost and the final return value to see your percentage gain or loss.

ROI

+50.00%

Net Profit / Loss

+500.00

Initial Cost

1,000.00

Total Return

1,500.00

Outcome

Gain

Formula: ROI = ((Return − Cost) / Cost) × 100

FreeNo sign-upPrivate — runs in your browser, nothing is uploaded

Estimate only. This calculator provides estimates based on the values you enter and the formula shown. It is not financial advice and may not reflect every fee, tax, or lender requirement. Check figures with a qualified professional before making financial decisions.

Quick answer

ROI (Return on Investment) is calculated by dividing the net profit by the initial cost and multiplying by 100 to get a percentage. The formula is ROI = ((Return - Cost) / Cost) × 100. A positive ROI means you gained money; a negative ROI means you lost money. For example, investing $1,000 and receiving $1,200 back yields an ROI of 20%. ROI is one of the most widely used metrics for evaluating the efficiency of an investment.

Formula & method

ROI (%) = ((Return − Cost) / Cost) × 100
  • Return — Total amount received from the investment
  • Cost — Initial amount invested (must be greater than zero)
  • ROI — Return on Investment expressed as a percentage

Expresses the net gain or loss relative to the initial investment as a percentage.

Net Profit = Return − Cost
  • Net Profit — The dollar amount gained (positive) or lost (negative)

The absolute dollar gain or loss from the investment.

Examples

Example 1: Stock Purchase: $1,000 invested, $1,200 returned

Input
cost: 1000 | return: 1200
Result
ROI = 20.00%
Why
Net profit = $1,200 − $1,000 = $200. ROI = ($200 / $1,000) × 100 = 20.00%. You gained 20% on this investment.

Example 2: Real Estate Flip: $5,000 invested, $8,500 returned

Input
cost: 5000 | return: 8500
Result
ROI = 70.00%
Why
Net profit = $8,500 − $5,000 = $3,500. ROI = ($3,500 / $5,000) × 100 = 70.00%. A strong return of 70% on this investment.

Example 3: Marketing Campaign: $50,000 invested, $45,000 returned

Input
cost: 50000 | return: 45000
Result
ROI = −10.00%
Why
Net profit = $45,000 − $50,000 = −$5,000. ROI = (−$5,000 / $50,000) × 100 = −10.00%. This campaign resulted in a 10% loss.

Example 4: Business Equipment: $10,000 invested, $13,500 returned

Input
cost: 10000 | return: 13500
Result
ROI = 35.00%
Why
Net profit = $13,500 − $10,000 = $3,500. ROI = ($3,500 / $10,000) × 100 = 35.00%. The equipment generated a healthy 35% return.

When to use this tool

  • Reviewing a finished investment or project: what you put in versus what you got back, such as a stock you sold, a car you fixed up and resold, or an ad campaign that has run its course.
  • Checking the paper gain or loss on something you still hold: enter what you paid, including commissions, and today's market value.
  • Ranking options of similar length and risk by percentage rather than dollar profit — a $500 gain on $2,000 (25%) beats a $1,000 gain on $10,000 (10%).

Common mistakes

  • Typing the profit into the Total Return field. That field expects everything you got back (for example $1,200 on a $1,000 investment), not the $200 gain; entering the gain makes a winning investment show as −80%.
  • Counting only the sale price as the return. Dividends, rent or interest collected while you held the investment are part of the return too, so leaving them out understates ROI.
  • Comparing ROIs earned over different lengths of time. This tool reports total ROI with no time element, so 30% over five years (about 5.39% a year) is a weaker result than 30% in one year.

Frequently asked questions

What is a good ROI percentage?

A 'good' ROI depends on the asset class and time horizon. For stock market investments, an annual ROI of 7–10% is commonly considered solid (historical S&P 500 average). Real estate often targets 8–12% per year. Short-term business projects may demand 20% or higher to justify the risk. Always compare ROI against the opportunity cost and risk level of alternative investments.

What is the difference between ROI and annualized ROI?

The basic ROI formula gives a total percentage return regardless of how long the investment was held. Annualized ROI adjusts for the holding period so you can compare investments of different durations on a per-year basis. Annualized ROI = ((1 + ROI/100)^(1/years) − 1) × 100. For example, a 21% ROI over 3 years equals an annualized ROI of approximately 6.6% per year.

Can ROI be negative?

Yes. A negative ROI means the investment lost money — the return was less than the initial cost. For example, investing $10,000 and receiving only $8,000 back gives an ROI of −20%. Negative ROI results should prompt a review of the investment strategy or underlying assumptions.

What costs should I include in the 'initial cost' field?

Include every out-of-pocket expense tied to the investment: purchase price, commissions, fees, installation, training, maintenance, taxes, and any other direct costs. Omitting hidden costs inflates ROI artificially. For marketing ROI, include ad spend, agency fees, creative production, and attribution costs.

How is ROI different from profit margin?

ROI measures the efficiency of an investment relative to its cost and is typically used to evaluate capital allocation decisions. Profit margin measures what percentage of revenue is kept as profit and is used to assess business profitability. Both are important financial metrics but answer different questions.

Does ROI account for the time value of money?

Basic ROI does not account for the time value of money. For long-term investments, metrics like Net Present Value (NPV) or Internal Rate of Return (IRR) are more appropriate because they discount future cash flows to present value. ROI is best suited for quick comparisons and shorter time horizons where time-value effects are minimal.

Sources & references

External references open in a new tab. We are independent and not affiliated with these organizations.

Disclaimer

This calculator provides estimates based on the values you enter and the formula shown. It is not financial advice and may not reflect every fee, tax, or lender requirement. Check figures with a qualified professional before making financial decisions.

  • Free
  • No sign-up
  • Runs entirely in your browser — nothing is uploaded.
  • Formula and method shown above

Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.

Built and reviewed by HIFreeTools against the formula shown above and any authoritative references cited on this page. See our methodology and editorial standards below.

Related tools

Embed this tool on your site

Free to embed, no sign-up. Paste this code where you want the tool to appear: