Skip to content
AccountancyPath

Entrepreneurship & StartupsInteractive Calculator100% local · Instant results

Markup & margin calculator

Calculate gross profit, gross margin and markup from cost and price, or price a product from a target gross margin.

Markup & margin calculator

1 · Enter your inputs

Calculation mode

Direct cost to buy, manufacture or deliver one unit.

Net price charged to the customer per unit.

2 · Live results

Gross profit

$40.00

Price $100.00 − Cost $60.00

Gross margin

40%

Profit ÷ Selling price

Markup

66.7%

Profit ÷ Cost

Same profit, different denominatorProfit: $40.00
Cost ($60.00)Profit as % of price (40%)Profit as % of cost (66.7%)

Step-by-step working

  1. 1Gross profit = $100.00 − $60.00 = $40.00
  2. 2Gross margin = $40.00 ÷ $100.00 = 40%
  3. 3Markup = $40.00 ÷ $60.00 = 66.7%
Margin is always measured as a share of the selling price; markup is measured on top of cost. For any positive profit, markup % is always larger than margin %.

The formulas

Gross margin and markup describe the same unit profit from two different angles. Margin asks what share of the selling price you keep; markup asks how much you added on top of your cost.

Formula · Gross profit per unit

Selling price − Cost per unit

Formula · Gross margin (%)

(Selling price − Cost) ÷ Selling price × 100

Formula · Markup (%)

(Selling price − Cost) ÷ Cost × 100

Formula · Selling price from target margin

Cost ÷ (1 − Target margin % ÷ 100)

Worked example

Worked example

Pricing a pour-over kettle (fictional example)

A fictional kitchenware brand buys a stainless-steel kettle for $60 per unit and sells it for $100.

  1. Gross profit = $100 − $60 = $40.
  2. Gross margin = $40 ÷ $100 × 100 = 40.0%.
  3. Markup = $40 ÷ $60 × 100 = 66.7%.

Working in reverse from a 40% target gross margin gives the same selling price: $60 ÷ (1 − 0.40) = $60 ÷ 0.60 = $100.

How to interpret the result

  • Use gross margin when reading financial statements, comparing product lines or planning how much revenue is left to pay operating overheads like rent, payroll and marketing.
  • Use markup when building quick cost-plus price sheets from supplier invoices (for example, “cost plus 66.7%” or “2× keystone markup” for a 50% gross margin).
  • Check negative results immediately: if the selling price is below cost, both gross margin and markup turn negative—meaning every sale loses money before overheads are even counted.

Limitations and assumptions

  • Unit cost should include all direct variable costs tied to each sale (purchase price or materials, packaging, fulfilment and payment processing fees), not just the supplier’s wholesale invoice.
  • Selling price should be net of customer discounts, coupons and sales tax or VAT collected on behalf of tax authorities.
  • Gross margin cannot be computed when the selling price is $0, and markup is undefined when unit cost is $0.
  • Cost-plus pricing ignores customer willingness to pay and competitor prices; always validate the resulting price against the market.

Frequently asked questions

Why is markup always higher than gross margin?

Both measure the same dollar profit, but margin divides by the larger selling price while markup divides by the smaller cost. A $40 profit on a $60 cost ($100 price) is a 40% margin ($40 ÷ $100) and a 66.7% markup ($40 ÷ $60).

What happens if I confuse markup with margin when setting prices?

You will underprice your product. Applying a 40% markup to a $60 cost sets the price at $84 ($60 × 1.40), which only yields a 28.6% gross margin ($24 ÷ $84)—far below a 40% margin target.

Related dictionary terms

This calculator is an educational tool. Results depend on the inputs and assumptions shown and are not accounting, tax, lending or investment advice. Last updated .

Search