Smekys
Ad Space

Margin vs Markup Calculator

Margin vs markup calculator: enter cost, price, and quantity to compare margin % and markup % side by side with total period profit.

Enter Values

$

What one unit costs you to make or buy (cost of goods sold).

$

What you actually charge the customer for one unit.

units

How many units you expect to sell. Drives total revenue, total cost, and total period gross profit. Leave at 1 for per-unit pricing analysis.

Result

Gross Profit per Unit
$30.00
Gross Margin
37.5%
Markup
60%
Price as Multiple of Cost
1.6
Total Revenue (Quantity)
$80.00
Total COGS (Quantity)
$50.00
Total Gross Profit (Quantity)
$30.00

Margin and markup sound like the same thing, and they are built from the same two numbers — what an item costs you and what you sell it for. Yet they are two different percentages, and mixing them up is one of the most common and most expensive mistakes a small business can make. A 50% markup is not a 50% margin; it is a 33.3% margin. Relying on the wrong one when you set prices silently leaves you selling at a thinner profit than you thought.

This margin vs markup calculator takes your cost of goods sold (COGS) and your selling price and shows both percentages side by side, along with the gross profit in dollars and the price-to-cost multiplier. Read on, or just type two numbers into the boxes and watch the difference appear instantly.

How to Use

  1. Enter your Cost per Unit (COGS) — the direct cost to make or buy one unit before any markup. This is materials, manufacturing, wholesale purchase, and freight tied to that specific item, not your overhead rent or software subscriptions.
  2. Enter your Selling Price per Unit — the price the customer actually pays at the register or in the invoice.
  3. Enter Quantity Sold if you want period totals. Leave it at 1 for per-unit pricing analysis. The field multiplies per-unit profit into total revenue, total cost, and total gross profit.
  4. Read the result card: Gross Profit per Unit (price minus cost), Gross Margin (profit divided by price), and Markup (profit divided by cost) update together.
  5. Notice that Markup is always a larger percentage than Margin when both cost and price are positive. That gap is the whole reason the two numbers get confused.
  6. To price from a target instead: decide whether you are quoting a target margin (profit as a share of revenue) or a target markup (profit as a share of cost). The two conversions below let you move from one to the other without a spreadsheet.

The Two Formulas

Both numbers start from gross profit:

Gross Profit = Selling Price − Cost

From there they divide by a different denominator:

  • Gross Margin = Gross Profit ÷ Selling Price × 100 — profit measured as a share of revenue.
  • Markup = Gross Profit ÷ Cost × 100 — profit measured as a share of cost.

Use the worked example on a product that costs you $50 and sells for $80: gross profit is $30. Margin is $30 ÷ $80 = 37.5%. Markup is $30 ÷ $50 = 60%. Same $30 profit, two different percentages — because margin divides by the larger number (price) and markup divides by the smaller one (cost).

Why They Are Never Equal

Because the price is always larger than the cost, the margin denominator (price) is bigger than the markup denominator (cost). Dividing the same profit by a bigger number produces a smaller percentage. So margin is always lower than markup, and the gap widens as prices rise. A 100% markup (doubling your money) is only a 50% margin. A 200% markup is a 66.7% margin. This is why two founders can agree on "we want a 50% profit" and end up pricing 33% apart.

The conversion between them is simple:

  • Markup = Margin ÷ (1 − Margin)
  • Margin = Markup ÷ (1 + Markup)

Check it with the $50 → $80 example: a 37.5% margin converts to 0.375 ÷ (1 − 0.375) = 0.375 ÷ 0.625 = 0.60, or a 60% markup. Reverse it: 0.60 ÷ (1 + 0.60) = 0.60 ÷ 1.60 = 0.375, or a 37.5% margin. The two percentages are locked to each other for any given cost and price.

Which One Should You Use?

Use margin when you talk about the health of the business. Investors, lenders, and income statements use gross margin because it tells them what fraction of every revenue dollar survives after the direct cost of the goods. If your gross margin is 37.5%, roughly 37.5 cents of every sales dollar is left to cover rent, salaries, and profit.

Use markup when you set a price on a job or a product. If you know your cost and want a simple rule to add a percentage on top, markup is the direct tool: price = cost × (1 + markup). Just remember that a 60% markup does not mean a 60% margin — and check the margin line after you price, because that is the number that reveals whether the sale actually covers your overhead.

Examples

Example 1 — The canonical case. An item costs you $50 and you sell it for $80. Gross profit is $30. Gross margin is $30 ÷ $80 = 37.5%, while markup is $30 ÷ $50 = 60%. The price-to-cost multiplier is 1.60 — you are charging 1.6 times what it cost you.

Example 2 — Doubling your money. A product costs $20 and you price it at $40, a 100% markup. Gross profit is $20. But the margin is only $20 ÷ $40 = 50%. Anyone who tells you "I double my price, so I make 100% on every sale" is quietly running a 50% margin — still healthy, but not what they meant.

Example 3 — A high-value order. A part costs $250,000 and a client agrees to $1,000,000. Gross profit is $750,000. Gross margin is 75% of revenue, while markup is a much larger 300% on cost. On a deal this size, quoting from a markup without converting it to margin can mask whether the 75% revenue margin is enough to absorb unexpected cost overruns.

FAQ

What is the difference between margin and markup?

Margin is profit divided by the selling price (revenue); markup is profit divided by the cost. Both use the same gross profit number, but margin divides by price and markup divides by cost, so they are never the same. Margin is always the smaller percentage on a normal, profitable sale.

Is a 50% markup the same as a 50% margin?

No. A 50% markup means price = cost × 1.5. On a $100 item selling for $150, profit is $50 and the margin is $50 ÷ $150 = 33.3%. To get a true 50% margin, you must mark the item up 100% and sell it for double your cost.

How do I convert markup to margin?

Divide the markup (as a decimal) by one plus the markup: margin = markup ÷ (1 + markup). For a 60% markup, that is 0.60 ÷ 1.60 = 0.375, or a 37.5% margin. Reverse it with markup = margin ÷ (1 − margin).

When should I use margin and when should I use markup?

Use margin to evaluate business performance and read financial statements — it measures profit as a share of revenue. Use markup to set prices from a known cost — price = cost × (1 + markup). After pricing, always check the margin line to confirm the sale covers your overhead.

Why is margin always smaller than markup?

Because the price is larger than the cost. Margin divides profit by the price (a larger number), while markup divides the same profit by the cost (a smaller number). Dividing by a bigger denominator always yields a smaller percentage, so margin is the lower figure and the gap grows as the price rises.

What happens if my cost is zero?

Markup becomes mathematically undefined because you would be dividing profit by zero. A free-to-produce digital product has no meaningful markup percentage, even though its margin is 100% of revenue. Enter a zero cost in the calculator to see how the tool flags it rather than returning a nonsense percentage.

Disclaimer

The Smekys Margin vs Markup Calculator is provided for informational purposes only and does not constitute financial, accounting, or tax advice. Margin and markup figures are based on the cost and selling price you enter; they exclude overhead, taxes, shipping, discounts, and other operating expenses that affect real profitability. Always confirm your pricing and margins with a qualified accountant or business advisor before making pricing decisions.

Related Calculators

Disclaimer

Results are estimates for illustration only. Verify important figures independently.