PercentBox
PercentBox

Markup vs Margin Explained

Why a 40% markup is not a 40% margin, with the two formulas, a conversion table, and the pricing mistakes that erase a freelance profit.

By Ricardo Rodrigues · 8 min read · Updated

A café owner once told me her cakes were “40% profit” and, in the next sentence, that she multiplied the ingredient cost by 1.4. Those are different policies. One is a margin (profit as a share of the price the customer pays). The other is a markup (profit as a share of what the cake cost her). The euros in the middle can be calculated either way. The percents are not interchangeable, and using the wrong one is how a “healthy margin” becomes a price that does not cover the tin, let alone the rent.

The markup calculator converts among cost, selling price, markup, and margin. You still have to decide which percent your supplier, your client, or your own rule was talking about.

The two ratios

Let cost be C and selling price be S. Profit is S − C. Assume S is greater than C and both are positive.

Markup = (S − C) / C × 100%

Margin = (S − C) / S × 100%

Cost €50, markup 40%. Profit = 0.40 × 50 = €20. Selling price = €70. Margin = 20 / 70 ≈ 28.57%. You marked up 40% and your margin is under 30%.

Cost €50, margin 40%. The €50 cost is 60% of the selling price, because 100% − 40% = 60%. Selling price = 50 / 0.60 ≈ €83.33. Profit ≈ €33.33. Markup = 33.33 / 50 ≈ 66.67%.

Same word “40,” two prices, €13 apart. On a product you sell every day, that gap is the business.

CostPolicySell priceProfitThe other percent
€5040% markup€70.00€20.00margin ≈ 28.6%
€5040% margin€83.33€33.33markup ≈ 66.7%
€80sell at €100€100€20markup 25%, margin 20%
€20sell at €50€50€30markup 150%, margin 60%
€1525% markup€18.75€3.75margin 20%

The €80 to €100 row is the one to memorize as a pair: 25% markup and 20% margin are the same deal. If a wholesaler says “we work on 25” and a retailer says “I need 20 points,” they might already agree and not know it. Ask which base.

From one percent to the other

You do not need a new story, only algebra.

Given markup m (as a decimal), margin = m / (1 + m). A 40% markup: 0.40 / 1.40 ≈ 0.2857 = 28.57% margin.

Given margin g (as a decimal), markup = g / (1 − g). A 40% margin: 0.40 / 0.60 ≈ 0.6667 = 66.67% markup.

The second formula is why margins near 100% explode. A 90% margin means markup = 0.90 / 0.10 = 900%. A 100% margin is division by zero. If a spreadsheet shows a margin over 100%, the cost was entered as zero, negative, or above the price (which is a loss, and the “margin” should be discussed as negative, not as a proud percent).

Selling price from markup is the friendly one: S = C × (1 + m).

Selling price from margin is the one people avoid and then regret avoiding: S = C / (1 − g). It feels like an extra step because you divide instead of multiply. The division is the entire correction for the fact that the percent lives on the larger number.

A freelance day rate, fully loaded

Ingredients are rarely the whole cost. Suppose a designer’s hard cost for a small logo package is:

  • Stock assets and fonts, €30
  • Software slice for the week, €20
  • Subcontractor illustration, €100

Direct cost = €150. She wants a 30% margin so that profit contributes to tax, slow months, and the hours of revision she did not list as a cost. Selling price = 150 / 0.70 ≈ €214.29.

If she instead “adds 30%” (a markup), she invoices €195 and calls it a 30% profit. The margin on €195 is 45 / 195 ≈ 23%, not 30%. Seven points disappeared into the definition. Whether 23% is enough is a business question. Pretending it is 30% is an accounting question with a wrong answer.

Now put a cost she forgot, say €40 of paid ads she ran for the client, into the base. New cost = €190. At a true 30% margin, price = 190 / 0.70 ≈ €271. The earlier €214 quote does not merely earn a thinner margin. 214 − 190 = €24 profit, and 24 / 214 ≈ 11% margin. Forgotten costs do not reduce markup on paper. They reduce margin in the bank, because the selling price was computed from an incomplete C.

This is the practical reason to list costs before touching a percent. The markup calculator will convert whatever cost you type. It will not remember the software subscription.

Channel markups stack

