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
- Enter your cost.
- Choose what you already know: a margin percent, a markup percent, or a selling price, and fill in that field.
- Press Calculate to see the selling price, the profit, and both percents.
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.
Selling your time rather than a product? Build an hourly rate with Contractor billable-hour rate. Flipping a house? The profit side is on House flip profit calculator. For any other percent question, use Percentage calculator.
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
Holiday tools
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.
What markup gives a 50% margin?
A 100% markup. Doubling a $10 cost to a $20 price makes $10 of profit, which is 100% of cost and 50% of price.
How do I convert margin to markup?
Markup = margin ÷ (1 − margin), with both written as decimals. A 20% margin is 0.20 ÷ 0.80 = a 25% markup. The other way, margin = markup ÷ (1 + markup).
Should I price with markup or margin?
Either works if you stay consistent. Many businesses set targets as a margin because it reads as a share of revenue, while cost-plus pricing usually talks in markup. The mistake is typing a margin target into a markup field.