$
What one unit costs you to make or buy
%
Percentage added on top of your cost
Enter your unit cost and a markup or margin percentage above to calculate selling price and profit.

How to Use This Calculator

  1. 1

    Pick how you want to calculate

    Switch to Markup → Price if you already know what percentage you add on top of wholesale. Use Margin → Price if you've got a strict target margin to protect.

  2. 2

    Your unit cost

    Type what you paid to produce, buy, or stock one item before factoring in any markup.

  3. 3

    Plug in your target percentage

    Put in the markup or margin percentage you want. If you're using margin mode, keep it under 100% since no physical item can hit pure 100% margin.

  4. 4

    Review the spread instantly

    Your retail price, gross cash profit, and the counterpart metric update live as you type. Hit Try an example if you want to see a standard 25% setup in action.

The Formula

People trip over this because markup and margin share the exact same numerator — your cash profit. The entire difference comes down to what you divide by. Here's how the math runs in both directions:

Markup Mode:
Selling Price = Cost × (1 + Markup ÷ 100)
Profit = Selling Price − Cost
Margin = (Profit ÷ Selling Price) × 100

Margin Mode:
Selling Price = Cost ÷ (1 − Margin ÷ 100)
Profit = Selling Price − Cost
Markup = (Profit ÷ Cost) × 100

Here is what each parameter means in practice:

Why markup is always higher than margin: Both metrics use identical profit in dollars, but markup divides that profit by cost — which is smaller. Margin divides the same profit by retail price, which is larger. When you divide the same dollar bill by a smaller number, you get a bigger percentage every time. That's why a 25% markup only lands you a 20% margin.

Example

Most pricing mistakes happen when someone picks a number by gut instead of running the math. Honestly, I've never priced inventory — the closest I've come is selling an old phone second-hand and choosing a price mostly on feel, which is exactly what this page exists to fix. Say you buy a retail product wholesale for $80.00 and tell yourself you want a 25% profit margin. Here's how the actual numbers shake out:

Wholesale Unit Cost: $80.00
Target Profit Margin: 25.0%
Required Selling Price: $106.67
Gross Cash Profit: $26.67
Required Markup on Cost: 33.33%
Cost Share of Price: 75.0%

Walking through the arithmetic step by step:

  1. Calculate divisor: 1 − (25 ÷ 100) = 0.75
  2. Calculate retail selling price: $80.00 ÷ 0.75 = $106.67
  3. Calculate unit profit: $106.67 − $80.00 = $26.67
  4. Calculate equivalent markup: ($26.67 ÷ $80.00) × 100 = 33.33%

Here's the trap that catches people. If you simply slapped a 25% markup onto that $80.00 cost, you'd sell at $80.00 × 1.25 = $100.00. That gives you $20.00 profit, which sounds fine until you realize that's only a 20% margin ($20 ÷ $100). That common slip costs you $6.67 in lost profit on every single unit you ship.

Frequently Asked Questions

What is the difference between margin and markup?

Markup looks backward at what you spent, while margin looks forward at what you collect. If you buy a product for $80 and sell it for $100, that $20 profit is a 25% markup on cost ($20 ÷ $80), but only a 20% margin on the sale price ($20 ÷ $100). Margin, I think. It answers the question I actually care about: how much of the final price is mine? But I get why shopkeepers quote markup — it's easier math off the cost. Mixing the two up is usually how people accidentally price their inventory too low.

Why is markup always higher than margin?

Both ratios put the exact same cash profit on top, but markup divides by cost while margin divides by retail price. Because your retail price is always higher than your cost on any profitable sale, dividing by that smaller cost number gives you a bigger percentage every time.

Can profit margin ever reach or exceed 100%?

No, margin tops out below 100% because you can't keep more than 100 cents of every dollar you bring in. Reaching a 100% margin means your item cost literally zero, and going past 100% is mathematically impossible. Markup, on the other hand, easily blows past 100%, 200%, or 500%.

What happens if I set markup or margin to 0%?

Your selling price equals your unit cost, leaving you with exactly $0.00 in gross profit. You're just swapping dollars with the customer. That might break even on the physical product, but your business takes a loss once rent, transaction fees, and shipping hit.

How do I turn a desired margin into a markup percentage?

Use the conversion formula: Markup = Margin ÷ (1 - Margin). To hit a 25% margin, you run 0.25 ÷ (1 - 0.25) = 0.25 ÷ 0.75 = 33.33% markup. Honestly, trying to divide decimals like 0.25 by 0.75 in your head during a supplier call is annoying, which is why running it through a calculator saves real money.

Related Calculators