Profit Margin Calculator
Calculate gross profit margin, net profit margin, and profit in dollars from your revenue and costs.
Results
Visualization
How It Works
Profit margin measures how much of each revenue dollar a business actually keeps after costs. Gross margin reflects product-level profitability after COGS, while net margin shows what remains after all expenses including operating costs and taxes. Tracking both helps ecommerce sellers identify whether pricing, sourcing, or overhead is the biggest drag on profitability.
The Formula
Variables
- Revenue — Total sales collected from customers before any deductions
- COGS — Direct costs to produce or purchase the goods sold
- Operating Expenses — Overhead costs like ads, software, salaries, and platform fees
- Other Expenses/Taxes — Interest, depreciation, and income taxes
Worked Example
Revenue: $10,000 | COGS: $4,000 | Operating Expenses: $2,000 | Other/Taxes: $500. Gross Profit = $6,000 (60% margin). Operating Profit = $4,000 (40% margin). Net Profit = $3,500 (35% margin). Each layer reveals a different cost problem if the number looks low.
Practical Tips
- Benchmark your gross margin against industry averages monthly — a sudden drop usually signals a supplier price increase or a product mix shift toward lower-margin items.
- Keep COGS and operating expenses in separate buckets: COGS scales with sales volume while operating expenses are often fixed or semi-fixed.
- On Shopify or similar platforms, use the built-in cost-of-goods field accurately — many sellers leave it blank, making their margin reports useless.
- Amazon sellers should include referral fees, FBA fees, and advertising spend in operating expenses to see true net margin per SKU.
- A 10% net margin is considered healthy for physical goods ecommerce; anything below 5% leaves almost no room for mistakes or market changes.
Frequently Asked Questions
What is the difference between gross margin and net margin?
Gross margin only subtracts the direct cost to make or buy the product (COGS) from revenue. Net margin subtracts all costs — COGS, operating expenses, interest, and taxes. Gross margin tells you if your product pricing is sound; net margin tells you if your entire business model is profitable.
What gross margin should an ecommerce store target?
Most ecommerce benchmarks suggest a gross margin of 40–60% for physical goods. This gives enough room to cover marketing, fulfillment, overhead, and still generate net profit. Lower-margin categories like electronics often run 15–25% gross, while apparel and beauty can exceed 65%.
Why is my gross margin good but net margin low?
This usually means operating expenses are too high relative to revenue. Common culprits include excessive paid advertising spend, high platform fees, or too much overhead for the current sales volume. Review your operating cost line items and identify which are discretionary versus fixed.
How do I improve my profit margin without raising prices?
The two main levers are reducing COGS (negotiating with suppliers, buying in larger quantities, or finding alternative sources) and reducing operating expenses (improving ad efficiency, automating tasks, or cutting underperforming channels). Even a 2–3% improvement in gross margin can double net profit.
Should I track margin by product or just overall?
By product is far more useful. Overall margin hides which products are dragging profitability down. Many sellers find that 20–30% of their SKUs account for 80%+ of their profit. Identifying and focusing on high-margin products is one of the fastest ways to improve overall business profitability.