For ecommerce operators, profit margin is the metric that separates revenue from actual earnings. A Shopify store doing $100,000 in monthly revenue with a 5% net profit margin keeps $5,000. The same store at a 25% margin keeps $25,000. Same revenue, very different business.
Profit margin is calculated at three levels. Gross profit margin looks at revenue minus the cost of goods sold (COGS). Operating profit margin includes operating expenses like ad spend, software, and salaries. Net profit margin includes everything: COGS, operating expenses, taxes, interest, and one-off costs. Each level answers a different question, and ecommerce store owners need to track all three.
Why does profit margin matter for ecommerce?
Revenue numbers in ecommerce are misleading without margin. A dropshipping store doing $1 million in revenue can be losing money if ad spend, COGS, and platform fees consume more than 100% of the sale price. I’ve seen stores hit big revenue days that turned out to be unprofitable once the full P&L came in.
For Shopify operators specifically, profit margin determines three things:
- How much you can spend on ads. A higher margin means more room for paid traffic before the unit economics break. A 10% margin gives you almost no room to acquire customers profitably. A 30% margin lets you scale aggressively.
- Whether you can scale. Stores with thin margins struggle to reinvest in inventory, ads, and team. Stores with healthy margins compound.
- What products are actually working. Two products doing the same revenue can have very different margins. The one with the better margin is the one you double down on.
The mistake most dropshippers make is optimizing for revenue first and margin second. The stores that survive past their first scaling phase do the opposite.
How do you calculate profit margin?
To calculate profit margin, divide your profit (gross, operating, or net depending on which margin you’re calculating) by your total revenue and multiply by 100. The formula is: (Profit ÷ Revenue) × 100. The result is the percentage of every revenue dollar your business keeps as profit at that level.
The calculation is the same regardless of which type of margin you’re measuring. What changes is what you subtract from revenue first.
- Determine the relevant profit number.
- Gross profit margin: Revenue – COGS
- Operating profit margin: Revenue – COGS – Operating Expenses
- Net profit margin: Revenue – COGS – Operating Expenses – Taxes – Interest
- Divide by total revenue.
- Multiply by 100 to get the percentage.
A worked example for a Shopify store doing $50,000 in monthly revenue:
- COGS (product cost + shipping from supplier): $20,000
- Operating expenses (ads, apps, transaction fees, salaries): $20,000
- Taxes and interest: $2,500
Gross profit margin = ($50,000 – $20,000) ÷ $50,000 × 100 = 60% Operating profit margin = ($50,000 – $20,000 – $20,000) ÷ $50,000 × 100 = 20% Net profit margin = ($50,000 – $20,000 – $20,000 – $2,500) ÷ $50,000 × 100 = 15%
Same store, three different margin numbers. The 60% gross margin looks great. The 15% net margin is where the actual money lives. Operators who only look at gross margin overestimate their profitability and overspend on ads.
What are the three types of profit margin?
Each type of profit margin answers a different question about your store’s profitability. Most ecommerce operators only check the bottom-line number, but tracking all three is what tells you where the money is leaking.
Gross profit margin
Gross profit margin measures the percentage of revenue left after subtracting the cost of goods sold. For a dropshipping store, that’s the product cost plus the shipping cost from your supplier. It tells you how much room you have to cover everything else.
A typical dropshipping gross margin sits between 50% and 70%. Below 40% gross margin and the store is structurally unprofitable in most cases. There’s not enough room left for ad spend, transaction fees, and overhead.
Operating profit margin
Operating profit margin is gross profit minus operating expenses: ad spend, Shopify subscription, app fees, transaction fees, salaries, and overhead. This is the margin that tells you whether your store is operationally profitable before tax.
For ecommerce stores, ad spend is usually the biggest line item under operating expenses. A store running Google Ads at a 3 ROAS is spending a third of its revenue on traffic. That cost lives here.
Net profit margin
Net profit margin is the bottom-line number: revenue minus everything, including taxes and interest. It’s what you actually keep at the end of the period.
Healthy ecommerce stores typically run at 10% to 20% net profit margin. Premium brands and high-ticket sellers can push higher. Most dropshipping stores sit at 5% to 15% when they’re profitable, which is why ad efficiency matters so much.
What is a good profit margin in ecommerce?
A good profit margin in ecommerce depends on the business model. Dropshipping stores typically run at 10% to 20% net profit margin when scaled. Branded ecommerce stores with stronger pricing power often hit 20% to 30% net. A 5% net margin is the lower end of viable; below that, the business has no buffer for product or ad performance shifts.
Industry benchmarks vary widely. Across industries, a 10% net profit margin is generally considered average, 5% is low, and 20% or higher is strong. Retail and grocery often run at 5% or below. Software and consulting frequently exceed 20%.
Ecommerce sits in the middle. The exact number depends on what kind of store you’re running:
- Dropshipping stores typically see 10% to 20% net once dialed in. The supplier model keeps COGS predictable, but ad spend is the variable that moves the margin.
- Branded ecommerce can hit 20% to 30% net with stronger pricing and brand equity. Higher AOV and repeat purchases reduce the relative cost of acquisition.
- High-ticket or low-volume stores sometimes run higher gross margins (70%+), but lower volume means fixed costs eat more of the operating margin.
What matters more than hitting a specific number is whether the margin is sustainable at scale. A store at 15% net margin with consistent volume beats a store at 30% net margin that only converts 50 orders a month. For a deeper breakdown of margin in a dropshipping context specifically, see our guide on dropshipping profit margin.