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.

Markup sets the price, not the profit

After shipping, fees, ad spend, and returns, your net margin is lower than the gross margin a markup leaves.

Daymark reads these costs from your Shopify, ad, and shipping data and shows net margin per product.

See your net margin

What Is a Markup Calculator?

A markup calculator turns cost into a selling price. You enter what a unit costs you and the markup percent you want to add. It returns the price to charge, plus the gross margin that price gives you. This tool runs three ways. It goes from cost plus markup to a price. It goes from cost plus price back to a markup. And it finds the markup you need to hit a target margin, which most calculators skip.

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 measure the same profit against a different base:

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

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

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

To check any pairing the other way, or to solve from profit and price, use the margin calculator. It handles the full four-way link 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 turn 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, and it returns the exact markup and the selling price.

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

What Markup Leaves Out in Ecommerce

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

  • Shipping and fulfillment, often $5 to $9 per order.
  • Payment processing, about 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 get 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 you count those. That is not a reason to stop using markup. It is still the fastest way to set a price. It is the reason to check that price against contribution margin before you commit. Use the contribution margin calculator to see what a marked-up price really leaves you per order.

Markup Calculator Example: Cost to Price

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 gives the 60% gross margin the brand wanted. If they had "added 60%" as a markup instead, the price would have been just $9.92 and the margin only 37.5%. That is a $5.58 gap per unit, and it would have held the business well below its target. This is the markup-vs-margin gap at work, and it is what this calculator is built to catch.

From Markup to the Margin You Need

Markup is added to cost to set a price. Margin measures the profit that price leaves. A markup calculator is the fastest way to price from cost. The target-margin mode links the two, so you can price by markup and still land on the margin you need. Want to know whether those 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.

See the real margin your markup leaves

This page shows the gross margin your markup creates. Daymark connects your Shopify, ad, and shipping data and shows net margin per product after every cost. Plain English, no SQL. Plans from $49/month based on monthly Shopify orders, with all features included.