Pricing goes wrong most often in one place: someone wants a “30 % margin” and adds 30 % to the cost. That gives a 30 % markup, and the margin ends up near 23 %. This calculator keeps the two terms apart. Pick what you know, type the cost, and it shows the selling price, the profit per unit, and both the margin and the markup for that price.
Margin vs. markup
Both numbers start from the same profit per unit (price minus cost). They only differ in what that profit is divided by.
- Margin = profit / selling price. It answers: of every dollar a customer pays, how much is profit?
- Markup = profit / cost. It answers: how much did you add on top of what the item cost you?
With the starting example, a cost of $75 and a price of $100, the profit is $25. That is a 25 % margin ($25 / $100) and a 33.33 % markup ($25 / $75). Same sale, two percentages. Margin is the number lenders, investors and most financial statements use; markup is the one many retailers and contractors use to price.
Three ways to use the calculator
Cost and margin. You know your target margin. The price is cost / (1 - margin). A $75 item with a 25 % margin sells for $100.00. With a 40 % margin it sells for $125.00.
Cost and markup. You add a fixed percentage to the cost. The price is cost x (1 + markup). An $80 item with a 50 % markup sells for $120.00, which is a 33.33 % margin.
Cost and price. You already have a price and want to check it. An item that costs $60 and sells for $100 has a 40 % margin and a 66.67 % markup. If the price is below the cost, for example a $120 cost sold at $100, the calculator shows a $20.00 loss and a negative margin of -20 %.
Margin to markup table
Here is what common margins look like as a markup, and the price of the $75 item at each one:
| Margin | Same as a markup of | Price of a $75 item |
|---|---|---|
| 10 % | 11.11 % | $83.33 |
| 20 % | 25 % | $93.75 |
| 25 % | 33.33 % | $100.00 |
| 30 % | 42.86 % | $107.14 |
| 40 % | 66.67 % | $125.00 |
| 50 % | 100 % | $150.00 |
The gap grows fast. A 50 % margin means doubling the cost. A 75 % margin means a 300 % markup: selling a $25 item for $100. Margin can never reach 100 %, because the price would have to be infinite; the calculator only accepts margins below 100 %.
What to put in “cost”
The result is only as good as the cost you enter. Use the full landed cost of one unit:
- The price you pay the supplier.
- Freight or shipping to get it to you, divided by the units in the shipment.
- Packaging and labels.
- Payment processing or marketplace fees that scale with each sale. Card fees are usually a percentage of the price, so they lower your real margin.
Fixed costs, like rent, payroll and software, are not part of the unit cost. They are paid from the gross profit this calculator shows. A healthy gross margin has to cover all of them before there is any net profit left. The U.S. Small Business Administration has a short guide on managing your business finances that covers break-even and cash flow.
Sales tax and discounts
Sales tax is not part of your price or your margin: you collect it for the state and pass it on. Set your price first with this calculator, then add the tax at checkout with the sales tax calculator.
Discounts come straight out of the margin. If you sell the $75 item at $100 and run a 10 % off sale, the price drops to $90 and the profit to $15: the margin falls from 25 % to 16.67 %. Before you plan a promotion, use the price mode to check the margin at the sale price.
Common mistakes
- Adding the margin to the cost. Cost x 1.30 is a 30 % markup, not a 30 % margin. Divide by 0.70 instead.
- Comparing your markup with an industry margin. Benchmarks are usually stated as gross margin. Convert before you compare.
- Leaving out fees. A 3 % card fee on a $100 sale is $3 off your $25 profit.
- Rounding prices down. If you round $107.14 to $105, the margin falls to 28.57 %. Round up when you can.