How to calculate profit margin
To calculate profit margin, divide your profit by revenue and multiply by 100:
Profit margin = (revenue − costs) / revenue × 100
The profit margin formula measures the percentage of revenue that remains as profit after you subtract costs. There are three types of profit margin to track, each offering a different view of your business finances.
1. Gross profit margin
Gross profit margin shows how much you earn from sales after subtracting the cost of goods sold (COGS). COGS includes manufacturing, raw materials, and direct labor.
Gross profit margin = [(revenue - COGS) / revenue] × 100
Example: You sell a product for $50, and it costs you $20 to source it: ($50 - $20) / $50 × 100 = 60% gross profit margin. This means you keep $0.60 of every dollar earned before accounting for operating expenses like marketing, shipping, and software.
2. Operating profit margin
Operating profit margin factors in the day-to-day costs of running your business: marketing, shipping, warehousing, software subscriptions, and employee wages.
Operating profit margin = [(revenue - COGS - operating expenses) /
revenue] × 100
Example: Your monthly revenue is $25,000. COGS is $10,000, and operating expenses (ads, shipping, software) total $8,000: ($25,000 - $10,000 - $8,000) / $25,000 × 100 = 28% operating profit margin.
3. Net profit margin
Net profit margin accounts for all expenses, including taxes and interest. This is the number that shows what you earn after all expenses.
Net profit margin = (net profit / revenue) × 100
Example: Your ecommerce business generates $100,000 in annual revenue. After COGS ($40,000), operating expenses ($35,000), taxes ($5,000), and interest ($2,000), your net profit is $18,000: $18,000 / $100,000 × 100 = 18% net profit margin.
Step-by-step walkthrough: Calculate margin for a sample product
Here’s how to calculate margin from start to finish using a single product as an example. The costs below are hypothetical and for illustration only—your actual costs will depend on your suppliers, fulfillment method, and product category.
Example product: Stainless steel water bottle selling for $35
Step 1: Identify your revenue per unit
Selling price = $35
Step 2: Calculate COGS
- Manufacturing cost: $8
- Packaging: $2
- Inbound shipping from supplier: $1.50
- Total COGS: $11.50
Step 3: Calculate gross profit margin
($35 - $11.50) / $35 × 100 = 67.1% gross profit margin
Step 4: Factor in operating costs per unit
- Fulfillment and outbound shipping: $5
- Online store selling fees (varies by category and platform): $5.25
- Advertising cost per unit (estimated): $3.50
- Returns and customer service allocation: $1
- Total operating costs per unit: $14.75
Step 5: Calculate operating profit margin
($35 - $11.50 - $14.75) / $35 × 100 = 25% operating profit margin
Step 6: Estimate net profit margin
After taxes and any loan interest (~$1.50 per unit):
($35 - $11.50 - $14.75 - $1.50) / $35 × 100 = 20.7% net profit margin
What is a good profit margin?
The answer depends on your product category, business model, and growth stage.
Note: The following ranges are general industry estimates based on publicly available data. Your margins will vary based on your specific costs, pricing, fulfillment method, and competitive environment.
| Category | Typical gross profit margin | Typical net profit margin |
| Apparel and fashion | 45%–65% | 10%–15% |
| Beauty and personal care | 60%–80% | 15%–25% |
| Electronics and gadgets | 15%–30% | 5%–10% |
| Home and kitchen | 40%–55% | 10%–18% |
| Health and wellness supplements | 50%–70% | 15%–20% |
| Pet products | 40%–60% | 12%–18% |
| Digital products (ebooks, courses) | 80%–95% | 40%–70% |
| Toys and games | 35%–50% | 8%–15% |
Business model also matters:
- Private-label products: 40%–60% gross margins, since you control pricing and sourcing
- Wholesale and reselling: 20%–40% gross margins, limited by supplier pricing
- Dropshipping: 15%–25% gross margins, lower because you don’t buy inventory in bulk
- Handmade products: 50%–70% gross margins, though labor costs are often underestimated
Many ecommerce businesses aim for a net profit margin in the range of 10%–20%, though results vary widely. If your margins are lower while you build your customer base, that can be normal, but track the trend to confirm margins improve as you scale.
7 strategies to improve your ecommerce profit margins
1. Negotiate your cost of goods sold
As order volumes grow, renegotiate supplier pricing. Request volume discounts, longer payment terms, or reduced minimums. Compare multiple suppliers and consider alternative regions for manufacturing. A reduction in COGS can have a meaningful impact on your profit margin.
2. Use value-based pricing instead of cost-plus
Price based on the value your product provides to customers, not based on a fixed markup over cost. Research competitor pricing, read customer reviews to understand what buyers prioritize, and test different price points. A modest price increase that doesn’t reduce sales volume can meaningfully improve your margins.
3. Increase average order value
Spreading fixed costs (payment processing, shipping, packaging) across a larger order improves margin per transaction. Strategies that work:
- Product bundles with a small combined discount
- Free shipping thresholds set above your current average order value
- Complementary product recommendations at checkout
- Volume discounts for multi-unit purchases
4. Reduce fulfillment and shipping costs
Fulfillment can be the second-largest cost after COGS. Options to reduce it:
- Use Fulfillment by Amazon (FBA) to access negotiated carrier rates, which can help reduce per-unit shipping costs.
- Optimize product packaging to reduce dimensional weight charges.
- Consolidate shipments to fulfillment centers during off-peak periods.
- Evaluate Multichannel Fulfillment if you sell across multiple channels.
5. Cut low-margin products from your catalog
Audit your product performance quarterly. Products with consistently low margins that don’t serve a strategic purpose (like driving traffic to higher-margin products) cost more than they earn. Redirect that advertising spend and inventory investment toward products with stronger margins.
6. Invest in customer retention
Repeat customers are generally less expensive to reach than new ones. They also tend to spend more per order and require less advertising spend to convert. Build retention with:
- Personalized follow-up emails after purchase
- Loyalty incentives for repeat orders
- Subscription options for consumable products
- Exceptional post-purchase support
7. Automate repetitive operations
Manual tasks like inventory tracking, repricing, and order processing add labor costs that erode margins. Use automation tools to handle:
- Dynamic repricing based on competition and demand
- Inventory reorder alerts to prevent stock-outs and overstock
- Automated advertising bid adjustments
- Customer communication templates for common inquiries
Use a profit margin calculator to stay on track
Manually calculating margins for every product across every month isn’t practical as you scale. A profit margin calculator helps you:
- Compare profitability across product lines quickly
- Test pricing scenarios before making changes
- Identify which products to promote and which to discontinue
- Prepare monthly profit-and-loss snapshots
Amazon’s Revenue Calculator estimates selling fees, fulfillment costs, and net proceeds for products you plan to sell. Use it to calculate margin before sourcing new products and to compare fulfillment options.
Start calculating your margins
Your profit margin is a measure of your pricing strategy, operational efficiency, and overall business health. Use the profit margin formula to establish a baseline for each product category. Run new product ideas through a profit margin calculator before committing inventory budget. Then apply the improvement strategies above based on where your biggest cost gaps are.
Improving profit margins is an ongoing process. Review your numbers monthly, test new approaches, and adjust as your costs and competitive environment change.
^This content was produced with the assistance of generative artificial intelligence (gen AI).
*A Professional selling plan is $39.99 per month + selling fees. Learn more