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.
These fields start with a sample so you can check the arithmetic. Replace them with your own figures.
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
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.