Gross Margin Calculator

Calculate gross profit margin, markup percentage, and COGS ratio for any product or service. Three calculation modes for retailers, manufacturers, and service businesses.

📈

Gross Margin Calculator

Margin, markup & cost ratio for any product or service

$
$
%
$
Gross Profit
Gross Profit ($)
Gross Margin (%)
Markup (%)
Cost Ratio (%)

Gross Margin vs Markup: What US Businesses Need to Know

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.

↔️

Gross Margin vs Markup

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.

🏭

Industry Benchmarks

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.

💲

Pricing for Profit

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.

📋

COGS Control

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.

Frequently Asked Questions

Gross margins vary widely by industry. Software/SaaS: 70-90%. Pharmaceuticals: 70-85%. Luxury goods: 50-70%. Retail: 25-50%. Restaurants: 60-70% (but net margins are much lower). Manufacturing: 20-40%. Grocery: 20-30%. Construction: 15-25%. A company-specific good margin should exceed industry average and cover operating expenses while leaving net profit. Comparing only within the same industry is meaningful.
Both measure profit but from different bases. Gross Margin = (Profit / Revenue) x 100 — profit as a percentage of selling price. Markup = (Profit / Cost) x 100 — profit as a percentage of cost. Example: Buy for $60, sell for $100. Gross Margin = $40/$100 = 40%. Markup = $40/$60 = 66.7%. A 40% margin ≠ 40% markup. To convert: Margin = Markup / (1 + Markup). Markup = Margin / (1 - Margin). Retailers often confuse these — always clarify which metric you are comparing.
Gross Profit = Revenue - Cost of Goods Sold (COGS). This does not include operating expenses like rent, salaries, marketing, or taxes. Net Profit = Gross Profit - Operating Expenses - Taxes - Interest. A business can have a healthy 60% gross margin but still lose money if operating costs are too high. Gross margin tells you if your product economics work; net margin tells you if your overall business model works.
Use "Find Revenue" mode: enter your target gross margin % and your COGS to find the minimum selling price. Example: COGS = $40, target margin = 60%. Required price = $40 / (1 - 0.60) = $100. Or use "Find COGS" to see the maximum you can spend producing a product to hit a target margin at a given price. This is essential for pricing decisions, supplier negotiations, and evaluating new product lines.

Related Calculators