Calculate markup and margin

Turn a cost and markup percentage into a selling price and the margin that price implies.

freeworks offlinenothing uploaded
ToolMarkup Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Markup amount equals cost × markup percentage ÷ 100, and selling price adds that amount to cost. Margin is markup amount ÷ selling price × 100, so its denominator is revenue rather than cost.

  • A 30% markup on 50 is the editable illustration.
  • Tax, shipping, overhead, and target-margin conversion are excluded.

Worked example

Product Markup
Calculate selling price with a 40% markup on a $25 cost
Input
											Cost: 25
Markup percent: 40
										
Output
												Cost: $25.00
Markup: 40% (+$10.00)
Selling Price: $35.00
Profit Margin: 28.57%
											

When to use this

Retailers price from wholesale cost, craft sellers check gross margin, and quotes compare cost-plus percentages with selling prices.

Edge cases

  • A 30% markup produces a 23.08% margin, not 30%, because the denominators differ.
  • A negative markup lowers the selling price and is not automatically treated as a discount.
  • A zero or negative selling price makes margin meaningless even if arithmetic can be evaluated.