Spark Inventory
Free pricing tool

Markup calculatorwith margin, profit and the formula

Enter your cost and a markup to get the selling price, or enter a price to see the markup and margin you are really making. You can also price to a target margin.

I know the cost and the

The starting numbers are example values, not Spark data. Replace them with your own.

Selling price

$30.00

You keep $10.00 per unit: a 50% markup on cost and a 33.3% gross margin on the price.

Selling price

$30.00

Profit per unit

$10.00

Markup

50%

Gross margin

33.3%

Markup = (price − cost) ÷ cost × 100. Margin = (price − cost) ÷ price × 100.

The markup formula

How to calculate markup

Subtract the cost from the selling price to get the profit per unit, then divide that profit by the cost. Multiply by 100 for a percent.

Markup % = (selling price − cost) ÷ cost × 100
Selling price = cost × (1 + markup ÷ 100)

Margin uses the same profit but divides by the price, so it is always the smaller number. For when to use each, read margin vs markup. For the other things that go into a price, see how to calculate selling price.

Worked example (illustrative numbers)

  1. 1. Landed cost. A mug costs $17.50 from the supplier plus $2.50 of freight and duty: $20 per unit.
  2. 2. Price from markup. A 50% markup: $20 × 1.5 = $30. The profit is $10 per unit.
  3. 3. The margin it gives. $10 ÷ $30 × 100 = 33.3%. A 50% markup is a 33.3% margin, not 50%.
  4. 4. Pricing to a margin. To make a 40% margin, divide the cost by 0.6: $20 ÷ 0.6 = $33.33, a 66.7% markup.

Leave the freight out of step 1 and the same $30 price looks like a 71% markup. Always mark up the landed cost.

Markup to margin chart

Common markups and the margin each gives

Multiply your cost by the multiplier to get the price. Margin = markup ÷ (100 + markup) × 100.

MarkupGross marginPrice multiplier
10%9.1%× 1.1
20%16.7%× 1.2
25%20%× 1.25
30%23.1%× 1.3
33.3%25%× 1.333
40%28.6%× 1.4
50%33.3%× 1.5
60%37.5%× 1.6
75%42.9%× 1.75
100%50%× 2
150%60%× 2.5
200%66.7%× 3

Beyond one price

Keep your margin right across every SKU

A markup is only as good as the cost under it, and costs move with every order. Spark Inventory keeps item costs current from your purchasing and shows what is worth reordering.

Costs from what you paid

Spark keeps each item’s cost from your purchase orders and supplier price books, including quantity breaks, so margin is worked out on real costs instead of a number typed in once.

Landed cost on the PO

Allocate freight, duties and other charges across the lines of a purchase order, so the cost you mark up includes getting the stock to your shelf.

Hold, mark down or bundle

Ask Claude or ChatGPT through the Spark connector how long an item’s stock takes to clear at the current price, with a markdown, or in a bundle, and what margin each keeps.

Buy what sells

Demand ESP forecasts every SKU and turns it into reorder recommendations, so you hold less of the items that only sell at a discount.

Markup FAQ

Markup and margin questions

Checking how fast stock sells at that price? Try the sell-through rate calculator.

What is the markup formula?+

Markup % = (selling price − cost) ÷ cost × 100. To get a price from a markup, multiply the cost by 1 plus the markup: selling price = cost × (1 + markup ÷ 100). A $20 item with a 50% markup sells for $20 × 1.5 = $30.

How do I calculate a 30% markup?+

Multiply the cost by 1.3. An item that costs $40 sells for $40 × 1.3 = $52, a profit of $12 per unit. That 30% markup is a 23.1% gross margin, because the $12 profit is 23.1% of the $52 price.

What is the difference between markup and margin?+

Both use the same profit per unit. Markup divides it by the cost; margin divides it by the selling price. So markup is always the larger number: a 50% markup is a 33.3% margin, and a 100% markup (doubling the cost) is a 50% margin. Our guide to margin vs markup covers when to use each.

How do I convert markup to margin, or margin to markup?+

Margin % = markup ÷ (100 + markup) × 100, so a 25% markup is 25 ÷ 125 = a 20% margin. Markup % = margin ÷ (100 − margin) × 100, so a 40% margin is 40 ÷ 60 = a 66.7% markup. The table on this page lists the common pairs.

How do I price a product to hit a target margin?+

Divide the cost by 1 minus the target margin. For a 40% margin on a $30 item: $30 ÷ 0.6 = $50. Adding 40% to the cost instead ($42) only gives a 28.6% margin, which is the most common pricing mistake. Choose "Target margin" in the calculator to do it for you.

What cost should I use?+

Use the full landed cost of one unit: the supplier price plus freight, duties and any packaging you add before it sells. Leaving freight out makes every markup look better than it is. If costs change from order to order, use the cost of the stock you are pricing now, not the oldest or cheapest batch.

What is keystone pricing?+

Keystone pricing means doubling the cost: a 100% markup, which is a 50% gross margin. It is a common starting point in retail, then adjusted for how fast an item sells, what competitors charge and how much it costs to hold.

How does Spark Inventory help with pricing and margin?+

Spark keeps each item’s cost from your purchase orders and supplier price books, so margin is worked out on what you actually paid. Through the Spark connector, Claude or ChatGPT can compare holding the price, a markdown or a bundle for slow stock, with the margin each one keeps.

Free for one user

Price on real costs, reorder on real demand

Connect your sales history and Demand ESP forecasts every SKU and turns it into monthly reorder recommendations, with each item’s cost kept from your purchase orders.

  • Free: per-SKU Demand ESP forecasts and seasonal curves
  • Free: stock-risk reports and monthly reorder recommendations
  • Solo ($99/mo): continuous forecasts, live alerts and Text with Sparki