ROI Calculator
Calculate ROI, profit and annualized return.
All calculations happen locally in your browser — nothing is uploaded, stored or tracked.
Enter the cost
Everything you invested, including fees.
Enter the final value
Current or sale value.
Enter the years
Holding period, for the annualized return.
What Is ROI?
Return on Investment measures the gain or loss on an investment relative to its cost, expressed as a percentage. It is the most widely used profitability metric — simple to compute and easy to compare across opportunities.
The calculator reports the basic ROI, the net profit, and the annualized return (CAGR) — the average yearly growth rate that produces the same result over the holding period. CAGR is the fair way to compare investments held for different lengths of time.
The Formulas
Include all costs — purchase price, fees and expenses — in the cost for an accurate ROI.
Your data never leaves your device.
Every calculation on this site runs in your browser using vanilla JavaScript. Nothing is uploaded, stored or tracked.
- 100% local, client-side calculations
- No data stored on any server
- No tracking, no analytics, no ads scripts
- Works offline once loaded
Frequently Asked Questions
How is ROI calculated?
Divide the net profit (final value − cost) by the cost and multiply by 100.
What is a good ROI?
It depends on the investment type and risk. A 7–10% annualized return is a common long-term equity benchmark; higher expected returns carry higher risk.
What is CAGR?
Compound Annual Growth Rate — the annualized return that compounds to the same final value. It smooths the ups and downs.
Should I include fees in the cost?
Yes — for an accurate ROI, the cost should include purchase fees, commissions and any other expenses.
Is ROI the same as profit?
No — ROI is profit expressed as a percentage of the investment; profit is the absolute amount. The calculator shows both.