How to Calculate Profit Margins for Your Products
Before You Start
Accurate margin calculations require accurate cost data. Before running the numbers, make sure you have calculated the full landed cost for each product, including supplier price, inbound freight, duties, and packaging. Using the supplier invoice price alone understates your costs and overstates your margins, sometimes by 20% to 30%. You also need to know your payment processing rates, average outbound shipping cost per order, and your total monthly operating expenses. Your accounting software should have most of these numbers if your books are current.
Step-by-Step Margin Calculations
Add every direct cost required to get one unit into your inventory ready to sell. For a product purchased from an overseas supplier: $12.00 product cost + $1.20 ocean freight per unit + $0.90 import duty + $0.15 customs brokerage + $0.50 packaging = $14.75 landed cost per unit. This is the number that goes into your inventory records and your COGS when the unit sells.
Gross margin = (Selling Price - Landed Cost) / Selling Price x 100. If you sell the product above for $39.99, your gross margin is ($39.99 - $14.75) / $39.99 x 100 = 63.1%. This means $25.24 of every sale is available to cover operating expenses and generate profit. Gross margin is the first number to check when evaluating whether a product is viable. If gross margin is below 40% for a private label product or below 25% for a resold product, the product will struggle to be profitable after operating expenses.
Contribution margin subtracts all variable costs from revenue, not just COGS. Variable costs change with each sale: COGS, payment processing fees, outbound shipping, marketplace referral fees, and variable advertising cost per unit. For the same product: $39.99 selling price - $14.75 COGS - $1.46 processing fee (3.65% average) - $5.50 shipping - $4.00 Amazon referral fee (if selling on Amazon) = $14.28 contribution per unit. This tells you how much each sale contributes to covering fixed costs (rent, software, salaries) and generating profit. A negative contribution margin means you lose money on every sale regardless of volume.
Operating margin = (Revenue - COGS - Operating Expenses) / Revenue x 100. This is calculated at the business level, not the product level. If your monthly revenue is $80,000, COGS is $30,000, and total operating expenses (marketing, software, rent, payroll, shipping, processing fees) are $38,000, your operating profit is $12,000 and operating margin is 15%. Operating margin shows how efficiently your overall business converts revenue into profit before taxes.
Net margin = (Revenue - All Costs Including Taxes) / Revenue x 100. Using the example above, if operating profit is $12,000 and income taxes are $3,000, net profit is $9,000 and net margin is 11.25%. This is the bottom line, the percentage of revenue that remains as profit after every expense is paid. Net margin is what matters for your personal income from the business and for reinvestment capacity.
Margin Benchmarks by Business Type
Private Label Products
Private label sellers who design and brand their own products sourced from manufacturers typically achieve the highest gross margins in ecommerce: 50% to 70% for most consumer goods categories. The gross margin advantage comes from eliminating wholesale markup and building brand value that supports premium pricing. Net margins for well-run private label businesses range from 10% to 20%, with the spread depending on advertising efficiency and operational costs. A private label seller spending 15% to 25% of revenue on advertising with strong conversion rates and a 60% gross margin can consistently achieve 12% to 18% net margins.
Wholesale and Resale
Businesses that buy products at wholesale and resell them operate on thinner gross margins, typically 30% to 50%. The wholesale price eats into gross margin because you are paying for the manufacturer's margin and often the distributor's margin before adding your own. Net margins for resellers typically range from 5% to 12%. The trade-off is lower risk (selling proven products with established demand) and simpler operations (no product development, no manufacturing relationships). Resellers compensate for thinner margins through higher volume and lower customer acquisition costs because they sell recognized brands.
Dropshipping
Dropshipping margins are the thinnest in ecommerce because the dropship supplier handles fulfillment and takes a margin for that service. Gross margins typically range from 15% to 40%, with many products in the 20% to 30% range. Net margins for dropshipping businesses are often 5% to 10%, and many dropshippers operate at 2% to 5% net margin or even break-even while scaling. The advantage is zero inventory risk and minimal upfront capital. The margin challenge is why dropshippers must be aggressive about advertising efficiency and average order value optimization. Read more about platforms for dropshipping.
Digital Products
Digital product sellers (courses, templates, software, ebooks) have the highest margins in ecommerce because COGS is effectively zero after the initial creation cost. Gross margins are 80% to 95%. Net margins after platform fees, payment processing, hosting, and marketing are commonly 30% to 60%. The challenge is not margin but volume, as digital products often require significant content marketing and audience building to generate consistent sales. Choosing the right platform for digital products affects both your costs and your reach.
Product-Level Profitability Analysis
Overall business margins mask the reality that individual products contribute very differently to your profit. A store with a 55% gross margin might have some products at 70% margin and others at 30%, and the low-margin products might be consuming a disproportionate share of advertising and warehousing resources.
Create a product profitability spreadsheet or report that shows, for each product: revenue, units sold, COGS per unit, gross margin, advertising cost attributed to that product, return rate, and contribution margin. Sort by contribution margin to identify your most and least profitable products. Common findings include:
- Your top 20% of products often generate 60% to 80% of your total profit
- Some products that look profitable at gross margin are unprofitable after advertising costs
- Products with high return rates have much lower effective margins than their sticker margin suggests
- Low-priced products often have poor margins after fixed per-order costs like shipping and processing fees are factored in
Use this analysis to focus advertising budget on your highest-margin products, raise prices or discontinue low-margin products, negotiate better supplier pricing on high-volume products, and evaluate whether new products meet your minimum margin thresholds before adding them to your catalog.
How to Improve Your Margins
Reduce Product Costs
Negotiate volume discounts with suppliers as your order quantities grow. Many suppliers offer 5% to 15% price breaks at higher volume tiers. Request quotes from alternative suppliers to create competitive pressure. Optimize your supply chain by consolidating shipments, choosing more cost-effective shipping methods for non-urgent orders, and working with a customs broker to ensure you are paying the correct duty rate (some businesses overpay duties due to incorrect tariff classifications).
Increase Average Selling Price
Bundling products into kits or sets increases the perceived value and allows you to charge more than the sum of individual prices. Adding premium packaging, insert cards, or small bonuses increases the perceived value at minimal cost. Building brand equity through consistent marketing and quality enables premium pricing that generic competitors cannot command. Test price increases gradually. Many sellers underestimate their pricing power, and a $2 price increase on a product selling 500 units per month adds $12,000 per year directly to gross profit.
Reduce Operating Expenses
Audit your software subscriptions quarterly and cancel tools you are not actively using. Optimize advertising by reallocating budget from low-ROAS campaigns to high-ROAS campaigns. Negotiate better payment processing rates as your volume grows, because many processors offer lower rates at higher volumes. Implement automation for repetitive tasks to reduce labor costs or free up your time for higher-value activities.
Reduce Return Rates
Returns directly destroy margin because you incur outbound shipping, return shipping, processing fees (usually not refunded), and potential product damage that prevents resale. A 10% return rate on a product with a 60% gross margin effectively reduces your real margin by 6 to 10 percentage points when you account for all return-related costs. Improving product descriptions, adding size guides, using realistic photos, and setting accurate customer expectations all reduce return rates. Even a 2% reduction in return rate has a meaningful impact on profitability at scale.
Margin Monitoring and Reporting
Review your margins monthly at minimum. Your accounting software should generate a profit and loss statement showing gross margin. Track it as a trend over time, not just a snapshot. Declining gross margin usually indicates rising supplier costs, increasing shipping expenses, or pricing pressure from competitors. Declining operating margin with stable gross margin indicates growing overhead costs relative to revenue.
Set margin floors for your business and individual products. If your minimum viable gross margin is 45%, evaluate or discontinue any product that drops below that threshold. If your target operating margin is 12%, investigate cost increases or revenue shortfalls whenever you fall below. These thresholds turn margin monitoring from a passive reporting exercise into an active management tool.
