How to Calculate ROI on a Marketing Campaign

Every marketing channel claims to work. Return on investment (ROI) is how you find out which ones actually make you money. The formula itself is simple, but most small businesses calculate it in a way that makes campaigns look far better than they are. This guide shows the right way to measure marketing ROI, with an example you can check in the ROI calculator.

The marketing ROI formula

The general ROI formula is:

ROI = (Return − Investment) ÷ Investment × 100

For marketing, the key question is what counts as the "return". It is tempting to use the revenue the campaign brought in, but revenue isn't profit. You still had to buy or make the products you sold. The more accurate version uses gross profit:

Marketing ROI = (Gross profit from campaign sales − Total campaign cost) ÷ Total campaign cost × 100

And "total campaign cost" should include everything you spent to run it, not just the ad budget:

  • Ad spend or media costs
  • Design, video or copywriting
  • Agency or freelancer fees
  • Discount codes and free shipping offered in the campaign
  • Tools bought specifically for the campaign

Worked example: a paid social campaign

Example

An online kitchenware store runs a one-month social media ad campaign:

  • Ad spend: $2,000
  • Creative (photos and short videos): $500
  • Total campaign cost: $2,500

The campaign brings in 60 orders with an average order value of $120, so revenue is $7,200. The store's gross margin is 45%, so gross profit from those orders is $7,200 × 0.45 = $3,240.

  • Correct ROI: ($3,240 − $2,500) ÷ $2,500 = 29.6%
  • Revenue-based "ROI": ($7,200 − $2,500) ÷ $2,500 = 188%

To check this in the ROI calculator, enter $2,500 as the amount invested and $3,240 as the amount returned. The calculator shows a net return of $740 and an ROI of 29.6%. Enter the campaign length in years (one month is about 0.083) if you want to compare it with longer investments, but keep in mind that annualizing a one-month result assumes you could repeat it every month.

Both numbers come from the same campaign. The revenue-based version makes it look like a runaway success. The profit-based version shows a modest but real gain. For every dollar spent, the store got its dollar back plus about 30 cents. That is still a good result, but it changes how much more budget you would put behind it.

It is also worth knowing the campaign's break-even point. With a 45% gross margin, the store needs $2,500 ÷ 0.45 = about $5,556 in sales just to cover the campaign cost. Anything below that loses money, however busy the month feels.

Repeat purchases change the picture. If 25% of those 60 customers order again within a year at the same order value, that is 15 more orders, or $1,800 in revenue and $810 in gross profit. Total gross profit becomes $4,050, and ROI rises to 62%. Count repeat orders only if you can actually track them, and say which time period you used.

ROI vs ROAS

Ad platforms usually report ROAS (return on ad spend) rather than ROI:

ROAS = Revenue from ads ÷ Ad spend

In the example, ROAS is $7,200 ÷ $2,000 = 3.6, often written as "3.6x". ROAS is useful for comparing ads and audiences inside one platform, but it ignores product costs and creative costs. A ROAS of 3.6 can be very profitable for a software company with a 90% margin and lose money for a business with a 25% margin.

A quick way to link the two is break-even ROAS = 1 ÷ Gross margin. At a 45% margin, break-even ROAS is about 2.2. Below that, the ads lose money on product profit alone, before you count creative or management time.

Common mistakes when measuring marketing ROI

  • Using revenue instead of profit. As the example shows, this can inflate ROI several times over.
  • Leaving out costs. Creative, discounts and your own time are part of the investment.
  • Taking credit for sales that would have happened anyway. If loyal customers use a campaign discount code for a purchase they were already planning, that sale isn't new. Compare against a normal month where you can.
  • Judging too early or too late. Some channels, like SEO and content, take months to pay off. Others fade quickly. Pick a time period that fits the channel and stick to it.
  • Comparing campaigns over different time periods. A 40% return over two years is not better than 30% in three months. Annualized ROI puts them on equal terms, and the ROI calculator shows it when you enter the time period.

To make tracking easier, set it up before the campaign starts. Use a unique discount code or landing page for each channel, add UTM tags to your links so your analytics can tell sources apart, and write down the start and end dates. A simple spreadsheet with one row per campaign (cost, orders, revenue, gross profit, ROI) is enough for most small businesses. After a few months you will see which channels consistently pay for themselves and which only feel busy.

Measure ROI the same way for every campaign, and over time you will build a clear picture of where your marketing budget earns the most. Marketing spend that is never measured is one of the common financial mistakes small business owners make.

Calculate your campaign's ROI

Enter what you spent and the gross profit the campaign brought in. Add the time period to see annualized ROI.