Profit Margin Calculator

Enter selling price, cost of goods and ad cost per order. Get gross margin, contribution margin after ads, and the break-even CPA that order can carry.

Answers as you type · Formula shown, not hidden · Free, no sign-up

01 Your numbers
Updates as you type

What the customer pays for one order.

Product cost, shipping into stock, payment fees.

Optional. Your current CPA or blended ad cost.

Gross margin % = (price − COGS) ÷ price × 100. Contribution margin subtracts ad cost too. Break-even CPA is price − COGS: the most ads can cost before the order loses money.
02 Gross margin
60.0%
$48.00 gross profit per order
Contribution margin
41.3%
Break-even CPA
$48.00
Contribution after ads
$33.00
Gross profit
$48.00

Each order leaves about $33.00 after ads. Stay under $48.00 CPA to keep that contribution positive.

Want these numbers checked against your live accounts?

The calculator gives you the number instantly. Leave your email and we will look at your actual accounts and send back what we would change first.

A person reads your numbers and replies. No drip sequence.

01Profit Margin Calculator

How it is calculated

Gross margin % = (price − cost of goods) ÷ price × 100. Contribution margin % = (price − COGS − ad cost per order) ÷ price × 100. Break-even CPA = price − COGS: the most advertising can cost before that order loses money.

Use landed cost of goods — product, inbound shipping, payment fees and expected returns — not the factory quote alone. A thin true margin is what makes a “cheap” CPA expensive.

02Profit Margin Calculator

Why contribution margin matters for ads

Gross margin says whether the product makes money before marketing. Contribution after ads says whether the acquisition channel does. Scale only while contribution stays positive, or while LTV clearly pays back a first-order loss.

03Profit Margin Calculator

A worked example

An $80 product that costs $32 to fulfil has a $48 gross profit and a 60% gross margin. At a $15 CPA, contribution is $33 and contribution margin is 41.25%. Break-even CPA is $48 — above that, every order loses money on the first purchase.

Pull your real numbers from your ad account

Skip the typing. Connect Meta, Google, TikTok or LinkedIn and Sprites reads your actual spend, impressions, clicks and conversions, then shows where they sit against the ranges above.

Connect your account

Embed this calculator

Put the Profit Margin Calculator on your own site or blog. Paste this HTML where you want it to appear. It runs in the reader's browser and needs no account.

<iframe src="https://www.sprites.ai/embed/profit-margin-calculator" title="Profit Margin Calculator" width="100%" height="620" style="border:0;max-width:720px" loading="lazy"></iframe>
<p style="font-size:13px"><a href="https://www.sprites.ai/tools/profit-margin-calculator">Profit Margin Calculator</a> by Sprites</p>

Questions, answered

What people ask about the profit margin calculator.

Runs on the official partner APIs
GoogleMetaLinkedInTikTokRedditMicrosoft Ads
Still deciding?

See it on your own ad accounts in a short demo, or try every part free for 7 days.

How do you calculate gross margin?

Subtract cost of goods from selling price, divide by selling price, and multiply by 100. A $100 product that costs $40 to make has a 60% gross margin.

What is contribution margin?

Gross profit minus the variable costs of acquiring the sale — here, ad cost per order. It is the money left to cover overhead and profit after ads.

What is break-even CPA?

Price minus cost of goods. It is the highest cost per acquisition at which the order still breaks even before overhead.

Should I include shipping in cost of goods?

Yes, if you pay it. Landed cost — product, inbound freight, payment fees and a returns allowance — is the COGS that belongs in this calculator.

More free tools

Your best ads are
one brief away

Research, creatives and media buying, run by one agent.

7-day trial · cancel anytime · or book a demo
Whatnot
Attio
Plaud
Framer
Gushwork