ROI Calculator — Return on Investment, Net Gain & Annualized Return
The simple profit-to-cost ratio behind every ad campaign, side hustle and investment
Return on investment (ROI) is the single most-quoted number in American business — it's how a marketer judges an ad campaign, how a small-business owner sizes up a new espresso machine, how a real-estate investor compares two rental properties, and how anyone with a brokerage account checks whether a trade actually paid off. The appeal is its simplicity: ROI boils any investment down to one percentage that says how much you got back for every dollar you put in.
The formula is a plain ratio. ROI % = (final value − cost) ÷ cost × 100. The piece on top is your net gain (or loss): final value minus what you spent. Divide that by the cost, multiply by 100, and you have the percentage.
A quick check with round numbers: you invest $1,000 and it grows to $1,300. Net gain = 1,300 − 1,000 = $300. ROI = 300 ÷ 1,000 × 100 = 30%. Every dollar invested returned 30 cents of profit on top of itself.
The catch with plain ROI is that it ignores time. A 30% return is excellent in one year and mediocre over ten. That's where annualized ROI comes in — it spreads the total return across the holding period using a compound-growth root: annualized = ((final ÷ cost)^(1 ÷ years) − 1) × 100. Hold that same $1,000 → $1,300 over 3 years and the annualized figure is (1.3^(1÷3) − 1) = 9.14% per year — a much more honest basis for comparing investments of different lengths.
This is deliberately the simple ratio version. If you want compounding, recurring contributions, and a year-by-year balance, use the investment-return calculator instead — ROI here answers one clean question: for the money I put in, what did I get back, in percent and in dollars?
Where this shows up in real US life: a freelancer spends $400 on a course and lands a $2,000 client (ROI 400%); a shop owner buys a $5,000 sign and books $5,000 of extra sales — but that's 0% ROI on the sign because it only earned back its own cost, not a profit on top. ROI counts profit above the outlay, which is exactly why it's the number that cuts through the hype. ROI is an estimate of past or expected performance, not a guarantee of future results or financial advice.
Calculator
Fill in the fields and click "Calculate" for instant results.
📰 Formula
• ROI % = (final value − cost) ÷ cost × 100 • Net gain (or loss) = final value − cost • Annualized ROI % = ((final value ÷ cost)^(1 ÷ years) − 1) × 100 • Final value = total money the investment returned (sale price + income) • Cost = total amount you put in
📰 Formula
• ROI % = (final value − cost) ÷ cost × 100 • Net gain (or loss) = final value − cost • Annualized ROI % = ((final value ÷ cost)^(1 ÷ years) − 1) × 100 • Final value = total money the investment returned (sale price + income) • Cost = total amount you put in
🧪 Worked examples
Example 2
Example 3
Example 4
⚠️ Common mistakes
- Dividing the gain by the final value instead of by the cost.
- Putting only the profit in the 'final value' box — it should be the total money back (cost plus profit).
- Comparing a 1-year ROI to a 5-year ROI without annualizing first.
- Forgetting to subtract the original cost, so a sign that earns back its price looks like a win at 0%.
- Leaving out fees, taxes or shipping from the cost, which inflates the ROI.
💡 Tips
- Net gain goes on top, cost goes on the bottom — always divide by what you put in.
- Use annualized ROI to compare a quick flip against a multi-year hold on equal footing.
- Include every dollar of cost (fees, taxes, ad spend) so the percentage is honest.
- A negative ROI just means a loss — final value came in below the cost.
- For recurring deposits and compounding over time, switch to the investment-return calculator.
Embed this calculator on your site
Copy the code below and paste it into the HTML of your site or blog.
<iframe src="https://www.calcnimbus.com/embed/roi-calculator" width="100%" height="500" frameborder="0" style="border:1px solid #eee;border-radius:12px"></iframe>
❓ Frequently asked questions
How do you calculate ROI?
ROI % = (final value − cost) ÷ cost × 100. If you invest $1,000 and end with $1,300, ROI = (1,300 − 1,000) ÷ 1,000 × 100 = 30%.
What is a good ROI?
It depends on the time frame and risk. For the stock market, the S&P 500 has historically averaged roughly 7–10% per year. For a marketing campaign, many businesses target an ROI well above 100% (more than double the spend). Always compare ROI on a per-year, annualized basis.
What's the difference between ROI and annualized ROI?
Plain ROI is the total return over the whole period and ignores time. Annualized ROI spreads that return across the years held using compound growth: ((final ÷ cost)^(1 ÷ years) − 1) × 100. A 30% total return is 9.14% annualized over 3 years.
Can ROI be negative?
Yes. If the final value is below your cost, ROI is negative and you took a loss. Buy a stock for $5,000 and sell for $4,200 and ROI = (4,200 − 5,000) ÷ 5,000 × 100 = −16%.
What counts as the 'final value' in the ROI formula?
The total money the investment returned — sale price plus any income or dividends it produced along the way — not just the profit. If a $1,000 investment paid $50 in dividends and was sold for $1,100, the final value is $1,150.
How do I calculate marketing or advertising ROI?
Use the profit (or revenue) the campaign generated as the final value and the ad spend as the cost. Spend $1,000 on ads that bring $4,000 in profit and ROI = (4,000 − 1,000) ÷ 1,000 × 100 = 300%. Some marketers call this ROAS when they use revenue instead of profit.
Is ROI the same as profit margin?
No. ROI compares gain to the amount invested, while profit margin compares profit to revenue (sales). A $300 gain on a $1,000 investment is 30% ROI; whether that's a healthy margin depends on the sale price, which is a separate calculation.
Does ROI account for taxes and fees?
Only if you include them. For an honest figure, add fees, commissions, shipping and taxes to the cost, and use after-tax proceeds as the final value. Leaving costs out makes the ROI look better than it really was.
When should I use the investment-return calculator instead?
Use this ROI calculator for a simple, one-shot profit-to-cost ratio. Switch to the investment-return calculator when you have recurring contributions, ongoing compounding, or want a year-by-year balance over the life of the investment.