Skip to content
Black Ink Tools

All tools / Pricing

Profit margin vs. markup

Published November 28, 2026

Margin and markup both describe the gap between cost and price. Margin compares it with the price. Markup compares it with the cost.

Calculator

Formulas

Margin = (price − cost) ÷ price

Markup = (price − cost) ÷ cost

With a $60 cost and a $100 price, you make $40. That is a 40% margin and a 66.7% markup.

From a target margin to a price

Price = cost ÷ (1 − margin)

Target marginMarkup neededPrice on a $60 cost
20%25%$75.00
30%42.9%$85.71
40%66.7%$100.00
50%100%$120.00

The margin here only subtracts the cost you enter. If you leave out overhead or fees, your real profit is lower.

Related: how to price a service and break-even calculator.