Skip to content

ROI calculator: marketing ROI from revenue, margin and cost

Free. In your inbox in 48 hours.

Calculate marketing ROI

Use any currency, as long as every box uses the same one. Nothing you type leaves this page.

Marketing ROI

ROI = (gross profit minus marketing cost) divided by marketing cost, times 100.

Gross profit = revenue times gross margin (as a decimal).

Example: revenue of 4,00,000, a gross margin of 30% and a marketing cost of 1,00,000 give 1,20,000 of gross profit, 20,000 left after cost, an ROI of 20.00% and a ROAS of 4.00.

Turn on JavaScript to use the boxes. The formulas above work with a pen or a spreadsheet.

The sales value credited to the marketing in the period. Zero is allowed.
The share of a sale left after the cost of what you sold, before marketing cost. Between 0 and 100.
Everything you paid to win that revenue: ad spend, agency fee, creative and tools. Above zero.

ROI from return and investment

ROI = (return minus amount invested) divided by amount invested, times 100.

Example: 65,000 returned on 50,000 invested gives an ROI of 30.00%.

Turn on JavaScript to use the boxes. The formulas above work with a pen or a spreadsheet.

What you got back, in total. Zero is allowed.
What you put in. Above zero.

More calculators: ROAS calculator, CPM calculator, CTR calculator, CPC calculator, LTV calculator, CAC calculator, Engagement rate calculator.

Use the ROI calculator above to find the return on a marketing spend. It is a marketing ROI calculator: you enter the revenue your marketing brought in, your gross margin and what the marketing cost. You get the ROI as a percentage, the gross profit, what is left after cost, and the ROAS for the same numbers. A second card finds the ROI of any investment from what you put in and what you got back. This page gives the ROI formula, the ROI full form, worked examples in INR and USD, and a plain answer on ROI versus ROAS.

How to use the ROI calculator

Card one: marketing ROI. Enter the revenue from marketing, the gross margin and the marketing cost, all for the same dates. Revenue is the sales value you credit to the marketing. Gross margin is the share of a sale left after the cost of what you sold. Marketing cost is the full cost of getting that revenue: ad spend, agency fee, creative and tools. Card two: ROI from return and investment. Enter the money you put in and the money you got back. Use one currency in the boxes. The cost must be above zero in both cards, and the margin must lie between 0 and 100.

ROI full form and meaning

The ROI full form is return on investment. It tells you how much you earned, or lost, for each unit you spent, as a percentage of what you spent. An ROI of 20 percent means you got your money back and 20 percent more. An ROI of minus 20 percent means you lost a fifth of what you spent. An ROI of zero means you broke even.

People count ROI in more than one way, so write down what you counted. On this page the gain is gross profit, which is revenue times gross margin, and the cost is every cost of the marketing. That is the version that tells you whether the marketing paid for itself.

The ROI formula

The ROI formula is ROI = (gain minus cost) / cost x 100. For marketing, the gain is gross profit, so marketing ROI = (revenue x gross margin minus marketing cost) / marketing cost x 100, with the margin as a decimal.

In INR. Revenue is INR 4,00,000, the gross margin is 30 percent and the marketing cost is INR 1,00,000. Gross profit is 4,00,000 x 0.30 = INR 1,20,000. After the cost you keep INR 20,000. ROI = 20,000 / 1,00,000 x 100 = 20 percent. In USD. Revenue is USD 20,000, the margin is 25 percent and the cost is USD 5,000. Gross profit is USD 5,000, so nothing is left after cost and the ROI is 0 percent. Both are illustrations with round numbers.

For any other investment, use the same formula with the money you got back. You put in INR 50,000 and got back INR 65,000. ROI = (65,000 minus 50,000) / 50,000 x 100 = 30 percent. The second card does this sum.

Marketing ROI in percent, by ROAS and gross margin

ROASMargin 20 percentMargin 30 percentMargin 40 percentMargin 50 percent
1-80-70-60-50
2-60-40-200
3-40-102050
4-202060100
5050100150
860140220300
Source: calculated by Muffin Media as ROI in percent = (ROAS x margin minus 1) x 100. The ROAS values and margins are round numbers for the arithmetic, not data from any platform.

Read along a row and the ROI rises with the margin. Read down a column and it rises with the ROAS. The zeros show break even: a ROAS of 5 at a 20 percent margin, 2 at 50 percent. A positive figure means the marketing paid for itself. A negative one means it did not. Work out your own break even line with the ROAS calculator.

