E-commerce Profit Margin Calculator
Calculate your true profit margin including payment fees, shipping, platform costs, and ad spend. Unlike generic calculators, this one accounts for all e-commerce costs.
Using example values to show you how it works.
Your Product Details
Cost to make or source the product
For monthly profit projection
Your Profit Breakdown
Gross Profit
$27.99
70.0% margin
Net Profit
$17.53
43.8% margin
Markup
233.3%
over product cost
Total Costs
$22.46
per unit
Where Each Dollar Goes
Your net margin: 43.8% — Excellent for All E-commerce
Benchmarks: Littledata (2,800+ stores), IRP Commerce, Dynamic Yield. Updated March 2026.
briefpeak does this automatically
- Real margin trends over 30 days
- Worst-margin product alerts
- Cost breakdown across your catalog
Get insights like these, automatically
Join the waitlist for personalized briefs and smart alerts.
What is E-commerce Profit Margin?
Profit margin measures how much of each dollar in revenue you actually keep as profit. In e-commerce, the calculation is more complex than traditional retail because you need to account for payment processing fees, platform or marketplace fees, shipping costs, and often advertising costs per unit sold.
Gross margin is the simplest measure: your selling price minus the cost of goods sold (COGS), divided by the selling price. A $30 product that costs $10 to source has a 66.7% gross margin.
Net margin is what matters for profitability. It subtracts all costs: COGS, shipping, packaging, payment processing fees (typically 2.9% + $0.30 for Stripe or Shopify Payments), platform fees (15% for Amazon, 0% for your own store), and optionally your advertising cost per unit.
The E-commerce Profit Margin Formula
Net Profit = Selling Price - (Product Cost + Shipping + Packaging + Platform Fee + Payment Fee + Ad Spend)
Net Margin % = (Net Profit / Selling Price) x 100
Most generic profit margin calculators only calculate gross margin. This calculator includes all e-commerce-specific costs so you see your true take-home profit per unit.
Tips for Improving Your Profit Margins
- Negotiate with suppliers. Even a 5% reduction in COGS translates directly to margin improvement. Order in larger quantities or find alternative suppliers.
- Optimize shipping costs. Compare carriers, use flat-rate shipping when it saves money, and consider regional fulfillment centers to reduce per-unit shipping costs.
- Reduce ad cost per unit. Improve your conversion rate to lower your customer acquisition cost. A 1% improvement in conversion rate can reduce ad spend per unit by 30-50%.
Frequently Asked Questions
What is a good profit margin for e-commerce?
A good net profit margin for e-commerce is typically between 10% and 20%. Margins vary significantly by industry: beauty and cosmetics tend to have higher margins (15-25%), while electronics are lower (5-15%). A margin above 20% is considered excellent for most online stores. Use the industry comparison above to see how your margins stack up.
How do payment processing fees affect my margin?
Payment processing fees (typically 2.9% + $0.30 per transaction for Stripe or Shopify Payments) directly reduce your net profit margin. On a $30 product, that is $1.17 per sale. Over thousands of orders per month, these fees can eat 3-5% of your revenue. Always include them in your margin calculations.
Should I include ad spend in margin calculation?
Yes. Including ad spend per unit gives you a more realistic picture of your true profitability. To calculate ad spend per unit, divide your total monthly ad spend by the number of units sold that month. Some merchants track two margins: one with ad spend (true profitability) and one without (product-level profitability).
How does briefpeak help with margin tracking?
briefpeak connects to your online store and automatically calculates your real profit margins from actual sales data. Instead of manually entering numbers into a calculator, you receive a brief on your schedule with your margins, trends, and recommendations. It is like having a data analyst on your team.
Related Tools
- Break-Even Calculator — Find out how many units you need to sell to cover your costs.
- ROAS Calculator — Measure your return on ad spend and find your break-even ROAS.
Want this tracked automatically?
briefpeak calculates your real profit margins from actual sales data, automatically. No spreadsheets, no manual inputs.