ROI calculator
Free · No signup · Guide approved 18 November 2026 by Nirav Italiya, founder · How we check guides
How do I calculate return on investment (ROI)?
ROI = (gain − cost) ÷ cost × 100. In investment mode, enter what you put in, what you got back and over how many years to see ROI, the gain and the annualised return. In marketing mode, enter campaign cost, revenue and gross margin; ROI is based on the profit the campaign made, not its revenue, and ROAS is shown alongside.
Return on investment
Profitable44.0%
Gain of $2,200 on $5,000
ROI = (gain − cost) ÷ cost × 100. The annualised rate spreads the return over the years so investments of different lengths can be compared.
Fewer returns, better margin
Show buyers the real fit and colour
Returns and RTO eat profit. On-model photos that match what buyers receive help them choose right the first time.
- First 2K photo free, no card
- Ready in about 3 minutes
- Full commercial rights


How to use it
- Choose investment or marketing campaign.
- Enter the cost and the return (or revenue and margin).
- Add the number of years for an annualised rate.
- Read ROI and the gain or loss.
Who this is for
This calculator is for small business owners comparing ways to use money: buying stock in bulk, a new camera or packing machine, a stall at a trade fair, or a paid ad campaign. Investment mode compares what you put in with what you got back, and can annualise the result. Marketing mode works from campaign cost, revenue and gross margin, because revenue alone hides whether an ad made money.
It is most useful after the fact, to judge what worked, and before a decision, with careful estimates, to see how much has to go right for a plan to pay.
Investment mode: comparing different lengths
ROI on its own ignores time: 40% over three years is not better than 30% in one. The annualised figure is the steady yearly growth rate that turns the amount invested into the amount returned: (returned ÷ invested)^(1 ÷ years) − 1. It appears when the years, the amount invested and the amount returned are all above zero.
| Investment | In | Back | Years | ROI | Annualised |
|---|---|---|---|---|---|
| A: bulk stock buy | 2,000 | 2,600 | 1 | 30.0% | 30.0% |
| B: equipment | 10,000 | 14,000 | 3 | 40.0% | 11.9% |
Marketing mode: worked example and break-even ROAS
With the default inputs, a campaign costs 1,000 and brings 4,200 of revenue at a 40% gross margin. Gross profit is 4,200 × 0.40 = 1,680, the gain after ad spend is 680, and ROI is 680 ÷ 1,000 = 68%. ROAS is 4.2x and every 1 spent returns 1.68.
The ROAS at which a campaign just breaks even is 1 ÷ margin. The thinner your margin, the more revenue each unit of ad spend must bring before it adds any profit.
| Gross margin | Break-even ROAS | ROI at 4x ROAS |
|---|---|---|
| 20% | 5.00x | −20% |
| 30% | 3.33x | 20% |
| 40% | 2.50x | 60% |
| 50% | 2.00x | 100% |
| 60% | 1.67x | 140% |
Which margin to enter
For marketing ROI, the margin should be what is left from each sale after all costs that come with the order: product cost, packaging, marketplace commission, payment fees, shipping and an allowance for returns. Using a margin that only subtracts product cost makes campaigns look better than they are. The contribution margin calculator gives this figure if you have the cost breakdown.
Estimating ROI before you spend
Before a campaign, work backwards: enter the budget and your realistic margin, then try different revenue figures to find the point where ROI turns positive. In the default example that point is 2,500 of revenue for 1,000 of spend at 40% margin. Then ask whether the campaign can plausibly bring that much, based on your conversion rate and average order value.
For equipment, enter the price as the amount invested and the extra profit or savings you expect over its useful life as the amount returned, and the life in years for the annualised figure. If the result only looks good with optimistic guesses, compare it with the payback period calculator before deciding.
Reading “every 1 spent returns”
This tile shows how much comes back for each unit of money put in, including the original. In investment mode, 5,000 in and 7,200 back gives 1.44: every 1 returns 1.44, which is the 44% ROI plus your money back. In marketing mode it uses gross profit, so 1,000 of ads producing 1,680 of gross profit gives 1.68. A value below 1.00 means you got back less than you spent.
Worked example: a trade fair with your own time included
A seller pays 500 for a stall, 300 for travel and 200 for samples, so cost is 1,000. Sales at the fair are 3,000 at a 35% gross margin, which is 3,000 × 0.35 = 1,050 of gross profit. The gain is 1,050 − 1,000 = 50 and ROI is 5%. ROAS is 3.0x, only just above the break-even level of 1 ÷ 0.35 = 2.86x.
Now count 20 hours of your own time at 10 an hour, an extra 200. Cost becomes 1,200, the gain is 1,050 − 1,200 = −150, and ROI is −12.5%. The event looked slightly profitable until time was included. If you would otherwise have been working on paid jobs, that cost is real.
Worked example
Investing 5,000 and getting back 7,200 is a gain of 2,200 and an ROI of 44%. Over two years that is about 20% a year annualised.
ROI vs ROAS
ROAS is revenue ÷ ad spend; ROI uses profit. A campaign with 4x ROAS and a 20% margin loses money: 1,000 of ads brings 4,000 of revenue but only 800 of gross profit, an ROI of −20%.
Common mistakes
- Entering revenue as the amount returned in investment mode, rather than the profit or final value.
- Using a product-only margin in marketing mode, which overstates ROI.
- Crediting a campaign with sales that would have happened anyway, such as repeat customers who were already buying.
- Comparing a one-month campaign ROI with a three-year investment ROI without annualising.
- Ignoring your own time, which is a real cost for trade fairs and DIY projects.
What this tool can’t do
- The annualised rate assumes steady compounding; it says nothing about risk or how uneven the returns were.
- Marketing mode treats the margin as fixed; it does not include repeat purchases or customer lifetime value.
- It does not account for inflation, tax or the time value of money beyond annualising.
How this guide was made: drafted with AI assistance from the tool’s own calculations and behaviour, then checked against our editorial policy and approved by the founder before publishing.
Questions
- What is the ROI formula?
- ROI = (gain from investment − cost of investment) ÷ cost of investment × 100.
- What is a good ROI?
- Any positive ROI beats doing nothing; compare it with the risk and with other uses of the money.
- What is annualised ROI?
- The yearly rate that would give the same total return over the period, useful for comparing investments of different lengths.
- How do I calculate marketing ROI?
- Marketing ROI = (revenue × gross margin − marketing cost) ÷ marketing cost × 100.
- Is ROI the same as profit margin?
- No. ROI compares profit with what you invested; margin compares profit with revenue.
- How do I calculate ROI in Excel?
- Use =(return − cost) / cost and format as a percentage.
- Can ROI be negative?
- Yes. A negative ROI means you got back less than you put in.
- How do I calculate ROI on ads?
- Use marketing mode: revenue × margin minus ad spend, divided by ad spend.
Add this calculator to your website
Run a blog, seller community or agency site? Paste this code where you want the ROI calculator to appear. It is free, has no ads, and works on WordPress, Shopify, Wix, Blogger and plain HTML.
?theme=dark to the address for a dark version.Related free tools
More free tools like this
Price & profit
Ads & marketing
