Free tool
Markup Calculator
Add a markup to your cost. See the price and gross margin it gives you.
Use this markup calculator to set a price from your product cost, check the markup on a price you already charge, or convert a markup percentage to gross margin. Choose the calculation you need below.
Markup and gross margin measure the same gross profit against different amounts. A 50% markup on a $40 cost gives a $60 price and a 33.3% gross margin. Only the product cost you enter is subtracted; any costs left out still need to be covered.
One item · Markup uses cost · Gross margin uses selling price
Choose a calculation
Use the price and cost of one item, in the same currency.
Replace these examples with your own numbers. Results update as you type. Your entries stay on this page until you copy them.
Need help finding your figures in Shopify?
Ask Sidekick for the net selling price and recorded cost of the same item. Check discounts, refunds and missing product costs against your reports and supplier records.
Paste the copied text into Shopify Sidekick.
Price and cost
What’s different about this calculator
Set a price, check an existing markup or convert markup to gross margin.
| Basic calculation | What this adds |
|---|---|
| Cost plus a chosen markup | Also checks markup from an existing price or converts markup to gross margin |
| A markup percentage | Shows gross margin alongside it so you can compare the two |
| A price above cost | Also handles below-cost prices and negative markup |
How this tool works
How to calculate markup and gross margin
To set a price, multiply your product cost by 1 plus your markup percentage divided by 100. To check an existing price, subtract cost from price, divide by cost and multiply by 100. That is your markup percentage.
Gross margin uses selling price instead of cost. Divide the same gross profit by selling price and multiply by 100. You can also convert markup directly: divide the markup percentage by 100 plus that percentage, then multiply by 100. The conversion does not need a currency amount.
Selling price = cost × (1 + markup % ÷ 100). Markup % = (price − cost) ÷ cost × 100. Gross margin % = (price − cost) ÷ price × 100.
A 50% markup on your $40 cost
Adding 50% of $40 adds $20, giving a $60 selling price. The same $20 gross profit is 50% of your cost but only 33.3% of the selling price. A 50% gross margin would need an $80 selling price. Any other costs still have to come out of the gross profit.
Questions & answers
Understanding your result
Is 50% markup the same as 50% gross margin?
No. A 50% markup on a $40 cost gives a $60 selling price and $20 gross profit. That $20 is 33.3% of the selling price, so the gross margin is 33.3%. A 50% gross margin on the same cost needs an $80 price.
How do I convert markup to gross margin?
Divide the markup percentage by 100 plus that percentage, then multiply by 100. For a 20% markup: 20 ÷ 120 × 100 = 16.7% gross margin. Choose the percentage-conversion option to try this without entering a price or cost.
What should I include in my product cost?
Use the cost of one item, including the delivery, duties and other amounts you count as product cost. Count each amount once. Use a consistent tax basis. Only this entered cost is subtracted, so any payment fees, delivery, advertising, overhead or other costs left out still need to be covered.
What price should I enter when checking an existing markup?
Enter the selling price of one item after discounts and refunds, excluding sales tax you collect. Use the product cost for that same item and the same currency. There are no separate discount or tax fields, so make those adjustments before entering the price.
Can I use a negative markup or a zero cost?
A negative markup means selling below cost. Target markup and percentage conversion accept rates from −99.99% to 10,000%. Cost-plus pricing needs a cost above zero. When checking a known price, zero cost leaves markup undefined and zero price leaves gross margin undefined. Other amounts that can be calculated are still shown.
Does this tell me what customers will pay?
No. It shows the arithmetic for the numbers you enter. It does not predict demand or check competitor prices. Before changing a price, check discounts, all costs, customer demand and the amount you need left over. A positive gross profit is not the same as net profit.
