Skip to content
toolsdocks

Profit margin and markup calculator

Type any two values. The two you edited last stay fixed and the others are worked out, so you can go from cost and margin to price, or from cost and price to both percentages. Example from the calculator's tests: a $60 cost at a 40% margin gives a $100 price, a 66.67% markup and $40 profit per unit.

Runs on your device
Loading tool…

How to use

  1. Enter any two of the four values: Cost, Selling price, Margin or Markup.
  2. The other two are calculated at once. A small tag marks each field as entered or calculated.
  3. To change which values you are solving from, edit a third field. The two you edited last stay fixed.
  4. Read Profit per unit, Margin (profit divided by price) and Markup (profit divided by cost).
  5. Check the table of common markups and their margins, which shows the price for a cost of 100.
  6. Set the Currency to match your pricing.

Worked example

Cost $60 with a 40% margin needs a price of $100.00 (markup 66.67%).

Supported formats and limits

InputAny two of cost, price, margin, markup
OutputThe other values
EngineDeterministic formulas

Tips for best results

  • A 50% markup is only a 33.3% margin, and a 100% markup, which doubles the cost, is a 50% margin. Most pricing mix-ups come from treating them as the same thing.
  • A product that costs $60 needs a price of $100 for a 40% margin, since price equals cost divided by one minus the margin.
  • A supplier quoting 30% markup on a $70 cost charges $91. A 30% margin on the same cost needs $100.
  • Put every per-unit cost in Cost, including shipping and marketplace fees, or the margin will look better than it really is.
  • Enter the price before sales tax, since tax is not your revenue.

Limitations

  • Margins of 100% or more are impossible and are rejected.
  • Works per unit before tax; it does not include overhead or sales tax.

Questions

How do I price a product for a 40% margin?

Divide the cost by 0.6 (that is, 1 minus the margin). A $30 cost needs a $50 price for a 40% margin, which is a 66.67% markup. Enter cost and margin here to get the price.

What is the difference between margin and markup?

Both use the same profit (price minus cost). Margin divides it by the price; markup divides it by the cost. A $60 cost with a 40% margin needs a $100 price, which is a 66.67% markup.

Why is a 100% margin rejected?

Price = cost ÷ (1 − margin), so a margin of 100% would need an infinite price. Markup has no upper limit, and markup is undefined when the cost is 0.

Guides

Privacy

Runs on your device. Files and text are processed in this browser tab and are not uploaded.

See the privacy policy for how toolsdocks handles data.