Profit margin is the share of your revenue that you keep as profit, shown as a percentage. A 20% margin means you keep 20 cents from every dollar of sales. For anyone running Meta ads, the margin sets the ceiling on what a customer can cost you.
Three margins that get mixed up
"Profit margin" is used for three different measures. Each subtracts a different set of costs from revenue.
| Margin | Formula | Costs it subtracts |
|---|---|---|
| Gross margin | (Revenue − cost of goods sold) ÷ revenue | Only the direct cost of making or buying the product |
| Contribution margin | (Revenue − variable costs) ÷ revenue | Product cost plus shipping, payment fees and other costs that rise with each order |
| Net profit margin | Net profit ÷ revenue | Everything: variable costs, rent, salaries, software, ad spend, tax |
Profit margin = profit ÷ revenue
The word "profit" changes with the margin you pick. Always say which one you mean, because the same business can have a 62% gross margin and a 10% net margin at once.
Let Madgicx's AI do the work
Its AI marketer finds what's working and prepares the next move. You approve.
Try for Free ($0 Trial)Worked example
Example. A coffee roaster sells a 12 oz bag for $24.
- Cost of goods sold (beans, roasting, packaging): $9. Gross margin is ($24 − $9) ÷ $24 = 62.5%.
- Variable costs add $4 shipping and $1 in payment fees. Contribution is $24 − $9 − $4 − $1 = $10, so the contribution margin is $10 ÷ $24, about 41.7%.
- In a month with $30,000 of revenue, the business spends $27,000 on everything, ad spend and salaries included. Net profit is $3,000, so the net margin is 10%.
The three answers are all correct. They answer different questions.
Why Meta advertisers need it
Ads Manager shows revenue and ad spend, not your costs. The margin fills that in, and it turns into the target you manage to.
- Break-even ROAS. Divide 1 by the contribution margin. At 41.7%, the roaster breaks even at a return on ad spend of about 2.4. Below it, each sale loses money after ads.
- Allowed cost per sale. Contribution per order, $10 here, is the most the roaster can pay to win a customer and still break even on the first order.
- Product choices. Two products at the same ROAS can have different profit if their margins differ. Push budget toward the one that keeps more of each sale.
Gross margin alone is too generous for this. It ignores shipping and fees, so a break-even ROAS built on it comes out too low. Contribution margin is the better base for ad decisions, and net margin is the check after the month closes.
How to improve a margin
- Raise the price or sell bundles, which lifts average order value without adding a shipping cost per item.
- Cut product or shipping costs through supplier terms, packaging or carrier choice.
- Lower returns, which erase both the sale and the shipping you already paid.
- Lower the cost of winning customers, so more of the contribution margin is left after ads.
A higher margin makes every target easier. A store at 50% breaks even at a ROAS of 2, while one at 25% needs 4.
In Madgicx. AI Marketer audits your Meta ad account and prepares budget and creative changes for you to approve. You decide the ROAS floor from your margin and tell the AI where the line is.
FAQ
What is a good profit margin?
It varies by business, so there is no single answer. For ads, the useful question is whether your contribution margin is high enough to leave room after ad spend. A margin that breaks even at a ROAS you can't reach is too thin.
What is the difference between gross margin and net margin?
Gross margin subtracts only the direct cost of the product. Net margin subtracts every cost of running the business, including ads, salaries and rent. Gross margin is always the larger of the two.
How do you calculate profit margin?
Subtract the relevant costs from revenue, then divide by revenue. For a $24 bag with $14 of product, shipping and fee costs ($9 + $4 + $1), the margin is ($24 − $14) ÷ $24, or 41.7%.
Is profit margin the same as markup?
No. Markup divides profit by cost, margin divides it by price. A product bought for $9 and sold for $24 has a markup of about 167% and a margin of 62.5%.
Which margin should I use for break-even ROAS?
Use contribution margin, because it includes the costs that rise with every order. Your ROAS target can then start from 1 divided by that margin.