Markup & Pricing Calculator

Set a selling price from your cost, check the markup on a price, price for a target margin, or convert markup to margin.

  • 4 pricing calculators in one
  • Markup and margin side by side
  • Runs in your browser, no sign-up

Your numbers

What do you want to work out?

Enter what one unit costs you and the markup you want to add.

Rounding applies to the selling price the calculator sets.

Selling price

–

  • –Selling price
  • –Profit per unit
  • –Markup (of cost)
  • –Profit margin (of price)
Cost
–
Profit
–
Selling price
–

What this tool does

This markup calculator works out the selling price of a product from what it costs you and the markup you add. It also does the reverse: enter a cost and a selling price to find the markup percentage, or enter the profit margin you want and get the price that delivers it. Every answer shows the selling price, the profit per unit, the markup percentage and the profit margin percentage together.

Markup and profit margin both describe the same profit, but from different starting points. Markup compares the profit with the cost; margin compares it with the selling price. A 50% markup is only a 33.33% margin, so mixing them up leads to prices that are lower than intended. The fourth mode converts between the two.

All calculations run in your browser. Nothing you enter is sent anywhere, and no account is needed. Choosing a currency changes only the symbol shown; it does not convert between currencies.

Who it helps

  • Shop owners and online sellers setting retail prices from wholesale or supplier costs.
  • Makers and freelancers pricing handmade products, food or services that have a clear cost.
  • Buyers and managers checking the markup or margin on a price list or a quote.
  • Students learning, and checking, markup and margin calculations for business or accounting courses.

How to use it

  1. Choose what to work out: a price from a markup, the markup on a price, a price for a target margin, or a markup–margin conversion.
  2. Enter the cost per unit and the markup, selling price or margin. The example values show the format.
  3. Pick a currency, decimal places and price rounding if you need them, for example prices that end in .99.
  4. Read the results as you type, then copy or print them.

Markup and margin explained

These definitions and formulas are the ones the calculator uses. All amounts are for one unit, and “profit” means gross profit: the selling price minus the cost, before overheads and tax.

What is markup?

Markup is the amount added to the cost of a product to reach its selling price. It can be stated as an amount (a product that costs 40 and sells for 60 has a markup of 20) or as a percentage of the cost (20 is 50% of 40, so the markup is 50%). The markup amount is the same as the gross profit on one unit.

Selling price is what the customer pays. Gross profit is the selling price minus the cost. Profit margin (gross margin) is that profit as a percentage of the selling price.

How to calculate markup

  1. Subtract the cost from the selling price to get the markup amount.
  2. Divide the markup amount by the cost.
  3. Multiply by 100 to get the markup percentage.

For a cost of 25 and a selling price of 40: 40 − 25 = 15, then 15 ÷ 25 = 0.6, and 0.6 × 100 = 60% markup.

Markup formulas

To findFormula
Markup amountSelling price − Cost
Markup %(Selling price − Cost) ÷ Cost × 100
Selling price from markupCost × (1 + Markup % ÷ 100)
Profit margin %(Selling price − Cost) ÷ Selling price × 100
Selling price from marginCost ÷ (1 − Margin % ÷ 100)
Margin from markupMarkup % ÷ (100 + Markup %) × 100
Markup from marginMargin % ÷ (100 − Margin %) × 100

Markup vs profit margin

Markup and margin describe the same profit with a different base. Markup divides the profit by the cost; margin divides it by the selling price. Because the selling price is always larger than the cost when there is a profit, the margin percentage is always smaller than the markup percentage. For other percentage questions, such as a percentage increase between two prices, use the Percentage Calculator.

Use markup when you start from a cost and want a price, for example when a supplier’s price list arrives. Use margin when you plan against sales, for example when you know overheads take 30% of revenue and you need to know how much of every sale is left to cover them.

Common markups and the margins they give
MarkupProfit marginCost 100 sells for
25%20%125
33.33%25%133.33
50%33.33%150
100%50%200
150%60%250
200%66.67%300

Markup calculation examples