A maker sells to a shop at a 30% margin on a €40 cost. Wholesale price = 40 / 0.70 ≈ €57.14. The shop applies a 50% markup (keystone-ish, though classic keystone is doubling, a 100% markup). Retail = 57.14 × 1.50 ≈ €85.71.

The customer’s price is not “30 + 50 = 80%” anything. Two businesses took two different percents on two different bases. The maker’s profit is about €17. The shop’s profit is about €28.57 on its own cost (the wholesale price), which is a margin of 28.57 / 85.71 ≈ 33%, not 50%. The shop’s 50% was a markup. If the shop’s rule was actually a 50% margin, retail would be 57.14 / 0.50 = €114.28, and the product might not sell. Knowing which rule the buyer means is a pricing conversation, not a vocabulary quibble.

Discounts that eat the margin

You priced €70 from a €50 cost, thinking “40% markup,” and the margin is about 28.6%. A 20% off sale sets the till at 70 × 0.80 = €56. Profit = €6. Margin = 6 / 56 ≈ 10.7%. Markup on the original cost is now 6 / 50 = 12%. The banner said 20% off. Your profit rate did not fall by 20% of 28.6 in a neat way you can do from memory; it fell because you gave away €14 of a €20 profit.

A deeper cut: 30% off €70 is €49, which is below cost. The sale is a loss of €1 per unit before you count payment fees. “Thirty off” sounded like a cousin of the “forty markup,” and it erased it. Before a promotion, recompute profit from the sale price minus cost. Do not subtract the discount percent from the margin percent. How discounts work is the sale-price half; this section is the “what remains for you” half.

VAT is not markup

Adding 23% VAT to a €70 net price makes a €86.10 gross. That €16.10 is not profit if you have to remit it. Your margin is still computed on the net amounts: profit versus net selling price, cost versus net cost. Mixing a VAT-inclusive shelf price into the margin formula makes the margin look smaller (the same profit divided by a larger, tax-inflated price) and can trick you into raising prices to “repair” a margin that was never broken. Strip VAT first, then compare. How to calculate VAT is the stripping step.

Mistakes that show up in real quotes

Multiplying by the margin. Cost × 1.40 is a 40% markup. It is the wrong button for a 40% margin target.

Dividing by the markup. People sometimes do cost / 0.60 because they remember “divide for the tricky one” and use 60% as a generic complement. The complement is 1 minus the margin, not 1 minus the markup.

Using revenue and cost from different tax treatments. Net with gross, or a cost that is VAT-recoverable treated as if it were not.

Ignoring fees. A 3% card fee on an €83.33 charge is about €2.50. If your profit was €33, you still have a business. If your profit was €3.75 on the €18.75 trinket, the fee is most of the profit. Percent fees compose with margin; they are not already inside it unless you put them in C.

Quoting margin to someone who buys on markup, or the reverse. Repeat the base in the sentence: “40% on cost” or “40% of the selling price.”

When to use the markup calculator

Use it when you have a cost and a target percent and you need the price before you say it out loud. Use the “from cost and sell” direction when you already have both numbers — a competitor’s shelf price and your cost — and you want to know what margin that price would imply for you. A pretty margin on their price only transfers if your cost matches theirs.

Use it to translate. If a brief says “maintain 35%,” calculate both interpretations once. The two prices are far enough apart that a one-line clarification (“on cost or on price?”) is cheaper than a year of the wrong invoice.

Do not use it as a full costing model. Overhead, labor hours, waste, and unsold stock never enter a two-number percent. Put those into the cost first, as plainly as you can, then let the percent do the only job it has: scaling that cost into a price on the base you actually meant.

FAQ

Which one divides by cost, and which by the selling price?
Markup divides profit by cost. Margin divides profit by the selling price. The same euros of profit are a larger markup percent than margin percent, because cost is the smaller base.
How do I turn a desired margin into a price?
Selling price = cost / (1 − margin as a decimal). A 40% margin on a €50 cost is 50 / 0.60 ≈ €83.33. You cannot multiply the cost by 1.40 — that would be a 40% markup, which is only about a 28.6% margin.
Can margin be 100% or more?
A 100% margin would mean the entire selling price is profit and the cost is zero, so the formula divides by zero. Margins at or above 100% are not meaningful for a positive cost. Markups can be well above 100%: a €20 cost sold for €50 is a 150% markup and a 60% margin.

← All guides