Business pricing

Gross Margin vs. Markup

Learn the difference between gross margin and markup, and calculate the selling price that reaches your target gross margin.

Two kraft shipping boxes and a blank green price tag

A product that costs $75 needs a selling price of $125 to reach a 40% gross margin. Adding a 40% markup gives a price of $105 and a gross margin of just 28.57%. Both percentages start with the same dollar profit and use different denominators.

Choose the right denominator

Gross profit equals selling price minus cost. Divide gross profit by the selling price to get gross margin. Divide gross profit by cost to get markup. Multiply the result by 100 in either case to express it as a percentage.

At a selling price of $125 and a cost of $75, gross profit is $50. Divide $50 by $125 for a 40% margin, or divide it by $75 for a 66.67% markup.

Two pricing targets for a product that costs $75
Measure40% markup target40% margin target
Selling price$105.00$125.00
Gross profit$30.00$50.00
Gross margin28.57%40.00%
Markup40.00%66.67%

Work backward from your target margin

Divide your unit cost by one minus the target margin expressed as a decimal. With a $75 unit cost and a 40% target, that’s $75 ÷ (1 − 0.40) = $125. This formula applies to a positive unit cost and a margin below 100%.

If you round the selling price for a store listing, enter the rounded price in the calculator again. A price just below the exact result will yield a slightly smaller margin.

Use the same cost basis for every product

Use a consistent definition of unit cost when you compare products. The purchase price and inbound freight may both matter. If you want to account for other per-sale expenses, such as platform fees, track those separately and include them when comparing what each sale contributes.

The Profit Margin Calculator shows profit, margin, and markup from a cost and selling price. Use the Break-Even Calculator to estimate the sales volume needed to cover fixed costs.

Sources