To prepare a statement of profit and loss, pick a period (a month works best for a store), then stack the numbers top to bottom: gross sales, minus discounts and refunds, minus cost of goods sold, to get gross profit — then minus operating expenses like ad spend and subscriptions, to get operating profit. The whole job is putting each dollar on the right line, in the right order. The two mistakes that wreck a store's P&L are booking your Shopify payout as revenue and burying ad spend inside cost of goods.

A statement of profit and loss (a P&L, also called an income statement) answers one blunt question: did the store make money this period, and where did the money go? If you already run a store with real orders and real ad spend, you don't need the "what is a P&L" lecture — you need the correct order of the lines and the two or three places ecommerce books quietly go wrong.

This walks through the exact structure, a worked month for an operating store, and the traps the generic guides skip. For the fuller treatment, the ecommerce P&L guide covers the same ground end to end.

The line-by-line structure, in order

A P&L is just a stack. Each line subtracts from the one above it, and the subtotals are the numbers you actually read. Build it in this order:

  1. Gross sales (revenue) — the total value of orders placed in the period, measured when the sale happens, not when cash lands in your bank.
  2. Less: discounts — coupon codes, automatic discounts, sales.
  3. Less: returns and refunds — the value of refunded orders. This reduces revenue (it's "contra-revenue"), it is not an expense.
  4. = Net sales — gross sales minus discounts minus refunds. Your honest top line.
  5. Cost of goods sold (COGS) — the direct cost of the units you sold: for print-on-demand, the supplier's production charge plus their shipping to the customer, and optionally payment processing.
  6. = Gross profit — net sales minus COGS. Divide by net sales for your gross margin percent, the measure of product economics.
  7. Operating expenses (OpEx) — everything else it takes to run the business: ad spend, your Shopify plan and apps, software, contractors, owner pay.
  8. = Operating profit — gross profit minus OpEx. This tells you if the business works, not just the product.
  9. Below operating profit — interest and taxes come off here to reach net profit, the bottom line.

The one rule that decides every judgment call: direct, per-unit costs go in COGS; costs that keep the business running regardless of any single sale go in OpEx. Pick a treatment for borderline items like processing fees and keep it consistent, or your month-to-month trends become noise.

Step by step: prepare the statement

1. Pick the period. Monthly is right for a store — it's short enough to catch a problem and long enough to smooth out daily swings.

2. Pull gross sales on a sales basis. Use the value of orders placed in the period. Do not start from your bank deposits (more on why below).

3. Subtract discounts and refunds to land on net sales.

4. Total your COGS for the units sold — supplier production and shipping for the orders in the period, not what you spent restocking or the cost of unsold inventory.

5. Subtract COGS to get gross profit, and note the margin.

6. List every operating expense and subtract to get operating profit.

That's the whole mechanic. The hard part isn't arithmetic — it's getting the inputs on the right lines.

Worked example: one month, operating store

Say you run a t-shirt store doing about 300 orders a month at a roughly $32 average order value, with ad spend split across Meta and Google. All figures below are illustrative, built from the store's own numbers.

Line Amount
Gross sales (300 orders × ~$32) $9,600
Less: discounts (a 10%-off code) −$480
Less: refunds (9 orders) −$290
Net sales $8,830
COGS — POD production + supplier shipping (300 × ~$12) −$3,600
COGS — payment processing −$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 line uses the common Shopify Payments online-card rate of 2.9% plus 30 cents per transaction, per A2X's breakdown of Shopify fees: about $280 on $9,600 of card volume plus $0.30 × 300 orders, roughly $346. Verify the exact rate for your plan on Shopify's pricing page before you lock it in — it drops on higher tiers.

Now read it. The product is healthy at 55.3% gross margin. But ad spend eats most of the gross profit: the store nets about $1,114 on $8,830 of net sales. Push ad costs up 20% — another $600 — and operating profit nearly halves. That's exactly why ad spend sits in OpEx where you can see it, and never inside COGS. If you want the barebones version first, the simple profit and loss statement example walks a smaller store through the same stack.

One more thing this statement does not show: cash. You can post $1,114 of profit and still be short this week, because profit is booked on the sale date while cash moves on the payout schedule.

Trap one: your Shopify payout is not your revenue

This is the single most common way a store P&L goes wrong. The deposit Shopify drops into your bank is a net settlement — sales minus processing fees, minus refunds, plus or minus adjustments and chargebacks — paid on a rolling delay, commonly about two business days after the order in the US, which varies by plan and account per A2X. A payout almost never equals your sales for the same calendar window.

Book the payout as "sales" and you understate revenue, hide your fees entirely, and build a P&L that can't be reconciled. Instead: book gross sales at the top, record fees and refunds on their own lines, and treat the net payout as a cash consequence at the bottom — not a revenue figure.

Trap two: ad spend belongs in OpEx

Paid acquisition scales with revenue, which tempts sellers to file it under cost of goods. Don't. Burying ad spend in COGS inflates your gross margin and hides that customer acquisition cost — not production — is the real risk in an ad-driven store. Keep it visibly in operating expenses so the P&L screams the truth when CAC creeps up.

A related gotcha: refunds. When you refund an order, the original processing fee generally isn't returned to you, so a refunded $32 order still costs you its roughly $1.23 fee. Track the refund as contra-revenue and leave the fee where it was booked.

Let Victor build and read the P&L for you

Pulling gross sales, splitting each payout back into sales and fees, and tagging every expense to the right line is the grind that keeps most owners from running a monthly P&L at all. This is what PodVector AI's Victor does. Victor is an AI employee who connects to Shopify, Meta Ads, Google Ads, Printify, Printful, Gelato and Klaviyo, so he sees every order, every ad dollar and every supplier cost together and computes the true per-order profit behind each line.

Victor doesn't stop at the statement. He pauses the ad set that's dragging operating profit, reprices the thin-margin SKUs, and delivers the finished report to your Google Drive. Because product costs come straight from Printify, Printful and Gelato, he knows the COGS on each item before the first sale — no waiting on history. Put Victor to work on your store and get the monthly P&L without the bookkeeping.

If cash timing is your real worry, the layer on top of the P&L is cash flow — see the rundown of cash flow software for small business for tools that track the gap between paying for ads and getting paid out.

This is general information, not tax advice. Rules change and vary by situation — consult a licensed CPA or tax professional before acting.

FAQs

What's the difference between gross sales and net sales?

Gross sales is the total value of orders before anything is taken out. Net sales is gross sales minus discounts and minus returns and refunds. Net sales is the honest top line you build the rest of the P&L on, because it reflects what customers actually kept and paid.

Should payment processing fees go in COGS or operating expenses?

Either is defensible — fees are a judgment call. Many ecommerce P&Ls put them in COGS because they're per-transaction and scale directly with each sale, as in the worked example above. The only hard rule is consistency: pick one spot and keep it there every month, or your gross margin trend becomes meaningless.

Why does my Shopify payout never match my sales?

Because a payout is a netted settlement, not a sales report. It bundles sales minus fees, minus refunds, plus or minus adjustments and chargebacks, and it arrives on a delay — commonly around two business days in the US per A2X, covering a rolling prior window rather than your calendar month. Book gross sales at the top and treat the payout as the cash result at the bottom.

How often should I prepare a profit and loss statement for my store?

Monthly. A month is short enough to catch a margin or CAC problem while you can still act on it, and long enough that one slow weekend doesn't distort the picture. Quarterly and annual P&Ls are just your monthly statements rolled up.

Can a store be profitable on its P&L and still run out of cash?

Yes. Profit is booked on the sale date; cash moves on the payout schedule. A growing store that pays for ads today but collects payouts days later can be fully profitable on paper and still cash-short at any given moment — which is why the P&L and a cash flow view are two different tools you need side by side.