How to Calculate Profit on Shopify (The Complete Guide)
Learn how to accurately calculate net profit for Shopify store and understand how each operational cost affects overall profitability.

It's a Tuesday morning. Orders are rolling in. Shopify's dashboard shows a record week.
Then you open your bank account.
The number there doesn't match the number in your head. Not even close.
This happens to more Shopify merchants than most admit. Revenue looks strong. Momentum feels real. But somewhere between the sale and the bank transfer, thousands of dollars disappear into costs that were never properly tracked.
The question every founder eventually asks is deceptively simple: what is my store actually making?
This guide answers that. Not with a shortcut, not with a rule of thumb, but with a complete, step-by-step breakdown of how to calculate true profit on Shopify, from the first dollar of revenue to the final number you actually keep.
TL;DR
Shopify's native dashboard shows revenue, not profit. These are not the same number.
True profit requires layering costs in sequence: product cost, fulfillment, ad spend, operating expenses.
The four profit layers are CM1 (gross profit), CM2 (after fulfillment), CM3 (after ad spend), and net profit (after operating expenses).
Missing even one cost layer gives you a profit number you cannot act on.
Manual calculation works for one snapshot. Ongoing profitability tracking requires automation.
Why Shopify's Default Reports Don't Show You Real Profit
Shopify is built to track sales. It does that exceptionally well. But sales and profit are different things, and Shopify's native analytics won't bridge that gap for you.
Here's what Shopify shows you by default: total sales, gross revenue, orders placed, average order value. Useful, but incomplete.
Here's what Shopify does not automatically calculate: your product costs (Custom COGS), actual shipping cost per order, the margin impact of your discounts, what your refunds cost you net of restocking, how your ad spend hit each order, or your operating overhead per sale.
Strip those out and you often have something dramatically different from what the dashboard implies.
A store generating $90,000 in monthly sales can have a net profit anywhere from $5,000 to $45,000 depending on how costs stack up. Two stores with identical GMV can land at completely different profit margins. The calculation is not optional. It is the only way to know which one you are.
Step 1: Start With Gross Merchandise Value (GMV)
GMV is the total value of all sales made through your Shopify store before any deductions.
It is the ceiling number, not the profit number. Almost every cost in the rest of this guide eats into it.
Formula: GMV = Sales Price x Units Sold
A store selling 1,000 units at a $90 average has a GMV of $90,000. That number looks good on a dashboard. What it means for the business depends entirely on what comes next.
Step 2: Calculate Net Revenue (What Actually Belongs to Your Business)
Before you can calculate profit, you need to know how much revenue is actually yours to keep. Several deductions happen at this stage that merchants regularly underestimate.
Remove taxes and line-item price cuts first
Formula: Gross Revenue = GMV - Taxes - Line-Item Price Cuts
Taxes are collected on behalf of the government. They pass through your account but are not yours. Line-item price cuts are reductions applied at the product level before checkout. Both come out before any profit calculation is meaningful.
Then deduct discounts, refunds, and add shipping revenue
Formula: Net Revenue = Gross Revenue - Discounts - Returns and Refunds + Shipping Revenue Collected
This step is where most merchants understate their real cost structure.
Discounts hurt more than they look. A 20% discount code on a $60 product does not cost $12. It costs $12 plus whatever you pay to fulfill, market, and operate behind that discounted order.
Refunds have two costs: the revenue reversal and the fulfillment cost already incurred. Both come out of margin. Tracking refund volume by product is one of the highest-leverage diagnostics available to a Shopify store.
Shipping revenue (what you charge customers for delivery) goes back in here. Many stores subsidize shipping at a loss. This step reveals by how much.
Net Revenue is the baseline for every profit calculation that follows. All cost deductions apply here. Not to GMV.
A quick note on taxes collected and duties: some merchants want to see these in their P&L for reporting purposes. They can be added back as a separate Total Revenue line. But do not use Total Revenue as the basis for profit calculations. Net Revenue is the right denominator.
Step 3: Calculate Gross Profit (Contribution Margin 1)
CM1, or gross profit, is what's left after subtracting the cost of the products themselves.
Formula: CM1 = Net Revenue - Product COGS
COGS (Cost of Goods Sold) includes everything it costs to get the product into inventory: manufacturing or wholesale cost, inbound freight, import duties, quality inspection fees. If it is a cost that exists because you have the product, it belongs here.
This is the first real test of product economics. A product with a weak CM1 has a structural problem. No amount of marketing efficiency or operational discipline further down the funnel compensates for a product that costs too much relative to its price.
What to watch:
CM1 below 50% on a physical product is worth examining carefully
Heavy discounting paired with high COGS is a double compression hit on margin
Products with strong GMV but weak CM1 hide inside revenue reports undetected, until you do this calculation
Most Shopify merchants know their COGS in general terms. Far fewer track it accurately at the SKU level. That gap is where margin leaks quietly.
Step 4: Calculate Contribution Margin 2 (After Fulfillment)
CM2 is what's left after you've paid to get the order to the customer.
Formula: CM2 = CM1 - Fulfillment Expenses
Fulfillment expenses include: outbound shipping cost per order, packaging and handling, return handling costs, payment processing fees, and any applicable tariffs.
CM2 is the most operationally honest profit metric for a Shopify store. It answers: if I had no ads and no fixed overhead, how much does each order actually contribute?
Payment processing fees are the most commonly missed item here. On a $90 order, Shopify Payments charges roughly 2.4-2.6% plus 30 cents. That is over $2 per order. Across thousands of orders, it is a material cost that most mental models of profitability never account for.
Return handling is the other common gap. Many stores track return rate but not return cost. The actual cost of processing a return, inbound shipping, restocking labor, and potential write-down can run $8-15 per return on top of the revenue reversal.
What CM2 tells you:
If CM2 is negative, the product costs more to make and deliver than the revenue it generates, before a single dollar of marketing has been spent. That is not a marketing problem. That is a product or pricing problem.
If CM2 is positive but thin, you have very little room to run paid acquisition. The ad spend math will not work.
Step 5: Calculate Contribution Margin 3 (After Ad Spend)
CM3 is what's left after paid marketing. It is where the ad spend reality check happens.
Formula: CM3 = CM2 - Ad Spend
Ad spend includes all paid acquisition channels: Meta Ads, Google Ads, TikTok Ads, Pinterest, YouTube, and any direct influencer or affiliate spend.
This is the layer where platform ROAS numbers become dangerous. Meta might report a 4x ROAS on a campaign. Google might report 3.5x on another. Add them together and you have apparently generated 3.7x your revenue, except you haven't. Both platforms take partial credit for the same orders. The actual blended return is lower, often significantly.
The right question at CM3 is not "what is my ROAS?" It is: "after paying for every product, every shipment, and every ad dollar, how much is left per order?"
A worked example
Take two stores, both at $90,000 GMV.
Store A spends $7,000 on ads with lean fulfillment costs. CM3 lands at $40,750 (about 59% of net revenue).
Store B has lower COGS giving it stronger CM1, but spends $10,000 on ads and has higher fulfillment costs. CM3 drops to $39,500 (58%).
Same CM3 percentage, very different cost structures underneath. Which store is easier to scale? Store A. Its ad spend is lower and fulfillment is tighter, giving more room to increase spend without compressing margins further.
CM3 reveals the shape of the problem, not just the size.
Step 6: Calculate Net Profit (The Number You Actually Keep)
Net profit is what remains after every cost of running the business is accounted for.
Formula: Net Profit = CM3 - Operating Expenses
Operating expenses include: employee salaries and contractor fees, software subscriptions, warehouse or office rent, professional service fees, and any non-ad marketing costs not captured in CM3.
This is the number that should match or explain the gap with your bank account.
Operating expenses are where autopilot erodes profitability. Monthly SaaS subscriptions accumulate. Retainers renew. The $299/month tool that was useful in Q1 is still billing in Q4. Most merchants can find $1,000-3,000/month in operating expense reduction without removing anything critical, simply by auditing what is running.
Net Profit Margin = Net Profit / Net Revenue
A $37,150 net profit on $69,250 net revenue is a 53% net margin. A $32,500 net profit on $68,000 net revenue is 48%. Both look similar at the GMV level. The difference is cost discipline at every layer.
The Full Profit Calculation: Side-by-Side Example
Here is how the complete funnel plays out across two stores with identical starting revenue.
Line Item | Store A | Store B |
GMV | $90,000 | $90,000 |
Taxes + Price Cuts | -$15,000 | -$18,000 |
Gross Revenue | $75,000 | $72,000 |
Discounts + Refunds + Shipping Rev | -$5,750 | -$4,000 |
Net Revenue | $69,250 | $68,000 |
Product COGS | -$19,000 | -$15,000 |
CM1 (Gross Profit) | $50,250 (73%) | $53,000 (77%) |
Fulfillment Expenses | -$2,500 | -$3,500 |
CM2 | $47,750 (69%) | $49,500 (73%) |
Ad Spend | -$7,000 | -$10,000 |
CM3 | $40,750 (59%) | $39,500 (58%) |
Operating Expenses | -$3,600 | -$7,000 |
Net Profit | $37,150 (53%) | $32,500 (48%) |
Store B started with better product margins. But higher fulfillment costs, heavier ad spend, and nearly double the operating expenses eroded that advantage entirely. Store A, with tighter cost discipline across fulfillment and operations, finished 5 margin points ahead.
This is the insight the Shopify dashboard cannot give you. Revenue looked identical. Profitability was not.
What Good Profit Margins Look Like for Shopify Stores
Benchmarks vary by category, but here are general ranges for DTC Shopify stores:
CM1 (Gross Profit Margin):
Below 40%: High COGS relative to price. Very limited room to run ads profitably.
40-60%: Workable. Most physical product categories land here.
60%+: Strong product economics. More flexibility for acquisition and operations.
CM2 (After Fulfillment):
Below 30%: Thin. Scaling and spending is difficult.
30-50%: Healthy range for most Shopify stores.
50%+: Lean operations. Good position to increase ad spend.
Net Profit Margin:
Below 10%: Vulnerable. One bad month or a COGS increase causes real damage.
10-20%: Solid for a scaling DTC brand.
20%+: Excellent. Usually indicates strong product margins and disciplined operations.
These are not hard rules. A brand with high LTV and strong repeat purchase rate can operate at lower net margins profitably. But the ranges give you a starting point for diagnosing your own numbers.
Where Shopify Merchants Lose Profit Without Realizing It
Running this calculation once usually surfaces at least one surprise. Here are the most common ones:
Discounts applied without margin modeling. A 20% discount on a product with 45% CM1 takes that margin to 25% before fulfillment costs even apply. The math stops working fast. Most merchants run discount codes without checking CM1 at the discounted price.
Shipping costs are tracked as averages, not actuals. Estimated shipping rates are almost always lower than actual costs. Dimensional weight surcharges, fuel surcharges, and zone-based pricing mean the real cost per shipment typically runs higher than the rate card.
Returns tracked by rate, not by cost. A 12% return rate sounds manageable. A $9 average return processing cost applied to 1,200 monthly orders is $1,296/month in return handling alone, before the revenue reversal.
Operating expenses set and forgotten. Agency retainers, software subscriptions, and tool licenses compound quietly. A quarterly audit of operating expenses typically reveals 10-15% in avoidable spend.
Platform ROAS accepted at face value. If your ad dashboard shows profitable ROAS but your CM3 tells a different story, the platform is probably claiming credit for organic and direct conversions. The CM3 calculation does not have that problem.
How to Track Shopify Profit Ongoing (Not Just Once)
The one-time calculation above gives you a snapshot. Running a profitable store requires tracking these numbers continuously, not just at month-end.
What you need for ongoing tracking:
Accurate COGS per SKU entered in Shopify. If this is missing, the entire calculation rests on estimates. Shopify allows COGS entry at the product variant level. It takes time to set up properly, but it is non-negotiable for accurate reporting.
Actual fulfillment costs per order, not averages. Most 3PLs provide per-order cost data. If yours does not, that is worth asking for directly.
Ad spend pulled at the campaign level, matched to the date range. The challenge is attribution overlap. Meta and Google both claim credit for the same orders. A blended approach is total ad spend divided by attributed orders, this gives a more honest picture than trusting any single platform's ROAS number.
A consistent review cadence. Weekly at minimum for ad spend and CM3. Monthly for the full P&L through to net profit.
Bloom, a profit intelligence layer on top of Shopify, automates this calculation continuously. It pulls real COGS and order data from Shopify, integrates ad spend from Google, Meta, and TikTok, and shows CM1, CM2, CM3, and net profit updated daily. The War Room dashboard surfaces where margin is moving and which cost layer is responsible, so the diagnostic work that normally takes hours happens automatically.

