ROI Calculator — Return on Investment & Annualized Return

Calculate return on investment (ROI) for any trade or investment. Enter initial investment, final value, and costs to instantly see your ROI, annualized return, and profit multiple.

Total amount invested (purchase price + costs)

Current or exit value of the investment

Time the investment was held

Commissions, taxes, slippage, etc.

How to Use the ROI Calculator — Return on Investment

Enter your Initial Investment — the total capital you deployed, including the asset purchase price. Then enter the Final Value — what the investment is worth today or what you sold it for. Add any Fees & Costs (commissions, slippage, taxes) and any Dividends / Income received while holding — such as dividend payments, crypto staking rewards, bond coupons, or rental income.

Enter the Holding Period in daysto enable the annualized ROI figure, which converts your total return into a per-year rate using compound-interest math. This lets you compare a 6-month trade directly against a 3-year investment or the S&P 500 benchmark.

Click Calculate ROI and the tool instantly shows net profit or loss, ROI %, annualized return, the investment multiple (e.g. 2.5×), cost basis, total return, and the exact final value needed to break even after all costs.

This calculator works for stocks, crypto, real estate, forex trades, savings accounts, and any other investment where you have a starting value and an ending value.

The Formula

The calculator uses these core formulas:

  1. Cost Basis= Initial Investment + Fees & Costs
  2. Net Profit = Final Value − Cost Basis + Dividends Received
  3. ROI (%) = (Net Profit ÷ Initial Investment) × 100
  4. Annualized ROI (%) = ((1 + ROI ÷ 100)^(365 ÷ Holding Period Days) − 1) × 100
  5. Return Multiple = (Final Value + Dividends Received) ÷ Initial Investment
  6. Total Return ($)= Final Value + Dividends Received − Fees & Costs
  7. Break-Even Final Value= Initial Investment + Fees & Costs − Dividends Received

Including dividends in both the net profit and the multiple is important for income-generating assets. A stock that gains 5% in price but pays a 4% dividend has a total return multiple of 1.09× — not 1.05×. Ignoring dividends would significantly understate the true ROI of bonds, REITs, dividend stocks, or crypto staking positions.

The annualized ROI formula uses compound-interest math. A 20% gain over 6 months annualizes to approximately 44%, not 40%, because of compounding. When the holding period is 0, the annualized figure is set to 0 — use the simple ROI in that case.

Practical Examples

Example 1 — Stock Trade (6-Month Hold)

  • Initial Investment: $10,000
  • Final Value: $13,500
  • Commissions: $20
  • Holding Period: 180 days

Net Profit = $13,500 − $10,000 − $20 = $3,480
ROI = ($3,480 ÷ $10,000) × 100 = 34.8%
Annualized ROI = (1.348)^(365/180) − 1 ≈ 77.6% per year
Multiple = 13,500 ÷ 10,000 = 1.35×

Example 2 — Crypto Investment (2-Year Hold)

  • Initial Investment: $5,000 (BTC at $25,000)
  • Final Value: $17,500
  • Additional Costs (tax): $1,250
  • Holding Period: 730 days

Net Profit = $17,500 − $5,000 − $1,250 = $11,250
ROI = ($11,250 ÷ $5,000) × 100 = 225%
Annualized ROI = (3.25)^(365/730) − 1 ≈ 80.3% per year
Break-even Value = $5,000 + $1,250 = $6,250

Example 3 — Real Estate Project (Loss Scenario)

  • Purchase Price: $300,000
  • Sale Price: $270,000 (market downturn)
  • Transaction Costs: $15,000
  • Holding Period: 548 days

Net Profit = $270,000 − $300,000 − $15,000 = −$45,000
ROI = (−$45,000 ÷ $300,000) × 100 = −15%
The negative ROI confirms a loss. The break-even sale price was $315,000.

Frequently Asked Questions

Related Guides

Related Calculators

Embed This Calculator on Your Website