Markup & Pricing Calculator

Set a selling price from your cost using a markup or a target margin. For example: “What price gives a 50% markup on a $40 cost?”

About this calculator

Most businesses know their cost and need a price. This calculator works either way: give it a markup percentage, or the margin you want to end up with, and it returns the price that achieves it.

Because it shows both percentages for every price, it is a quick check that “50%” means what you think it means.

How to use it

  1. Enter your cost.
  2. Choose whether you are setting a markup or a target margin.
  3. Enter the percentage and read the price.

What the inputs mean

Target margin
The share of the selling price you want to keep as profit. A 60% margin on a $4 cost needs a $10 price.

Worked example

A $40 cost with a 50% markup sells for $60.00. The $20 profit is a 33.33% margin.

The formula

price = cost × (1 + markup), or price = cost ÷ (1 − margin)

Good to know

  • Quote supplier comparisons in the same measure, preferably margin.
  • Round prices after calculating, then recheck the margin.

Questions people ask

How do I convert markup to margin?

Divide the markup by one plus the markup. A 50% markup is 0.5 ÷ 1.5, about a 33% margin.

How do I convert margin to markup?

Divide the margin by one minus the margin. A 40% margin is 0.4 ÷ 0.6, about a 67% markup.

Can I get a 100% margin?

No. That would require a cost of zero. The calculator asks for a margin under 100%.

Last reviewed October 12, 2026. Results are estimates based on the values you enter and the formula shown. They are not financial, tax, legal or medical advice. Report a problem with this calculator