How this ROI calculator works
A return on investment (ROI) calculator turns two money figures — what you put in and what you got back — into a percentage, so you can compare a stock, a rental, a campaign, or a side project on the same scale. This free ROI calculator shows net profit, total ROI, and, when you add a holding period, the annualized (compounded) return as you type. It is a simple snapshot from the numbers you enter, not financial advice.
ROI answers “how much did this make relative to what it cost?” It does not answer “was that a good risk?” A 30% return in one year is not the same as 30% over ten years, which is why the optional holding period exists. The currency only labels the amounts; it does not change the percentage. The holding period is under Advanced options, and closing that section leaves it out of the result even if a number stays typed.
How to use the ROI calculator
- Pick the currency you want the amounts displayed in. It does not change the percentage.
- Enter the amount invested — your total upfront cost, including fees you want counted.
- Enter the amount returned — everything you received back, including sale proceeds, dividends, or other inflows you want counted.
- Open Advanced options and enter a holding period in years to see the annualized figure. Leave it empty, or close Advanced options, for total ROI only. Closing the section ignores a typed period.
What ROI measures
Net profit is the raw difference: amount returned minus amount invested. ROI divides that difference by the amount invested and multiplies by 100, so a $300 profit on $1,000 is +30%, and a $300 loss on $1,000 is −30%. The percentage is what makes a $300 profit on $1,000 comparable to a $3,000 profit on $10,000 — both are 30%. A result appears only when the invested amount is greater than zero.
ROI formulas
These are the same formulas the calculator uses. Annualized ROI is shown only while Advanced options are open, the holding period is greater than zero, and the amount returned is greater than zero.
Why annualized ROI needs a holding period
Total ROI ignores time. A 30% gain in twelve months is a very different outcome from 30% after a decade. Annualized ROI is the constant yearly compounded rate that would turn the invested amount into the returned amount over those years — a CAGR, not a simple division of ROI by years. The calculator omits it when Advanced options are closed, when years is empty or zero, and when the amount returned is zero, because a zero (or negative) base does not give a meaningful real-number compounded rate here.
What to put in “invested” and “returned”
Put every cost you want counted in the invested amount: purchase price, commissions, taxes paid to buy, renovation, shipping. Put every inflow you want counted in the returned amount: sale proceeds, dividends, rent, residual value. Leave something out and the percentage describes a cleaner story than the one you actually lived. The calculator does not add inflation, leverage, or a risk adjustment — those are separate questions.
Worked examples
Example: $1,000 invested, $1,300 returned
Net profit is 1,300 − 1,000 = 300. ROI is 300 ÷ 1,000 × 100 = +30%. That is the headline figure with no holding period.
Example: the same 30% over 3 years
Annualized ROI is (1,300 ÷ 1,000) raised to 1/3, minus 1, times 100 ≈ +9.14% a year. The total is still +30%; the annualized figure is the compounded yearly rate that gets you there in three years. A 30% gain in a single year would annualize to 30%.
Example: a loss, $1,000 to $700
Net profit is 700 − 1,000 = −300. ROI is −30%. Over two years, annualized ROI is (700 ÷ 1,000) raised to 1/2, minus 1, times 100 ≈ −16.33% a year. A negative ROI is a loss relative to cost, not a formatting error.
Things to keep in mind
ROI is a snapshot, not a verdict. It says nothing about risk, liquidity, or whether you could have earned more elsewhere. A higher ROI is not automatically the better choice. This calculator is for general education and does not constitute financial advice. Completed results can be saved in this browser’s local history; they stay on your device and are not sent to our servers or to analytics.
ROI calculator FAQ
How do I calculate return on investment?
Subtract the amount invested from the amount returned, divide by the amount invested, and multiply by 100. A $1,000 cost that comes back as $1,300 is a $300 profit and a +30% ROI. This calculator does that as you type.
What is a good ROI?
There is no universal “good” ROI. It depends on risk, time, and the alternative you gave up. A 8% yearly return may be excellent for a diversified fund and poor for a one-year speculative trade. Compare annualized figures over similar periods, and treat this page as arithmetic, not a recommendation.
What is the difference between ROI and annualized ROI?
ROI is the total percentage gain or loss, ignoring how long you held the investment. Annualized ROI is the equivalent compounded return per year. Open Advanced options and enter a holding period in years to see it. It is omitted when Advanced options are closed, when years is empty or zero, or when the amount returned is zero.
Should I include fees, dividends, or rent?
Include every cost you want counted in the invested amount, and every inflow you want counted in the returned amount — fees, taxes to buy, dividends, rental income, sale proceeds. The calculator does not guess them for you.
Can ROI be negative?
Yes. If you get back less than you put in, net profit and ROI are negative. That is a loss relative to cost. The annualized figure is shown when Advanced options are open, the holding period is greater than zero, and the amount returned is greater than zero.
Does this ROI calculator store my amounts?
Completed results can be saved in this browser’s local history so you can reopen them later. They stay on your device and are not sent to our servers or to analytics. This tool is not financial advice.