Gross Margin & COGS Optimizer
Analyze gross margin, break down COGS, and model optimization scenarios. Enter values for instant results with step-by-step formulas.
Formula
Gross Margin = (Revenue - COGS) / Revenue × 100; COGS = Materials + Labor + Overhead
The gross margin formula measures production efficiency by calculating what percentage of revenue remains after direct production costs. COGS includes all costs directly attributable to producing goods: raw materials, direct labor wages, and allocated manufacturing overhead. This works because it isolates production performance from other business activities, enabling focused improvement efforts on the factors directly controllable by operations.
Worked Examples
Example 1: Manufacturing Margin Analysis
Problem:A manufacturer has $2M revenue, $800K materials, $400K labor, $200K overhead. Target is 45% margin.
Solution:COGS = $1.4M, Gross Profit = $600K, Margin = 30%. Target requires $900K COGS. Need $500K (36%) reduction—likely requires combination of price increase and cost reduction.
Result:30% margin vs 45% target | Need 36% COGS reduction or price increase
Example 2: SaaS Gross Margin
Problem:SaaS company: $500K ARR, $50K hosting, $75K support labor. What's gross margin?
Solution:COGS = $125K (hosting + support), Gross Profit = $375K, Margin = 75%. Excellent for SaaS (benchmark 70-80%). Focus on maintaining while scaling.
Result:75% gross margin | Excellent for SaaS | Maintain efficiency at scale
Example 3: Retail Margin Optimization
Problem:Retailer: $5M revenue, 60% COGS. Want to reach 45% margin from 40%.
Solution:Current COGS = $3M, Profit = $2M. Target COGS = $2.75M. Need $250K reduction (8.3%). Options: 5% supplier negotiation + 3% price increase achieves goal.
Result:40% → 45% margin | Need 8% COGS reduction or price/mix change
Frequently Asked Questions
What is gross margin?
Gross margin is the percentage of revenue remaining after subtracting cost of goods sold (COGS). Formula: (Revenue - COGS) / Revenue × 100. It measures production efficiency before operating expenses.
What is COGS (Cost of Goods Sold)?
COGS includes all direct costs to produce goods or services: raw materials, direct labor, and manufacturing overhead. It excludes selling, administrative, and other operating expenses.
What's a good gross margin?
Varies by industry: Software 70-90%, Retail 25-50%, Manufacturing 25-35%, Grocery 20-25%. Compare to industry peers and track your trend over time.
How do I improve gross margin?
Two levers: increase prices or reduce COGS. COGS reduction: negotiate with suppliers, optimize processes, reduce waste, automate, redesign products. Price increases: value-based pricing, reduce discounts, segment customers.
What's the difference between gross and net margin?
Gross margin = (Revenue - COGS) / Revenue. Net margin = (Revenue - All Expenses) / Revenue. Gross margin measures production efficiency; net margin measures overall profitability including operating costs.
Should I focus on margin percent or profit dollars?
Both matter. High margin percent with low volume may generate less profit than moderate margin with high volume. Optimize for profit dollars while maintaining healthy margin percentages.
How does pricing affect gross margin?
Price increases flow directly to gross profit (assuming no volume loss). A 10% price increase on 40% margin products can increase gross profit by 25%. But price elasticity matters—volume may decline.
What's contribution margin vs gross margin?
Contribution margin = (Revenue - Variable Costs) / Revenue. It includes only variable costs, useful for break-even analysis. Gross margin includes all COGS (variable and allocated fixed production costs).
How does volume affect gross margin?
Higher volume typically improves margin through economies of scale (fixed production costs spread over more units). However, capacity constraints may require overtime or less efficient equipment.
What is the difference between markup and margin?
Markup is the percentage added to cost to get the selling price: Markup = (Price - Cost) / Cost. Margin is the percentage of the selling price that is profit: Margin = (Price - Cost) / Price. A 50% markup on a 10 dollar item sets the price at 15 dollars, but the margin is 33.3%. Margin is always lower than markup for the same product.