Investment

ROI Calculator

Measure return on investment from cost basis to exit, optionally net of trading fees.

Results

Cost basis
Exit proceeds (gross)
Est. fees
Net profit
ROI

How it works

ROI normalizes profit to capital deployed. Fee-aware ROI prevents overstating gains on high-turnover strategies.

Formula

ROI % = (Net profit ÷ Cost basis) × 100. Net profit = (Sell − Buy) × Units − Fees.

Examples

BTC swing

Buy $50,000, sell $65,000, 0.5 BTC, 0.2% fees → cost $25,000, gross gain $7,500, fees ≈ $115 → ROI ≈ 29.5%.

Loss case

Buy $65,000, sell $60,000, 1 unit, no fees → ROI = −7.69%.

FAQs

Is ROI the same as APY?

No. ROI is period return without annualizing. Use the compound / APY tools for time-based rates.

Should I include funding fees?

For futures, add estimated funding into the fee field or as a dollar adjustment for a truer net ROI.

Does this handle multiple lots?

Use average cost as buy price, or run each lot separately and sum profits.

← All calculators