ROI Calculator

Enter what you put in and what you got back to get your ROI, your gain or loss, and the annualized return over the time you held it.

Runs in your browser; nothing you type is sent anywhere. · Updated

How to use the ROI calculator

  1. Enter the amount invested.
  2. Enter the amount returned: what you sold it for, plus any dividends, rent or other income you received.
  3. Add fees and costs (commissions, closing costs, repairs) so they count against the return.
  4. Enter how long you held it to get the annualized ROI.

The ROI formula

ROI = (amount returned − amount invested) ÷ amount invested × 100

Example: you invest $1,000 and get back $1,500. ROI = 500 ÷ 1,000 = 50%.

Annualized ROI

A 50% return in 3 years isn't the same as 50% in 10 years. Annualized ROI puts them on the same yearly scale:

Annualized ROI = (returned ÷ invested)^(1 ÷ years) − 1

Total ROI Over 1 year Over 3 years Over 5 years Over 10 years
25% 25.0% 7.7% 4.6% 2.3%
50% 50.0% 14.5% 8.4% 4.1%
100% 100.0% 26.0% 14.9% 7.2%

ROI examples

Investment Cost Return ROI
Stock bought at $40, sold at $52, $2 in dividends $40 $54 35%
Kitchen remodel adding $30,000 of resale value $40,000 $30,000 −25%
Ad campaign bringing $12,000 in gross profit $4,000 $12,000 200%

For advertising, use profit (not revenue) as the return, or see the break-even ROAS in our break-even guide.

Limits of ROI

ROI ignores risk, ignores timing (unless annualized) and depends on what you count as costs. For growth with regular contributions, use the investment calculator; for a growth rate between two values, use the CAGR calculator.

Frequently asked questions

How do I calculate ROI?

Subtract the cost from what you got back, divide by the cost and multiply by 100.

What is a good ROI?

It depends on the risk and time. Long-run stock market returns have averaged roughly 10% a year before inflation; a safe savings account pays far less.

What's the difference between ROI and annualized ROI?

ROI is the total return over the whole period. Annualized ROI is the equivalent return per year, compounded.

Can ROI be negative?

Yes. A negative ROI means you got back less than you put in.