Skip to main content

Markup and margin calculator

Enter a cost and a markup or margin to get the selling price, or a cost and a price to see both percentages. Markup and margin are always shown side by side.

Runs in your browser. Nothing you type is sent or saved unless you press Create this invoice.

Profit as a share of the cost. Can be over 100.

Selling price $120.00Markup50.00%Margin33.33%Cost $80.00Selling price $120.00Profit $40.00A 50.00% markup is a 33.33% margin: markup is the profit as a share of the cost ($40.00 ÷ $80.00), margin is the same profit as a share of the selling price ($40.00 ÷ $120.00).
Create this invoice

Free account, no card. Your numbers come with you.

General information only: this tool does arithmetic on the numbers you enter and is not tax, accounting or legal advice. Rates and rules differ by place and situation, so check what applies to you or ask a qualified professional.

How it works

Markup is profit ÷ cost

Markup adds a percentage of the cost on top: price = cost × (1 + markup). An $80.00 cost with a 50% markup sells for $120.00, a profit of $40.00.

Margin is profit ÷ selling price

Margin is the profit as a share of the price: price = cost ÷ (1 − margin). The same $80.00 cost at a 50% margin sells for $160.00. That is why a 50% markup is only a 33.33% margin: the same $40.00 profit is divided by a bigger number.

Rounded once, to the cent

Prices are worked out exactly and rounded once, half-up, to the cent. Percentages are shown to 2 decimals. A margin must be under 100%, because no price can be all profit; a markup can be any size, and a price below cost shows as a negative markup and margin.

Markup to margin ladder

The margin each common markup gives, worked out as markup ÷ (100% + markup). Read it the other way to find the markup that hits a target margin.

Markup percentages and the margin each one gives
MarkupMarginPrice for a $100.00 cost
10%9.09%$110.00
20%16.67%$120.00
25%20.00%$125.00
30%23.08%$130.00
40%28.57%$140.00
50%33.33%$150.00
60%37.50%$160.00
75%42.86%$175.00
100%50.00%$200.00

Examples

$80.00 cost, 50% markup

Selling price $120.00, profit $40.00. Markup 50.00%, margin 33.33%.

$80.00 cost, 50% margin

Selling price $160.00, profit $80.00. To earn a 50% margin you need a 100.00% markup.

Working back from a price

If the market price is $150.00 and you need a 40% margin, the most you can pay for the item is $90.00. Selling a $100.00 item for $90.00 instead is a markup of −10.00% and a margin of −11.11%: a loss.

Rules and good practice

Say which one you mean

“30% on top” is a markup; “30% of the price” is a margin. Mixing them up underprices a job: a 30% markup is only a 23.08% margin. When you quote materials, decide which one your pricing is based on and use it consistently.

Showing materials on an invoice

Most clients see the selling price, not your cost or markup. If your contract says materials are billed at cost plus a stated markup, show the cost and the markup as separate lines so the client can check them. For job totals, the profit margin calculator adds overheads.

General information, not tax or legal advice. Rules vary by place and change; check the current official guidance.

Pricing materials in Charming

In Charming Invoices you add each item at its selling price, with an optional section label such as Materials that groups lines under a heading with a subtotal. Press Create this invoice above to start a new invoice with this selling price on a line, then issue it, download the PDF and send it however you like.

The catch: the invoice does not store your cost or work out markup for you, and nothing on it shows the client your margin. You work the price out here and type the selling price on the invoice.

Questions

What is the difference between markup and margin?
Both describe the same profit. Markup divides it by the cost; margin divides it by the selling price. An $80.00 item sold for $120.00 has a $40.00 profit: a 50.00% markup and a 33.33% margin. Margin is always the smaller number while the price is above cost.
How do I calculate a selling price from cost and markup?
Multiply the cost by one plus the markup. With a 25% markup, a $200.00 cost sells for $200.00 × 1.25 = $250.00. Choose “Cost + markup %” in the calculator to do this, and the margin of the result is shown next to it.
How do I calculate a selling price for a target margin?
Divide the cost by one minus the margin. For a 50% margin on an $80.00 cost, $80.00 ÷ 0.5 = $160.00. Adding 50% to the cost instead would give only $120.00, which is a 33.33% margin, not 50%. Choose “Cost + margin %” in the calculator to price for a margin directly.
Can a margin be more than 100%?
No. Margin is profit as a share of the selling price, and profit can never be more than the price itself, so a margin is always below 100%. A markup has no ceiling: buying at $10.00 and selling at $50.00 is a 400% markup but an 80% margin.
Is anything I enter saved or sent anywhere?
No, unless you press Create this invoice. The calculation runs in your browser and nothing you type is sent or stored. Pressing the button carries the selling price to a new invoice: in the link if you are signed in, or in a cookie that expires after two hours if you are not.

Put the price on an invoice

Add your business and your client, enter the selling price, and download a clean PDF invoice, on the free plan.