To calculate profit on Shopify, start with gross sales, subtract discounts and refunds to get net sales, subtract cost of goods sold (COGS) to get gross profit, then subtract operating expenses like ad spend and app fees to reach operating profit. The trap that wrecks most store P&Ls: your Shopify payout is not your revenue, and ad spend is not a cost of goods. Get those two placements right and the rest is arithmetic.

Most "how to calculate profit on Shopify" guides hand you a formula and a free calculator, then stop. That's fine until you realize Shopify's dashboard shows you sales and payouts, not profit — and the two numbers you most need to separate are the two it blends together. This is the operator's version: the exact line order, where each cost belongs, and a full worked month you can map onto your own store.

The profit formula Shopify won't show you

Shopify does not surface a true bottom-line profit number on its own. It reports gross sales, it reports the net amount it deposits, and it leaves the reconciliation to you. So the formula you actually run looks like this:

Net sales − COGS = gross profit. Gross profit − operating expenses = operating profit.

Everything below is about putting each dollar on the correct line, because the order and placement are what separate a P&L you can trust from one that quietly lies to you. For the full structure behind this, our ecommerce P&L guide walks the whole statement top to bottom.

Step 1: Start with gross sales, not your payout

The single most common error in Shopify bookkeeping is treating the deposit that hits your bank as "revenue." It isn't.

A Shopify payout is a net settlement. It bundles sales minus processing fees, minus refunds you issued, plus or minus adjustments, chargebacks, gift-card activity, and shipping income — all batched on a rolling delay. A payout almost never equals your sales for the same window.

Book gross sales at the top of your P&L: the full value of orders placed in the month, measured when the sale happens, not when the cash lands. The net payout belongs at the bottom, as a cash consequence — never as your revenue line. Booking the deposit as "sales" understates revenue and hides your fees entirely.

Step 2: Subtract discounts and refunds to reach net sales

From gross sales, subtract two things:

  • Discounts — coupon codes, automatic discounts, sales.
  • Returns and refunds — the value of refunded orders. This is contra-revenue (it reduces revenue), not an expense.

That gives you net sales = gross sales − discounts − refunds. This is your honest top line. One gotcha worth pricing in: when you refund a customer, the original payment processing fee generally is not returned to you, so a refunded order still costs you its fee.

Step 3: Subtract COGS to get gross profit

COGS is the direct cost of the units you actually sold this period. For a print-on-demand store that means the supplier's production charge (blank garment plus printing) and the supplier's shipping to the customer. Many stores also park payment processing fees here — fine, as long as you're consistent month to month.

Shopify Payments charges a percentage plus a fixed fee per transaction, commonly quoted around 2.9% plus 30¢ for online card payments on lower-tier plans, with a $15 fee per chargeback in the US (A2X breaks down the fee structure). Verify your exact rate on your own plan before you lock the number in.

Net sales − COGS = gross profit. Divide gross profit by net sales and you get gross margin % — the core measure of your product economics. If you want this computed automatically from your live orders, the Shopify profit checker shows the approach.

Step 4: Subtract operating expenses to get operating profit

Operating expenses (OpEx) are everything it takes to run the business below the gross-profit line:

  • Ad spend (Meta, Google)
  • Platform and app subscriptions (your Shopify plan, apps, email tool)
  • Software and design tools
  • Contractors, salaries, or owner pay
  • Insurance, domain, and other fixed costs

Gross profit − OpEx = operating profit — the number that tells you whether the business, not just the product, is viable.

Why ad spend goes in OpEx, not COGS

It's tempting to shove ad spend into COGS because it scales with revenue. Don't. Ad spend is paid acquisition, and burying it in COGS inflates your gross margin while hiding that customer acquisition cost is your real risk. Keep it visibly in OpEx so your P&L screams "watch CAC" — because for an ad-driven store, that's exactly the thing to watch.

A full worked month for a POD store

Say you run a t-shirt store doing 300 orders in a month at a ~$32 average order value. Here's the P&L, top to bottom. All figures are illustrative — the point is the structure.

Line Amount
Gross sales (300 × ~$32) $9,600
Less: discounts (a 10%-off code) −$480
Less: refunds (9 orders) −$290
Net sales $8,830
COGS — production (300 × ~$12) −$3,600
COGS — processing (~2.9% + 30¢ × 300) −$346
Gross profit $4,884
Gross margin % 55.3%
OpEx — ad spend (Meta + Google) −$3,000
OpEx — Shopify plan + apps −$180
OpEx — email/design tools −$90
OpEx — owner draw / contractor −$500
Operating profit $1,114
Operating margin % 12.6%

