CT Calc Tools

Margin & Markup Calculator

Enter cost plus a price, margin percent or markup percent and compute the missing values, profit, margin and markup.

🔒 Runs entirely in your browser — nothing is uploaded

Selling price

—

Profit

—

Margin

—

Markup

—

Enter a cost and one more value.

Advertisement

Margin versus markup

Margin and markup both describe profit, but they use a different base, and confusing them leads to underpricing. Markup measures profit against cost: markup % = (price − cost) ÷ cost × 100. Margin measures the same profit against the selling price: margin % = (price − cost) ÷ price × 100. Because price is larger than cost, the margin percentage is always smaller than the markup percentage for the same sale. A product bought for 40 and sold for 100 has a profit of 60, a markup of 150% and a margin of 60%.

This calculator lets you start from whatever you know. Enter the cost, then choose to provide the selling price, a target margin or a target markup. From cost plus price it works out profit, margin and markup directly. From cost plus margin it solves for price using price = cost ÷ (1 − margin ÷ 100). From cost plus markup it uses price = cost × (1 + markup ÷ 100). Every card updates together so you can see how a pricing decision affects each figure at once.

Setting prices with confidence

Retailers, freelancers and makers use these numbers to set prices that actually cover costs and leave a profit. If you think in margin — the share of each sale you keep — enter a target margin and read the price you must charge. If your supplier or industry quotes in markup, enter the markup and confirm the resulting margin so you are not surprised by thinner-than-expected profit. Watch for the edge case where margin reaches 100%: that would require an infinite price, so the calculator asks for a margin below 100%. All arithmetic runs locally in your browser using standard precision, which is suitable for everyday pricing, quoting and budgeting, and none of your figures leave the page.

How to use

  1. Enter the costType the cost of the item — what you paid to make or buy it.
  2. Add one more valueProvide either the selling price, the margin percent or the markup percent.
  3. Read the full breakdownThe calculator fills in price, profit, margin and markup from your two inputs.

Frequently asked questions

What is the difference between margin and markup?
Markup is profit as a percent of cost: profit ÷ cost × 100. Margin is profit as a percent of the selling price: profit ÷ price × 100. The same dollar profit gives a higher markup than margin.
Which input should I use?
Use the field you already know. Enter cost plus a selling price, a target margin, or a target markup. The calculator derives the rest from whichever pair you provide.
How is profit calculated?
Profit is simply selling price minus cost. Margin and markup are two different ways of expressing that profit as a percentage.
Is my pricing data private?
Yes. All numbers stay in your browser; nothing is sent to a server or saved to an account.
Advertisement