Selling price from a markup. A shop buys a lamp for 40 and adds a 50% markup. Markup amount: 40 × 0.50 = 20. Selling price: 40 + 20 = 60. Profit margin: 20 ÷ 60 × 100 = 33.33%.

Markup on an existing price. A notebook costs 25 to make and sells for 40. Profit: 15. Markup: 15 ÷ 25 × 100 = 60%. Margin: 15 ÷ 40 × 100 = 37.5%.

Price for a target margin. A seller wants a 40% margin on an item that costs 30. Price: 30 ÷ (1 − 0.40) = 50. Profit: 20, which is 40% of 50. The markup needed is 20 ÷ 30 × 100 = 66.67%.

Rounding to a price point. With a cost of 40 and a 50% markup, the exact price is 60.00. Rounding up to end in .99 gives 60.99, so the profit becomes 20.99 and the markup 52.48%.

How businesses use markup to set selling prices

Many retailers apply a standard markup to each product group, so a new item can be priced as soon as its cost is known. Others work backwards from a target margin, because overheads such as rent, wages and card fees are usually measured as a share of sales. For example, if overheads take 30% of every sale and the business wants 10% left as net profit, it needs a 40% gross margin, which is a 66.67% markup on cost.

A formula gives a starting point, not a final answer. Prices also depend on what customers will pay, competitors’ prices and how quickly stock sells. Many sellers then round to a familiar price point, such as one ending in .99 or .95. To see what a later price cut does to the price your customer pays, use the Discount Calculator.

Assumptions and limitations

Results depend only on the numbers you enter. The calculator does not know about overheads, discounts, returns, shipping, platform fees or taxes; include them in the cost if you want them covered. It is a general-purpose tool and not financial or accounting advice.

Good to know

ItemDetails
CostThe cost of one unit: what you pay to buy or make it. The calculator works per unit
ProfitGross profit per unit (selling price − cost). Overheads, fees, shipping and tax are not deducted unless you include them in the cost
Sales tax and VATNot included. Enter prices before tax, or add tax to the result yourself
CurrencyChanges the symbol only (USD, GBP, EUR, CAD, AUD, INR or PKR). No exchange rates are used
RoundingNearest whole number, or the next price ending in .99 or .95 (never below the exact price). Profit, markup and margin are shown for the rounded price
Decimal places0 to 4. Calculations use full precision; only the display is rounded
LimitsCosts and prices up to 1 trillion. The cost must be above 0, and a margin must be below 100%

Frequently asked questions

What is a markup calculator?

A markup calculator works out a selling price from a cost and a markup percentage, or the markup percentage from a cost and a selling price. This one also finds the price for a target profit margin and converts markup to margin.

How do I calculate markup percentage?

Subtract the cost from the selling price, divide by the cost, then multiply by 100. For a cost of 25 and a price of 40: (40 − 25) ÷ 25 × 100 = 60% markup.

How do I calculate selling price from cost and markup?

Multiply the cost by 1 plus the markup as a decimal. With a cost of 40 and a 50% markup: 40 × 1.5 = 60.

What is the difference between markup and profit margin?

Markup is profit as a percentage of the cost; margin is profit as a percentage of the selling price. Buying at 40 and selling at 60 makes a profit of 20, which is a 50% markup but a 33.33% margin.

How do I calculate selling price using a target profit margin?

Divide the cost by 1 minus the margin as a decimal. For a cost of 30 and a 40% margin: 30 ÷ (1 − 0.40) = 30 ÷ 0.60 = 50.

Is markup the same as profit?

Not quite. The markup amount (price − cost) is the gross profit per unit, but the markup percentage expresses that profit as a share of the cost. Net profit is lower once overheads, fees and taxes are paid.

How much markup should I add to a product?

There is no single right markup. Start from the margin you need to cover overheads and leave a profit, then convert it: a 40% margin needs a 66.67% markup. Check the result against what customers and competitors pay.

Why can’t a profit margin be 100%?

A 100% margin would mean the whole price is profit, which is only possible if the product cost nothing. As the margin gets closer to 100%, the price and the markup needed grow without limit.