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
2 · Live results
Gross profit
$40.00
Price $100.00 − Cost $60.00
Gross margin
40%
Profit ÷ Selling price
Markup
66.7%
Profit ÷ Cost
Step-by-step working
- 1Gross profit = $100.00 − $60.00 = $40.00
- 2Gross margin = $40.00 ÷ $100.00 = 40%
- 3Markup = $40.00 ÷ $60.00 = 66.7%
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.
Selling price − Cost per unit
(Selling price − Cost) ÷ Selling price × 100
(Selling price − Cost) ÷ Cost × 100
Cost ÷ (1 − Target margin % ÷ 100)
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.
- Gross profit = $100 − $60 = $40.
- Gross margin = $40 ÷ $100 × 100 = 40.0%.
- 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.
Learn the concepts behind it
Profit Margin: Formulas, Examples and Interpretation
Learn how to calculate gross, operating and net profit margins, how to interpret them, how margin differs from markup, and why margins vary by industry.
Revenue vs Profit: Gross, Operating and Net Profit
Understand the difference between revenue and profit, and between gross profit, operating profit and net profit, with a worked example and common pitfalls.
Break-Even Analysis: Formula, Examples and Uses
Learn how to calculate the break-even point in units and revenue, use contribution margin, find the sales needed for a target profit, and measure margin of safety.
Profit margin calculator
Calculate gross, operating and net profit margins and see the working for each.
Break-even calculator
Find the sales volume and revenue needed to cover all costs, or to reach a target profit.
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 .