You made $80,000 in revenue last month. Feels good. But after Shopify fees, payment processing, shipping costs, refunds, your cost of goods, and ad spend — how much of that actually ended up in your pocket?
Most Shopify merchants can't answer that question precisely. They track revenue religiously and treat profit as whatever's left over at the end of the month. That's a dangerous way to run a business — and it's why stores with strong revenue numbers still run out of cash.
Here's the full formula for calculating true Shopify profit, and why each step matters more than most merchants realize.
Why Revenue Is the Wrong Number to Watch
Revenue is easy to track and satisfying to report. It goes up when sales go up. The problem is that revenue has almost no relationship to profitability on its own.
A store doing $100,000/month in revenue with 15% net margins makes $15,000. A store doing $40,000/month with 45% net margins makes $18,000. The smaller store is more profitable — but looking at revenue alone, you'd think the opposite.
To know your real profit, you need to subtract six categories of costs. Most merchants only subtract one or two.
The True Profit Formula
Let's go through each one with real numbers so you can see how quickly they compound.
Start With Gross Revenue
This is the total value of orders placed in your store before anything is subtracted. Shopify shows this on your dashboard. Easy.
Running total: $10,000
Subtract Cost of Goods Sold (COGS)
COGS is what you paid to acquire or produce the products you sold. If you sell a $40 product and it cost you $12 to make or buy, your COGS is $12 — and your gross margin on that item is $28 (70%).
COGS is the biggest cost most merchants track incorrectly. Shopify doesn't calculate it automatically — you have to input your product costs manually, and most stores don't bother. The result is a completely false picture of profitability.
A healthy e-commerce COGS is typically 30–50% of revenue. At $10,000 revenue with 40% COGS, you're left with $6,000 in gross profit.
After COGS: $6,000
Subtract Payment Processing Fees
Every transaction costs you money. Shopify Payments charges 2.9% + $0.30 per transaction on the Basic plan. On 100 orders averaging $100 each, that's roughly $320 in processing fees — per week.
Using a third-party payment processor like PayPal or Stripe instead of Shopify Payments? You're also paying Shopify's transaction fee on top: 2% on Basic, 1% on Shopify plan, 0.5% on Advanced.
After processing fees: $5,680
Subtract Actual Shipping Costs
If you charge customers for shipping, that revenue is already in your gross revenue number. But what you paid the carrier is a cost. The difference between what you charged and what you paid is your shipping margin — and for most merchants, it's negative.
Free shipping is a conversion booster, but it's not free to you. If you offer free shipping on orders over $50 and your average carrier cost is $8, every qualifying order costs you $8 that isn't reflected in your revenue.
After shipping: $4,980
Account for Refunds
Refunds hurt twice. You return the sale price to the customer — but you often can't recover the COGS, the original shipping cost, or the payment processing fee. On a $100 refund, you might actually lose $120 when you account for all the costs that don't get reversed.
The average e-commerce refund rate is 20–30%. If your rate is 5% on $10,000 in sales, that's $500 in refunds — but the true cost including non-recoverable fees and COGS is closer to $600.
After refunds: $4,380
Subtract Ad Spend
This is the cost most merchants do subtract — but often in isolation, without understanding how it interacts with margins. Spending $2,000 on Facebook ads that generated $10,000 in revenue looks like a 5x ROAS. But if your profit after all other costs was $4,380, your $2,000 ad spend leaves you with $2,380 net profit — a 23.8% net margin.
That's not bad. But it's also not the "5x return" the ads dashboard showed you.
After ad spend: $2,380
The Real Number
That $10,000 week generated $2,380 in actual profit. Not bad — but a far cry from the $10,000 headline number, and meaningfully different from the $6,000 gross profit after COGS alone.
Why Shopify Doesn't Show You This
Shopify's analytics dashboard is designed around revenue metrics — orders, sessions, conversion rate. That's useful for understanding traffic and sales volume, but it's completely blind to profitability.
There are a few reasons Shopify doesn't show true profit:
- COGS requires your input. Shopify has no way to know what you paid for your inventory — you have to tell it. Most merchants don't.
- Actual shipping costs aren't captured. Shopify knows what you charged for shipping, not what you paid the carrier.
- Payment fees are calculated, not tracked. Shopify Payments does show fee estimates, but third-party processor costs aren't surfaced in analytics.
- Ad spend is external data. Facebook, Google, and TikTok spend doesn't flow into Shopify automatically.
How to Track This Without a Spreadsheet
The manual approach is a spreadsheet that you update weekly with your carrier invoices, ad platform spend reports, and a COGS estimate. It works, but it's error-prone and always a few days behind reality.
The better approach is connecting all these data sources automatically. DataFuse pulls your Shopify order data, calculates COGS using your product costs, computes accurate fee breakdowns, syncs ad spend from Facebook, Google, and TikTok, and shows you true net profit per order, per product, and per day — without any manual work.
The bottom line: Revenue tells you how much people spent in your store. Profit tells you whether your business is actually working. Track both — but make decisions based on profit.
Once you see your true profit number clearly, every business decision gets sharper. You know which products to promote, which ad campaigns to scale, and which costs to attack first. That clarity is worth more than any optimization you can make while flying blind.