How to Calculate ROI on Facebook Ad Campaign

Cody Schneider9 min read

Figuring out if your Facebook Ads are actually making you money is the most important part of running them. Pouring cash into campaigns without knowing the return is just gambling. This guide will show you exactly how to calculate the true Return on Investment (ROI) for your Facebook Ad campaigns, going beyond the simple numbers you see in Ads Manager to uncover real profitability.

GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

First, Let's Clear This Up: ROI vs. ROAS

You’ll often see the terms ROI (Return on Investment) and ROAS (Return on Ad Spend) used interchangeably, but they measure two very different things. Understanding the distinction is the first step toward understanding your real performance.

ROAS (Return on Ad Spend) is a simple revenue metric. It measures the gross revenue generated for every dollar you spend on advertising. It's the primary metric you see inside Facebook Ads Manager.

  • Formula: Revenue from Ads / Total Ad Spend
  • Example: If you spend $100 on ads and generate $400 in sales, your ROAS is 4x (or 400%).
  • What it tells you: How effective your ads are at generating top-line revenue.

ROI (Return on Investment) is a profitability metric. It measures the total profit generated after accounting for all costs, not just what you paid Facebook. This is the number that tells you if your business is actually making money from your ads.

  • Formula: (Revenue from Ads - Total Costs) / Total Costs
  • Example: If you spend $100 on ads, have $150 in other costs (like the cost of your product), and generate $400 in sales, your ROI is 0.6x (or 60%).
  • What it tells you: How much actual profit you made from the entire campaign effort.

A high ROAS can look great on the surface, but if your product margins are thin, you could still be losing money. ROI gives you the full, unvarnished truth.

The Formula to Calculate Facebook Ads ROI

The math itself is straightforward. The real work is finding the right numbers to plug in. Here’s the fundamental formula for calculating your campaign ROI:

(Revenue from Campaign - Total Costs) / Total Costs

To get a percentage, you simply multiply the result by 100.

The two key components you need to figure out are Total Revenue from Campaign and Total Costs.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

Step 1: Gathering an Accurate Revenue Figure

Tracking revenue precisely is the bedrock of any good ROI calculation. If your data is wrong here, the entire calculation will be useless. Here’s how to make sure you’re getting clean numbers.

Set Up Impeccable Conversion Tracking

You can't calculate revenue if you aren't tracking when and where sales happen. The goal is to accurately attribute a sale back to a specific ad click.

  • The Meta Pixel: This is a snippet of code you place on your website. It tracks user actions (like 'Add to Cart', 'Initiate Checkout', and most importantly, 'Purchase') and sends that data back to Ads Manager. Make sure your "Purchase" standard event is set up to pass back the transaction value.
  • Conversions API (CAPI): Since browser changes (like iOS 14) can sometimes block the Pixel, the Conversions API is essential. It creates a server-to-server connection between your website (e.g., Shopify, WooCommerce) and Facebook. This provides a more reliable data stream, filling in the gaps the Pixel might miss.

Your goal is to have both the Pixel and CAPI working together for the most complete sales data possible.

Finding Revenue Data in Ads Manager

Once tracking is in place, you can find your revenue data directly within Facebook Ads Manager. Navigate to your campaigns, customize your columns, and add metrics like:

  • Website Purchase Conversion Value: Shows the total value of purchases attributed to your ads.
  • ROAS (Return on Ad Spend): While we're calculating true ROI, this column is a quick way to see what Facebook reports as your return.

Step 2: Calculating Your Total Costs

This is where most people get tripped up, and the difference between ROAS and ROI becomes crystal clear. Your total costs are much more than just your ad spend.

A. Ad Spend

This is the easy part. It's the "Amount Spent" column in your Ads Manager. This is the direct cost you've paid Meta to run your ads over a specific period.

B. Cost of Goods Sold (COGS)

If you're selling a physical product, this is the most critical cost outside of ad spend. COGS is what it costs you to produce or acquire the products you sold through your ads. For an e-commerce store, this might include manufacturing, shipping, packaging, and raw materials. For services, this might be the cost of software or labor required to deliver the service.

C. Agency Fees, Software, and Overheads

Did you account for all the other expenses that go into running a campaign? Be honest with yourself and include:

  • Agency or Freelancer Fees: If you hired someone to manage your ads, their fee is a direct cost of the campaign.
  • Software and Tools: Add in the cost of any tools used for creative design (e.g., Canva Pro, Adobe Creative Cloud), reporting, or automation.
  • Human Resources: Did an in-house team member spend time on the campaign? Their salary for that time is a cost. Even if it's you, your time has value. Assign a reasonable hourly rate to the time you spent building the ads, writing copy, and analyzing results.
  • Shipping and Fulfillment Costs: Any costs associated with getting the product into the customer's hands.
  • Payment Processing Fees: Platforms like Stripe and PayPal take a percentage of every transaction. This should be factored in.

