Gross margin and markup calculator

Separate gross margin from markup and test how operating overhead affects net profitability.

Inputs

Calculation inputs

Your estimate

Gross margin
40%
Markup on cost
66.67%
Gross profit
$400.00
Operating profit after overhead
$250.00
Operating margin
25%
Revenue allocation across costs and profit
Direct cost of goods sold$600.00Operating overhead$150.00Operating profit$250.00

Margin vs markup across price levels

Swipe horizontally if needed to view all columns.

Margin vs markup across price levels
Price changeRevenueGross marginMarkup on cost
−10% discount$900.0033.33%50%
Current price$1,000.0040%66.67%
+10% price$1,100.0045.45%83.33%
+20% price$1,200.0050%100%

How the calculation works

Gross profit equals net sales minus direct cost of goods sold. Gross margin divides gross profit by net sales; markup divides the same gross profit by direct cost. Subtracting operating overhead yields operating profit.

Worked example

An item sold for 100 with 60 direct cost yields 40 gross profit: a 40% gross margin and a 66.67% markup. Adding 15 of operating overhead leaves 25 operating profit (25% operating margin).

Assumptions and limitations

Enter net revenue after discounts and returns, excluding collected VAT or sales tax. At zero direct cost, markup percentage is mathematically undefined.

How to use this calculator

  1. Enter net sales revenue (after customer discounts/returns, excluding sales tax/VAT collected) and direct Cost of Goods Sold (COGS).
  2. Optionally enter allocated operating overhead per unit or period to isolate operating profit.
  3. Review gross margin, markup percentage, operating margin, and the pricing sensitivity table.

Interpreting your results

Confusion between margin and markup routinely underprices goods: a 50% markup over cost produces only a 33.3% gross margin on revenue. Always verify operating margin remains positive after fixed overhead.

Frequently asked questions

What is the fundamental mathematical difference between gross margin and markup?

Gross margin divides gross profit by selling price (revenue), whereas markup divides the exact same gross profit by direct cost. A $100 sale costing $60 yields 40% gross margin ($40/$100) but a 66.7% markup ($40/$60).

Can gross margin ever reach 100%, and can it be negative?

Gross margin approaches 100% only when direct marginal cost is zero (for instance, zero-cost digital products), whereas markup exceeds 100% routinely. If COGS exceeds net sales price, gross margin turns negative.

Should collected VAT or sales tax be included in revenue here?

No. Indirect consumption taxes belong to tax authorities rather than business earnings; always enter net tax-exclusive revenue and tax-recoverable costs.

Why look at operating margin alongside gross margin?

High gross margins can still produce net business losses if marketing, payroll, rent, and shipping overhead consume more cash than gross profit generates.

Prepared by Money X Calculator Editorial Desk · Reviewed against Calculation Methodology · Editorial Policy