The processing-fee assumption above (~2.9% + 30¢) reflects Shopify Payments' commonly quoted online-card rate; A2X documents the current fee structure, which varies by plan.

Read it the way an operator should: the product is healthy at 55% gross margin, but ad spend eats most of the gross profit. The store nets about $1,114 on $8,830 in net sales. Bump ad costs 20% ($600) and operating profit nearly halves — which is exactly why acquisition cost has to sit visibly in OpEx where it can't hide.

Per-order profit is the number that guides decisions

A monthly operating profit tells you if you survived. Per-order (or per-SKU) profit tells you what to do next. Run the same subtraction on a single order:

$32 sale − $12 product − ~$1.23 processing − blended ad cost per order = your true contribution.

If your blended ad cost is $10 per order, that $32 order contributes about $8.77 before fixed costs. Learn that number per product and you stop guessing which SKUs and which ad sets actually make money. That's the gap between a dashboard average and a decision you can act on.

Profit is not cash — mind the float

Your P&L can show $1,114 profit while your bank account is tight the same week. Profit is booked on the sale date; cash moves on Shopify's payout schedule. Meanwhile ad spend leaves daily and POD suppliers charge you at production — often before the matching payout lands.

The faster you scale ad spend, the wider this float gap gets. A profitable store can still be cash-negative at any given moment because it's continuously pre-funding growth. If this is biting you, cash-flow software for small business is built for exactly this timing problem.

One tax note before you trust the number

Your profit is not the number on your 1099-K. That form reports gross payment volume before fees, refunds, and COGS — not taxable income. And for 2025 and 2026 the federal 1099-K threshold reverted to gross payments over $20,000 and more than 200 transactions, per the IRS FAQ on the reverted threshold. You still owe income tax on actual profit whether or not any form arrives.

This is general information, not tax advice. Rules change and vary by situation — consult a licensed CPA or tax professional before acting. Clean, reconciled books are what let you prove profit at tax time; a good ecommerce bookkeeping service can keep them that way.

How Victor computes this for you

Running these four steps by hand every month, across every order and every ad dollar, is the chore nobody keeps up with. That's the work PodVector AI's AI employee, Victor, does.

Victor connects to your Shopify store, Meta Ads, Google Ads, and your Printify, Printful, or Gelato supplier. He sees every order, every ad dollar, and every supplier cost together, so he computes the true per-order profit on each product — the number this whole article is about. Product costs from your POD supplier are known before the first sale, so margins aren't a guess.

And Victor acts on what he finds. He pauses the losing ad set in Meta, reprices the thin-margin SKU in Shopify, and delivers the monthly profit report to your Google Drive. Put Victor on your store's numbers and get the per-order profit that Shopify won't calculate for you.

FAQs

Does Shopify calculate profit automatically?

No. Shopify reports gross sales and the net amount it deposits to your bank, but it does not produce a true bottom-line profit figure. You have to subtract COGS and operating expenses yourself, or use a tool that pulls your orders, ad spend, and supplier costs together to compute it.

Why doesn't my Shopify payout match my sales?

Because a payout is a net settlement, not revenue. It bundles sales minus processing fees, minus refunds, plus or minus adjustments and chargebacks, batched on a rolling delay. Always book gross sales at the top of your P&L and treat the payout as the cash consequence at the bottom.

Should payment processing fees go in COGS or operating expenses?

Either is defensible — what matters is consistency. Many stores put per-transaction processing fees in COGS because they're a direct cost of each sale; others group them under operating expenses. Pick one placement and keep it the same every month, or your margin trends become meaningless.

Is ad spend a cost of goods sold?

No. Ad spend is paid acquisition and belongs in operating expenses. Putting it in COGS inflates your gross margin and hides the fact that customer acquisition cost is usually the biggest risk in an ad-driven store.

What's a good profit margin for a Shopify store?

There's no universal number — it depends on your pricing, product costs, and acquisition efficiency. The more useful habit is to track two margins separately: gross margin (your product economics) and operating margin (whether the business works after ads and overhead). In the worked example above, a 55% gross margin shrank to a roughly 13% operating margin once ad spend was counted.

How do I calculate profit per order?

Take the order's sale price, then subtract the product cost, the payment processing fee on that order, and the blended ad cost it took to win the customer. What's left is the order's contribution before fixed costs. Doing this per SKU is how you learn which products actually make money.