Markup Calculator

Turn cost and markup into a selling price, work backwards from price to markup, or find the exact markup that hits a target margin, with the resulting margin shown every time.

Enter your numbers

Markup is your profit as a percentage of cost. A 50% markup on a $40 cost sells for $60.

Your result

Selling price

$60.00

Resulting gross margin

33.3%

Unit cost

$40.00

Selling price

$60.00

Profit per unit

$20.00

Markup

50.0%

Markup vs margin

A 50.0% markup produces only a 33.3% gross margin. They are always different numbers because markup is measured against cost and margin against price. If you set prices by markup but report performance by margin, build the habit of checking both, this gap is where pricing errors hide.

This is a gross figure. After shipping, payment fees, ad spend, and returns, the 33.3% gross margin shrinks to your real net margin, usually 10 to 25 points lower for a D2C brand.

Set the markup here, see the real margin in Daymark

Daymark pulls Shopify, ad, and shipping costs together so the markup you set here shows up as true net margin per product, not just a gross estimate.

See how Daymark tracks this live →

What Is a Markup Calculator?

A markup calculator turns cost into a selling price. You enter what a unit costs you and the markup percentage you want to add, and it returns the price you should charge, along with the gross margin that price produces. This tool runs three ways: cost plus markup to price, cost plus price back to markup, and the one most calculators leave out, the markup you need to hit a target margin.

Selling price = Cost × (1 + Markup % / 100)

A product that costs $40 with a 50% markup sells for $60. That $20 of profit is a 50% markup on the $40 cost, but only a 33% margin on the $60 price. Keeping those two numbers straight is the whole job, and it is where most pricing goes wrong.

Markup vs Margin

Markup and margin describe the same profit against different bases:

  • Markup = profit ÷ cost
  • Margin = profit ÷ price

Cost is always the smaller number, so markup is always the bigger percentage. This trips up more pricing decisions than any other single mistake. If a supplier or a spreadsheet tells you to "mark it up 40%," you do not get a 40% margin, you get about 29%. If you actually want a 40% margin, you have to mark up around 67%.

Markup on costResulting gross margin
25%20%
50%33%
67%40%
100%50%
150%60%

If you want to check any pairing the other direction, or solve from profit and price, use the margin calculator, which handles the full four-way relationship between cost, price, margin, and profit.

How to Set a Markup That Hits a Target Margin

Most pricing starts from the margin you need, not the markup you want. To convert a target margin into the markup that reaches it:

Required markup % = Margin % / (100 − Margin %) × 100

For a 40% target margin: 40 ÷ 60 = 0.667, so you need a 67% markup. For a 50% target margin you need a 100% markup. The calculator's third mode does this for you: enter your unit cost and the gross margin you want to end up with, and it returns the exact markup and the selling price.

This matters most when you price a whole catalog off a single rule. A flat "2x cost" rule (100% markup) gives you a 50% gross margin on every SKU, which is fine, as long as you know that is what it does and you have priced the downstream costs in.

Ecommerce Pricing Context

Markup sets the shelf price. It does not tell you whether the sale makes money, because the cost you mark up is usually just the product cost, and an ecommerce order carries several more costs after that:

  • Shipping and fulfillment, often $5 to $9 per order.
  • Payment processing, roughly 3% of the order.
  • Discounts and promo codes, which come straight out of margin.
  • Returns, the refund plus the cost to process it.
  • Ad spend to acquire the customer in the first place.

A healthy-looking 100% markup and 50% gross margin can land at a 15% to 25% contribution margin once those are counted. That is not a reason to stop using markup, it is the fastest way to set a price, but it is the reason to check the price against contribution margin before you commit. Use the contribution margin calculator to see what a marked-up price actually leaves you per order.

Worked Example

A homewares brand sources a ceramic mug for $6.20 landed and wants a 60% gross margin.

InputValue
Unit cost$6.20
Target gross margin60%
Required markup150%
Selling price$15.50
Profit per unit$9.30

A 150% markup on a $6.20 cost sets the price at $15.50 and delivers the 60% gross margin the brand wanted. If instead they had "added 60%" as a markup, the price would have been just $9.92 and the margin only 37.5%, a $5.58 difference per unit that would have quietly capped the business well below its target. That is the markup-vs-margin gap doing damage, and it is exactly what this calculator is built to prevent.

From Markup to the Margin You Need

Markup is applied to cost to set a price; margin measures the profit that price leaves. A markup calculator is the fastest way to price from cost, and the target-margin mode bridges the two so you can price by markup while landing on the margin you actually need. To see whether those marked-up prices hold up after shipping, fees, and ad spend across your whole store, see how Daymark brings Shopify and your cost data into one plain-English view.

Frequently asked questions

How do you calculate markup?

Markup % = (Selling price − Cost) ÷ Cost × 100. Subtract cost from the selling price to get profit, divide that by the cost, and multiply by 100. A $60 price on a $40 cost is a 50% markup. To go the other way, Selling price = Cost × (1 + Markup ÷ 100), so a 50% markup on $40 gives $60.

What is the difference between markup and margin?

Markup measures profit against cost; margin measures the same profit against the selling price. Cost is always smaller than price, so markup is always the larger percentage. A 50% markup is only a 33% margin, and a 100% markup is a 50% margin. This calculator shows the resulting margin next to every markup so the two never get confused.

How do I set a markup to hit a target margin?

Required markup % = Margin ÷ (100 − Margin) × 100. For a 40% target margin: 40 ÷ 60 = 67% markup. For a 50% margin you need a 100% markup. Use the calculator's target-margin mode: enter your unit cost and the margin you want to end up with, and it returns the exact markup and selling price.

Why is markup always higher than margin?

Because they divide the same profit by different numbers. Markup divides profit by cost, which is the smaller figure, so the percentage comes out larger. Margin divides profit by the higher selling price, so it comes out smaller. The bigger the profit, the wider the gap: at breakeven both are zero, but a doubling of price is a 100% markup and only a 50% margin.

What is a standard markup for retail or ecommerce?

Keystone pricing, a 100% markup that doubles cost, is a common retail default and produces a 50% gross margin. Many ecommerce brands mark up 150% to 250% to leave room for shipping, fees, and ad spend. There is no single right number: set the markup so the resulting margin covers your cost to acquire and serve the customer with profit left over.

Does markup account for shipping and ad costs?

No. Markup is usually applied to product cost only, so the price it produces does not account for shipping, payment fees, discounts, returns, or ad spend. A 100% markup and 50% gross margin can fall to a 15% to 25% contribution margin after those. Use the contribution margin calculator to confirm a marked-up price actually earns money per order.

Set the markup here. Confirm the real margin in Daymark.

Daymark pulls Shopify, ad, and shipping costs together so the markup you set shows up as true net margin per product, plain English, no SQL, flat $100/month for the whole team.

No credit card required