Profit Margin Calculator
Gross margin, net margin, markup and target selling price
Profit Margin vs Markup — Understanding the Difference
Profit margin and markup are related but fundamentally different metrics, and confusing them is one of the most common pricing mistakes in small business. Margin compares profit to revenue; markup compares profit to cost. Mispricing a product because you conflated these two can silently destroy profitability.
Business owners use these calculations to set prices, evaluate product line profitability, compare against industry benchmarks, and make informed decisions about cost reduction vs. price increases. The four modes cover every margin scenario: gross margin analysis, full income statement net margin, markup calculation, and working backwards from a target margin to find the right price.
Key Formulas
Gross Margin = (Revenue − COGS) / Revenue × 100
Net Margin = Net Income / Revenue × 100
Markup = (Selling Price − Cost) / Cost × 100
Selling Price for Target Margin = Cost / (1 − Margin/100)
Margin vs Markup Example
A product costs $40. You want a 40% margin. The selling price is $40 / 0.60 = $66.67 — not $56. Adding 40% markup gives $56, which is only a 28.6% margin. Know which one you're using.
When to Use This Calculator
The profit margin calculator is essential whenever you're making pricing, financial, or strategic decisions that depend on profitability. It handles both forward calculations (what margin does my current price produce?) and reverse calculations (what price do I need to hit a target margin?).
- Setting product prices: A new product costs $55 to make. You want a 40% gross margin. Formula: Price = $55 / (1 − 0.40) = $91.67. Use the Target Margin mode to skip the math instantly.
- Evaluating your product mix: Compare gross margins across all products to identify which ones are dragging profitability. A product with 12% margin may deserve less shelf space than one with 62%.
- Reviewing financials with investors: Investors benchmark net margins against industry averages. A 15% net margin in SaaS is mediocre; in grocery, it's exceptional. Know your numbers before any pitch.
- Negotiating supplier pricing: If a supplier increases your input cost by 8%, calculate the new margin immediately to decide whether to absorb it, renegotiate, or raise your price.
Step-by-Step Example: Setting a Price to Hit 45% Gross Margin
A candle maker has these costs per unit: wax $4.20, fragrance $1.80, wick $0.50, jar $2.00, label $0.30, packaging $0.70 — total COGS = $9.50. They want a 45% gross margin. Selling Price = $9.50 / (1 − 0.45) = $9.50 / 0.55 = $17.27. Gross profit per unit = $17.27 − $9.50 = $7.77. Check: $7.77 / $17.27 = 45% ✓. At 1,000 units/month, gross profit = $7,770 — enough to cover rent, labor, and marketing before netting a profit.