Calculate gross profit margin, markup percentage, and COGS ratio for any product or service. Three calculation modes for retailers, manufacturers, and service businesses.
Margin, markup & cost ratio for any product or service
Gross margin and markup measure the same spread between cost and price but from different angles — and confusing the two is one of the most common pricing mistakes small business owners make. Gross margin is calculated as (Revenue − COGS) / Revenue, expressing profit as a percentage of selling price. Markup is (Revenue − COGS) / COGS, expressing profit as a percentage of cost. A product that costs $60 and sells for $100 has a 40% gross margin but a 66.7% markup. Retailers, manufacturers, and service businesses need to track gross margin because it tells you how much of each revenue dollar is left to cover operating expenses — rent, payroll, marketing — before reaching net profit.
US industry benchmarks vary widely. Software companies often run 70%–80% gross margins. Grocery retailers are lucky to see 25%. A typical restaurant lands around 60%–70% on food alone but after labor and overhead, net margins collapse to 3%–5%. Knowing your margin baseline relative to your industry tells you whether your COGS is competitive and how much pricing flexibility you have. If a competitor undercuts you and you're already at a 30% margin, cutting price further is unsustainable — but at a 70% margin there may be room to compete aggressively on price without going negative.
40% gross margin = 66.7% markup. 50% margin = 100% markup. They're not interchangeable. Businesses that price on markup often discover their actual margin is lower than expected once revenue math is applied.
Software: 70%–80%. Healthcare services: 40%–60%. Retail apparel: 50%–55%. Grocery: 20%–30%. Manufacturing: 25%–40%. Knowing your benchmark tells you whether your business model is structurally profitable.
To hit a 50% gross margin, divide COGS by 0.5 — not 1.5. A product costing $40 needs to sell for $80 (not $60) to achieve 50% margin. This mistake costs businesses thousands in missed revenue every year.
Gross margin expands when you reduce COGS without cutting price. Renegotiating supplier contracts, reducing waste, or improving production efficiency all raise margin. A 5-point margin improvement on $1M revenue is an extra $50,000 in gross profit.