ROI vs ROAS

ROI and ROAS both measure return, but they divide different things. ROAS = revenue / ad spend. ROI = (gross profit minus cost) / cost. Google’s help page on target ROAS (opens in a new tab) describes ROAS as the average conversion value, such as revenue, you aim to earn for each dollar spent on ads, and gives the example of USD 5 of sales for every USD 1 spent, a target ROAS of 500 percent. That figure knows nothing about your margin. ROI does.

For the same numbers, ROI as a decimal = ROAS x gross margin minus 1. A ROAS of 4 at a 30 percent margin gives 4 x 0.30 minus 1 = 0.20, an ROI of 20 percent. The same ROAS of 4 at a 20 percent margin gives 4 x 0.20 minus 1 = minus 0.20, an ROI of minus 20 percent. Same ROAS, a loss instead of a gain.

One ROAS, two ROIs: the same sum in INR and USD

FigureINR exampleUSD example
Marketing costINR 1,00,000USD 5,000
Revenue from marketingINR 4,00,000USD 20,000
Gross margin30 percent25 percent
ROAS4.004.00
Gross profitINR 1,20,000USD 5,000
ROI20 percent0 percent
Source: illustration calculated by Muffin Media with round numbers. ROAS = revenue / cost; gross profit = revenue x margin; ROI = (gross profit minus cost) / cost x 100.

Both examples have a ROAS of 4. One earns 20 percent and the other only breaks even, because the margins differ. This is why a ROAS alone cannot say whether ads pay. Our guide to what is ROAS covers ROAS in full, and the ROAS calculator shows it beside the break even ROAS. When the ROAS is too low, how to improve ROAS lists the levers.

What to count as marketing cost

Count everything you pay to win the revenue. That means ad spend, the agency fee, creative production and the tools you use to run and measure the campaigns. Add the time of your own staff if you want a full ROI. Leave out costs that would exist without the marketing. Using ad spend alone gives a higher ROI and answers a narrower question, so say which one you used.

Count the same period on both sides. A sale that closes three months after the ad belongs to the ad, so a long sales cycle needs a longer window. Revenue from repeat orders is also part of the return, so a first order only can understate it. The LTV calculator values a customer over time, and the CAC calculator finds what each new customer cost.

What the ROI calculator cannot tell you

ROI is only as good as the revenue figure. Google’s page on attribution models (opens in a new tab) says last click credits the final clicked ad with the whole conversion, while the data-driven model splits credit across the ad interactions on the path. So two reports can show two ROIs for one month. Start from tracking that counts the right actions. Google explains in its page on conversion measurement (opens in a new tab) that conversion tracking measures actions such as purchases, sign-ups and phone calls, so you can judge your return on ad spend.

ROI also says nothing about risk or timing. A 20 percent ROI after three months and after three years are not the same result. And it cannot tell a new customer from one who would have bought anyway. Use it to compare campaigns with the same cost basis and the same window.

To see your own market’s click prices, and what advertisers around you lead with, get your free Market Report: it is free, in your inbox in 48 hours.

Frequently asked questions

What is the full form of ROI?

ROI stands for return on investment. It is the gain from a spend, after its cost, shown as a percentage of the cost.

How do you calculate ROI?

Subtract the cost from the gain, divide by the cost and multiply by 100. A gain of INR 65,000 on INR 50,000 spent is (65,000 minus 50,000) / 50,000 x 100 = 30 percent.

What is the ROI formula in marketing?

Marketing ROI = (revenue x gross margin minus marketing cost) / marketing cost x 100. It uses gross profit as the gain, so the margin matters.

What is a good ROI?

Above zero means the marketing paid for itself. Beyond that, a good ROI is one that beats what else you could do with the money, over the same period and with the same cost basis. We publish no single target, because it depends on your margin and your cash.

Is ROI the same as ROAS?

No. ROAS divides revenue by ad spend. ROI divides profit after cost by cost. For the same numbers, ROI as a decimal = ROAS x gross margin minus 1.

Can ROI be negative?

Yes. If gross profit is lower than the cost, the ROI is below zero. A cost of INR 1,00,000 that returns INR 60,000 of gross profit is an ROI of minus 40 percent.

Start with your market.

The Market Report is free and arrives in 48 hours. Then our team walks you through it.