Shopify profit calculator.
Profit is revenue minus product cost, shipping, fees and ad spend.
Percent of revenue.
Apps, packaging, refunds.
Profit after ads
$6,975.00
The formula.
- Profit = revenue − product cost − shipping − fees − other − ad spend
- Margin = profit ÷ revenue
- POAS = profit before ad spend ÷ ad spend
Example
$25,000 revenue, $9,000 product, $2,000 shipping, 2.9% fees ($725), $300 other, $6,000 ads.
- $25,000 − $9,000 − $2,000 − $725 − $300 = $12,975 before ads
- $12,975 − $6,000 = $6,975 profit
- $6,975 ÷ $25,000 = 27.9% margin
- $12,975 ÷ $6,000 = 2.16
Profit = $6,975, margin 27.9%, POAS 2.16x
What good looks like.
- POAS above 1.0x means each ad dollar earns back more profit than it costs.
- Margin varies by category. Track yours over time.
- Include refunds. Revenue that gets returned is not profit.
Common mistakes.
- Using list price when discounts brought revenue down.
- Leaving out shipping you pay.
- Reading ROAS as profit. A 3x ROAS can still lose money.
Profit after every ad.
This calculator uses the numbers you type. DATALYR shows gross profit, POAS and profit after ad spend for each campaign on Shopify.
Questions, answered.
Contact usSubtract product cost, shipping, payment fees, other costs and ad spend from revenue.
Profit on ad spend: profit before ad spend divided by ad spend. Above 1.0x, ads pay for themselves.
Yes. Add them to other costs, or subtract them from revenue first.
They depend on your plan and region. Check your Shopify billing settings and enter the rate.
More free tools.

See what really drives revenue.
Real-time attribution, analytics and conversions for every channel, campaign and ad, ready for your team and your agents.