Money

Markup and margin calculator

Markup is profit divided by cost. Margin is profit divided by the selling price. The percents are not interchangeable, and this page shows both from the same numbers.

How to use it

Choose which number you already know: a markup on cost, a margin on price, or the selling price. Enter the cost either way. The unused fields are ignored, so you do not have to clear them.

A 25% margin is not a 25% markup. The sample makes that concrete. For a general percent that is neither markup nor margin, use Percentage calculator. For a job priced from hours and materials, use Handyman job estimate.

Formula

Profit = price − cost. Markup = profit ÷ cost × 100. Margin = profit ÷ price × 100. From markup: price = cost × (1 + markup ÷ 100). From margin: price = cost ÷ (1 − margin ÷ 100). Margin has to stay under 100%, or the price is not defined.

Worked example

A cost of $40.00 with a 25% margin has a selling price of $53.33 and a profit of $13.33. The markup on that same price is 33.33%, not 25%.

Questions

Why is a 25% margin a larger markup?

Margin divides by the larger number, the price. Markup divides by the cost. The profit is the same amount of money, so the percent of the smaller base is higher.

What happens at a 100% margin?

A 100% margin would mean the entire price is profit and the cost is zero as a share of price, which the rearrangement cannot solve for a normal cost. The form stops instead of showing an infinite price.

Can the price be below cost?

Yes, if you enter a selling price under cost. Profit and both percents come out negative. That is a discount below cost, not an error.

Does this include tax or shipping?

Only if they are already inside the cost or the price you type. The page does not add sales tax on its own.