Pricing & margins

Markup calculator: what price covers your costs and your profit?

Enter your unit cost, overhead, variable costs and the net margin you want to keep. You get the selling price, the markup multiplier and the real margin behind it.

FreeNo sign-up

Inputs

What one unit costs you: purchase price, materials, direct labor

Rent, payroll, software… divided by your monthly revenue

Sales tax, card fees, commissions, shipping, marketplace fees

Profit you want to keep from each sale, as % of the price

Calculations run in your browser — nothing you type is stored.

Selling price — Covers cost, expenses and your profit
Markup multiplier — Unit cost × multiplier = selling price
Markup % — How much the price sits above unit cost
Gross margin — (Price − unit cost) ÷ price
Net profit per unit — What you keep after every cost

What markup is (and why it is not the same as margin)

Markup is how much you add on top of what a product costs you to reach the selling price. It is measured against cost. Margin is the share of the selling price you keep, and it is measured against price. The same dollar amount gives two very different percentages: a product that costs $50 and sells for $100 has a 100% markup but a 50% margin.

This calculator works the way finance teams price products: it starts from the share of every sale that is already committed (fixed overhead, variable costs and the profit you want) and backs out the price that leaves room for all of it. The result is a markup multiplier you can apply to any unit cost in the same category.

How to calculate markup and selling price

All percentages are expressed as a share of the selling price, so they are subtracted from 1 to find the divisor:

divisor = 1 − (fixed % + variable % + target margin %)
price = unit cost ÷ divisor
multiplier = 1 ÷ divisor
markup % = (price − unit cost) ÷ unit cost
gross margin = (price − unit cost) ÷ price
net profit per unit = price × target margin

Worked example with the default values: unit cost $50, fixed expenses 15%, variable costs 18% and a 15% target net margin.

StepResult
Divisor: 1 − (0.15 + 0.18 + 0.15)0.52
Selling price: $50 ÷ 0.52$96.15
Multiplier: 1 ÷ 0.521.92×
Markup: ($96.15 − $50) ÷ $5092.3%
Gross margin: ($96.15 − $50) ÷ $96.1548.0%
Net profit per unit: $96.15 × 15%$14.42

Notice that the 48.0% gross margin is exactly the 15% + 18% + 15% you asked the price to cover. If the three percentages reach 100%, the divisor hits zero and no price works, which is why the calculator flags it.

Markup vs. margin: the most common pricing mistake

The classic error is to add your desired percentages straight onto cost. Using the example above, someone who wants to cover 48% in expenses and profit might price the item at $50 + 48% = $74. At $74, 33% of the price ($24.42) goes to overhead and variable costs, leaving $74 − $50 − $24.42 = −$0.42 per unit. Every sale loses money, even though the spreadsheet said "48% markup".

Quick conversions to keep in mind:

MarkupMultiplierMargin
25%1.25×20.0%
50%1.50×33.3%
100%2.00×50.0%
150%2.50×60.0%
200%3.00×66.7%

Formulas: margin = markup ÷ (1 + markup) and markup = margin ÷ (1 − margin).

What is a good markup?

There is no universal number: a healthy markup depends on your niche, your cost structure and how customers compare prices. As a rule of thumb, many brick-and-mortar retailers aim for roughly a 2× multiplier ("keystone" pricing), food businesses often work with higher multipliers on ingredient cost, and services or digital products can run far higher because unit cost is low. Benchmarks vary widely by industry, so treat any range as a starting point.

The better test is whether the price covers your numbers. If you sell online, include payment fees, marketplace commissions and shipping in variable costs, and check that the margin left can pay for acquisition: plug it into the break-even ROAS calculator and the CAC calculator.

How to improve your margin without losing customers

  • Cut unit cost: renegotiate with suppliers, buy in larger lots or simplify packaging.
  • Shrink variable costs: compare payment processors, review marketplace fees and set a free-shipping threshold.
  • Dilute fixed expenses: more volume on the same structure lowers the fixed % of revenue.
  • Price on value: bundles, premium tiers and guarantees let you raise the multiplier without competing on price alone.
  • Look at the whole customer: a thin first-order margin can work if customers come back. Check it with the LTV calculator.

Frequently asked questions

How do you calculate markup?
Markup is (selling price − unit cost) ÷ unit cost. A $50 item sold at $96.15 has a 92.3% markup. To set a price from your costs, add up fixed expenses, variable costs and target profit as percentages of price, subtract them from 1 and divide the unit cost by the result: $50 ÷ 0.52 = $96.15.
What is the difference between markup and margin?
Markup compares profit to cost; margin compares profit to price. Selling a $50 item for $100 is a 100% markup but a 50% margin. Margin can never reach 100%, while markup can be any number. Mixing the two up is the most common reason businesses underprice and end up losing money on each sale.
What is a good markup percentage?
It depends on the industry and your cost structure. As a rule of thumb, many retailers target about 100% markup (a 2× multiplier), while services and digital products often run much higher. Instead of copying a benchmark, calculate the markup that covers your own overhead, variable costs and target profit, then compare it with competitor prices.
How do I convert markup to margin?
Use margin = markup ÷ (1 + markup). A 50% markup equals 0.5 ÷ 1.5 = 33.3% margin, and a 100% markup equals 50% margin. To go the other way, markup = margin ÷ (1 − margin), so a 40% margin requires a 66.7% markup.
Should advertising costs be included in the markup?
Yes, if you spend on ads to make each sale. Either add your average ad cost per sale as a share of price to variable costs, or keep it in fixed expenses if it is a flat monthly budget. Then confirm that the remaining contribution margin supports your ROAS target with the break-even ROAS calculator.
Tools