Forgetting these "hidden" costs is what leads to looking at a 4x ROAS in Ads Manager and wondering why your bank account isn't growing.

GraphedGraphed

Your AI Data Analyst to Create Live Dashboards

Connect your data sources and let AI build beautiful, real-time dashboards for you in seconds.

Watch Graphed demo video

Putting It All Together: A Practical Example

Let's imagine you run an e-commerce store called "Crafty Mugs Co." You just finished a month-long Facebook campaign. Let's calculate the ROI.

Revenue Data:

  • Total Website Purchase Conversion Value (from Ads Manager): $8,000

Cost Data:

  • Total Ad Spend (from Ads Manager): $2,000
  • Cost of Mugs Sold (COGS): You have a 70% product margin, which means your COGS is 30% of revenue. So, $8,000 x 0.30 = $2,400
  • Graphic Designer Fee for Ad Creative: $250
  • Shipping and Fulfillment Costs: $400
  • Payment Processing Fees (2.9% of Revenue): $8,000 x 0.029 = $232

Calculating Total Costs:

Total Costs = Ad Spend + COGS + Designer + Shipping + Processing Fees Total Costs = $2,000 + $2,400 + $250 + $400 + $232 = $5,282

Calculating ROI:

($8,000 - $5,282) / $5,282 = 0.51

Your ROI is 0.51, or 51%. This means for every dollar you invested in the entire campaign effort, you made your dollar back plus an additional 51 cents in pure profit.

Now, compare this to the simple ROAS: $8,000 / $2,000 = 4x. You can see how a 4x ROAS can still feel good, while a 51% ROI is the actual business-building metric you should care about.

Going Deeper: Advanced Considerations for ROI

For some businesses, especially those with recurring revenue or long sales cycles, a simple, immediate ROI calculation doesn't tell the full story.

Customer Lifetime Value (CLV)

What if that one purchase from your ad turns into a lifelong customer? If you sell subscription products or items that people buy repeatedly, you should graduate from calculating ROI on the first purchase to calculating it based on Customer Lifetime Value.

A campaign that acquires a customer for $50 who only makes an initial purchase of $60 might have a tiny initial ROI. But if that same customer goes on to spend $500 over the next two years, the ROI of that initial acquisition ad is phenomenal. Understanding your CLV helps you justify higher initial ad spends to acquire the right kind of customer.

Free PDF Guide

AI for Data Analysis Crash Course

Learn how to get AI to do data analysis for you — the best tools, prompts, and workflows to go from raw data to insights without writing a single line of code.

Attribution Windows

Facebook's default attribution setting is "7-day click or 1-day view." This means if someone clicks your ad and buys within 7 days, or sees your ad (without clicking) and buys within 1 day, the sale is attributed to your campaign. While this is the industry standard, it's not perfect.

Be aware that the user journey is messy. Someone might see your Facebook ad, later see you on TikTok, get an email, and then Google your brand name before finally buying. A real understanding of ROI involves acknowledging that multiple channels contribute to a sale, even if Facebook takes the credit.

So, What Is a Good ROI for Facebook Ads?

There is no magic number. A "good" ROI depends entirely on your business model, profit margins, and overall financial goals.

A business with very high margins (like digital products) might be thrilled with a 30% ROI, while a low-margin e-commerce store may need to see 100%+ ROI to feel viable. The key is that any positive ROI is good. A zero means you broke even, and a negative means you lost money on the campaign.

Your goal is to find a stable, positive ROI that allows you to reinvest profits back into your campaigns, scaling your business sustainably.

Final Thoughts

Calculating your real Facebook Ads ROI moves you from being a media buyer to a business strategist. By looking beyond simple ROAS and factoring in your total costs - from product to people - you get a true picture of your campaign's profitability and can make smarter decisions about your marketing budget.

Of course, the manual reporting drudgery of pulling Facebook data, grabbing Shopify revenue, and wrestling with spreadsheets to get these numbers is a massive time-sink. We built Graphed to automate this entire process. By connecting directly to your ad platforms and e-commerce stores, we pull all this data into one place for you. You can then just ask in plain English - "What was the total ROI for our Memorial Day campaign?" - and get an instant, real-time dashboard that accounts for your ad spend, revenue, and more, all without touching a single CSV file.

Related Articles