Frequently Asked Questions
How do I find my net profit in Shopify? Shopify's native reports do not calculate net profit. To find it, start from net revenue and subtract product COGS, fulfillment expenses, ad spend, and operating expenses in sequence. This can be done manually using Shopify's export data in a spreadsheet, or automatically with a profit analytics app that integrates COGS and ad spend.
What is a good profit margin for a Shopify store? It depends on category and business model, but a net profit margin of 10-20% is considered solid for a scaling DTC brand. Gross profit margin (CM1) typically runs 40-60% for physical product stores. Below 10% net margin, a store is vulnerable to any meaningful cost increase or demand dip.
Why does my Shopify revenue not match my bank balance? Because revenue and profit are different numbers. Revenue is what customers pay. Profit is what remains after COGS, shipping, payment processing fees, ad spend, refunds, and operating costs. A store with strong revenue and poor cost control will always see a gap between its dashboard and its bank account.
Does Shopify calculate COGS automatically? Shopify allows you to enter COGS at the product variant level, but it does not calculate profitability automatically. You input the cost data, and Shopify's reports use it in limited ways. For a full profit calculation that includes ad spend and operating expenses, a dedicated analytics tool is typically required.
What is the difference between gross profit and net profit on Shopify? Gross profit (CM1) is revenue minus product cost only. Net profit is what remains after every cost including fulfillment, ad spend, and operating expenses has been subtracted. Gross profit tells you whether your product pricing works. Net profit tells you whether your business works.
How does ad spend affect Shopify profitability? Ad spend comes out of margin after product cost and fulfillment (CM2). If your CM2 is 35% and ad spend runs at 25% of revenue, CM3 is 10%. That leaves almost no room for operating expenses before profit disappears. The right way to evaluate ad spend is by its impact on CM3, not by platform ROAS alone.
What costs do most Shopify merchants miss in their profit calculations? The most commonly missed costs are payment processing fees (2-3% of every order), return handling costs beyond the revenue reversal, dimensional weight surcharges in shipping, and operating expenses that accumulate through automatic renewals. Each seems small individually. Together, they regularly account for 5-10 percentage points of margin that merchants assume they have but don't.
What to Do Next
Running this calculation manually once is a good starting point. Building it into how you review your business every week is what separates operators who know their numbers from founders who are surprised by them.
If you want to see this profit funnel applied to your actual Shopify data without building and maintaining a spreadsheet, Bloom has a free trial. It installs on Shopify in a few minutes, connects your COGS and ad spend, and shows your full profit picture updated daily.
If you'd rather have someone walk through your specific numbers first, the consultation demo call is free.
Know Your Real Profit And
The Ads That Actually Sell.
No need to spend. Just try it on your store.




