Brand Scaling

Markup Calculator

Home / Free Tools / Free Ecommerce Tool

This markup calculator shows the markup, gross margin and profit on a product from its cost and selling price. It also works the other way: enter the markup you want and it returns the price to charge.

Markup and margin are often mixed up, and the mix-up is expensive. A 50% markup is only a 33% margin, so a store that prices at "50% on top" and then plans its ad budget as if it keeps half of every sale will lose money. Use markup to set prices and margin to plan spend.

How do you calculate markup?

Markup is profit divided by cost. Subtract the cost from the selling price, divide by the cost and multiply by 100. A product that costs $20 and sells for $50 has a $30 profit, so the markup is 150%. Margin uses the same profit but divides by price, which gives 60%.

Markup calculator

Inputs: Cost per unit ($), Selling price per unit ($), Target markup (%). The calculator runs in your browser; nothing is stored.

What is the markup formula?

Markup = (selling price - cost) / cost

Gross margin = (selling price - cost) / selling price

Selling price for a target markup = cost x (1 + markup)

Markup from margin = margin / (1 - margin)

Margin from markup = markup / (1 + markup)

Markup vs margin: what is the difference?

Both use the same profit. Markup compares it with cost; margin compares it with price. Markup is always the larger number.

MarkupGross marginPrice on a $20 cost
25%20%$25
50%33.3%$30
100%50%$40
150%60%$50
200%66.7%$60
300%75%$80

Worked example: pricing a $20 product

A brand pays $20 per unit, landed. At $50 it makes $30 of gross profit per unit. Markup is $30 / $20 = 150%. Margin is $30 / $50 = 60%.

If the brand wants a 200% markup instead, the price is $20 x 3 = $60, and the margin becomes 66.7%. Gross margin is before shipping, payment fees, returns and ads, so the money left to spend on ads per order is smaller than these figures suggest. Run the result through the break-even ROAS calculator before you set an ad budget.

What markup does an ecommerce product need?

Enough to pay for everything between the factory and the customer's door, and still leave profit. For a DTC brand that sells through paid ads, the order value has to cover product cost, shipping, payment fees, returns and the ad cost of winning the order. That is why many DTC brands aim well above a 100% markup, while marketplace sellers with no ad cost can work on less. Check your own number with the steps below rather than copying a rule of thumb.

  • 1. Start from landed cost: supplier price, freight, duties and packaging.
  • 2. Add shipping, payment fees and a returns allowance per order.
  • 3. Decide the ad cost per order you can afford (your target CPA).
  • 4. Add the profit you want per order.
  • 5. Divide the total by the landed cost and subtract 1 to get the markup you need.

How to improve your markup without losing sales

Raising the price is only one lever, and often not the best one.

  • Lower landed cost with supplier terms, larger orders or cheaper packaging.
  • Sell bundles and multi-packs, which raise order value while the extra units cost you only their product cost.
  • Add perceived value with better product pages, proof and guarantees you can keep, so a higher price converts.
  • Test price points on new customers before changing them for everyone.

Frequently asked questions

Is markup the same as profit margin?

No. Markup divides profit by cost, and margin divides the same profit by the selling price. A product that costs $20 and sells for $40 has a 100% markup but a 50% margin. Use markup when setting prices and margin when planning budgets, because margin is the share of each sale you keep.

How do I convert margin to markup?

Divide the margin by one minus the margin. A 40% margin is 0.40 / 0.60, which is a 66.7% markup. To go the other way, divide markup by one plus markup: a 100% markup is 1.00 / 2.00, a 50% margin. The table on this page lists common pairs.

What is a good markup for ecommerce?

There is no single good markup. It has to cover product cost, shipping, payment fees, returns and the ad cost of each order, and still leave profit. Brands that buy customers through paid ads usually need a higher markup than marketplace sellers who rely on organic traffic. Work it out from your own costs.

Should markup include shipping costs?

Calculate markup on landed product cost, then check that the price also covers outbound shipping, payment fees and returns. If you offer free shipping, add your average shipping cost per order to the product cost before you calculate, otherwise the markup will look healthier than it really is.

How does markup affect my ad budget?

Markup sets your contribution margin, and contribution margin sets the most you can pay in ads per order. A higher markup raises your break-even CPA and lowers your break-even ROAS, which gives your ads more room to find customers. Use the break-even ROAS calculator once your price is set.

Related

Need help setting prices your ads can afford?

Book a free Brand Growth Audit. We work through your margins, fees and ad numbers with you and show which ones to fix first. Book a Brand Growth Audit.

Explore more

More free calculators

Services

Guides