Guides / Financial 8 min read
Guide

How to Calculate Profit Margins on Shopify

Master the formulas behind gross, net, and operating margins so you always know exactly how much money your store is making.

Revenue is vanity, profit is sanity. Many Shopify merchants obsess over top-line sales while ignoring the margins that actually determine whether their business survives. Understanding your profit margins lets you price products correctly, spot unprofitable SKUs, and make smarter decisions about ads and inventory. This guide walks you through the three key margin calculations every store owner needs.

In this guide

  1. Understand the three margin types
  2. Calculate your gross profit margin
  3. Factor in operating expenses
  4. Calculate net profit margin
  5. Benchmark and optimise per product
Step 1

Understand the three margin types

Gross margin measures revenue minus cost of goods sold (COGS). Operating margin subtracts operating expenses like ads, software, and shipping. Net margin is your true bottom line after all costs including taxes and fees.

Pro Tip

Most Shopify merchants should target a gross margin of 50-70% and a net margin of 10-20%.

Step 2

Calculate your gross profit margin

Use the formula: (Revenue - COGS) / Revenue x 100. For example, if you sell a product for $50 and it costs $15 to source, your gross margin is 70%. Make sure COGS includes product cost, packaging, and inbound shipping.

Step 3

Factor in operating expenses

List every recurring cost: Shopify subscription, apps, ad spend, transaction fees, outbound shipping, and labour. Subtract these from gross profit to get operating profit. Divide by revenue for your operating margin percentage.

Pro Tip

Shopify charges 2.9% + 30c per transaction on the Basic plan. Don't forget to include this.

Step 4

Calculate net profit margin

Subtract taxes, loan interest, and any one-off costs from operating profit. Divide by revenue. This is the number that tells you how much of every dollar you actually keep. Track it monthly to spot trends early.

Step 5

Benchmark and optimise per product

Calculate margins at the individual product level, not just store-wide. Kill or reprice products with margins below your threshold. Double down on high-margin winners with more ad budget and better placement.

Pro Tip

Export your Shopify orders as CSV and add a COGS column to calculate per-product margins in a spreadsheet.

Key Takeaways

How StoreLyst helps

StoreLyst automatically calculates gross and net margins for every product and order. The built-in P&L dashboard gives you real-time visibility into your true profitability without spreadsheets.

Frequently asked questions

What is a good profit margin for a Shopify store?

A healthy Shopify store typically has a gross margin of 50-70% and a net margin of 10-20%. Dropshipping stores often have lower margins (15-30% gross) while private-label brands can reach 60-80% gross.

How do I calculate profit margin on a single product?

Subtract the total cost (product cost + shipping + packaging + transaction fees) from the selling price, then divide by the selling price and multiply by 100. This gives you the margin percentage for that specific SKU.

Should I use markup or margin?

Margin is more useful for business decisions because it tells you what percentage of revenue is profit. Markup tells you how much you added on top of cost. A 100% markup equals a 50% margin. Use margin for reporting and markup for pricing.

How often should I review my profit margins?

Review store-wide margins monthly and per-product margins quarterly. If you run frequent promotions or your supplier costs change often, check weekly. Sudden margin drops usually signal a pricing or cost issue that needs immediate attention.

Put this guide into practice

StoreLyst gives you the tools to implement everything you just learned — automatically.