Margin and markup describe the same $40 of profit in two different ways, and mixing them up is one of the most expensive small mistakes in pricing. Markup measures your profit against cost, while margin measures it against the selling price. A product that costs $60 and sells for $100 carries a 66.7 percent markup but only a 40 percent margin — and if you price for one while thinking of the other, your profit target quietly slips away. This guide to how to calculate profit margin and markup gives you both formulas, the conversions between them, and worked examples so the price you set actually delivers the profit you planned.
The confusion is so common because the two numbers feel interchangeable in conversation. A supplier says “50 percent”, a partner says “40 percent”, and nobody stops to ask which base the percentage sits on. The answer changes the price by real money, so it is worth the five minutes this guide takes to learn the distinction properly — then it becomes a habit you never have to think about again.
How to Calculate Profit Margin and Markup: The Two Formulas
Markup is calculated on cost. The formula is: markup percentage = (selling price − cost) ÷ cost × 100. If a product costs you $60 and sells for $100, the markup is ($100 − $60) ÷ $60 = 66.7 percent. Margin is calculated on the selling price: gross margin = (selling price − cost) ÷ selling price × 100, so the same product has a margin of ($100 − $60) ÷ $100 = 40 percent. Same $40 of profit, two very different percentages.
Two facts follow from the formulas and are worth remembering. First, the same profit always produces a higher markup percentage than margin percentage, because markup divides by the smaller number. Second, margin can never reach 100 percent on a profitable sale — even a product bought for $10 and sold for $100 has a 90 percent margin — while markup has no ceiling at all: that same product carries a 900 percent markup. Whenever a supplier, partner, or employee quotes a percentage, ask which one they mean, because a 50 percent markup and a 50 percent margin lead to noticeably different prices.
- Markup = profit ÷ cost (what you paid). Use it when pricing up from what something cost you.
- Margin = profit ÷ selling price (what the customer pays). Use it when reporting results and setting profit targets.
- Margin is the figure used in financial statements, gross profit reports, and investor conversations.
- Markup is the quick mental-math tool for turning a cost into a price on the fly.
Converting Between Margin and Markup
You will often know the margin you want and need the markup that delivers it, or the reverse. The conversion formulas are: markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup). Aiming for a 40 percent margin? The required markup is 0.40 ÷ 0.60 = 66.7 percent. Been applying a 50 percent markup out of habit? That produces a margin of 0.50 ÷ 1.50 = 33.3 percent — which explains many businesses that feel busy yet stay short of cash.
To price directly from a target margin, divide your cost by (1 − target margin). A product costing $45 with a 35 percent target margin needs a price of $45 ÷ 0.65 = $69.23. Pricing from markup instead is simple multiplication: cost × (1 + markup), so $45 at a 50 percent markup is $67.50. Keep both methods in your toolkit, but decide which one your business reports on and use it consistently, so your numbers stay comparable month to month and year to year.
It helps to memorise a few common pairs: a 100 percent markup equals a 50 percent margin, a 50 percent markup equals a 33.3 percent margin, and a 25 percent markup equals a 20 percent margin. Once those three are in your head, you can sanity-check a quoted price in seconds without reaching for a calculator.

Worked Pricing Examples
Example one, retail: a candle costs $8 to make and package. The owner wants a 60 percent margin for direct sales, so the price is $8 ÷ 0.40 = $20. The markup on that price is ($20 − $8) ÷ $8 = 150 percent, which sounds dramatic but is exactly what a 60 percent margin requires. When a shop offers to stock the candle at wholesale, the owner might accept a 40 percent margin instead: $8 ÷ 0.60 = $13.33, leaving the retailer room to mark it up to the same $20 shelf price.
Example two, services: a designer estimates a project will take 10 hours at an internal cost of $40 per hour, so total cost is $400. Pricing for a 50 percent margin gives $400 ÷ 0.50 = $800. If the designer instead adds a 50 percent markup, the quote is $600 and the margin ends up at only 33.3 percent. On a calendar full of projects, that single misunderstanding quietly cuts a third of the intended profit out of the business. Freelancers setting project rates should pair this with a proper look at value-based pricing for freelancers, which prices the result for the client rather than the hours it took.
Example three, the discount trap: a product priced at $100 with a $60 cost carries a 40 percent margin. Put it on sale at 20 percent off — $80 — and the margin drops to ($80 − $60) ÷ $80 = 25 percent. A 20 percent discount removed 37.5 percent of the margin. Run this calculation before every promotion, because a sale that feels generous can turn a healthy product into a loss-maker once the true costs are counted.
Gross Margin, Operating Margin, and Net Margin
Gross margin, the figure in the examples above, only subtracts the direct cost of the product or service itself. Operating margin goes further, subtracting rent, salaries, software, marketing, and the other costs of running the business day to day. Net margin subtracts everything, including interest and taxes, and is the truest measure of what a business keeps from each dollar of sales.
A healthy gross margin can still produce a weak net margin if overhead is heavy, which is why pricing decisions should start from gross margin targets that leave room for everything below them. When you calculate a product’s margin, include the full direct cost: materials, packaging, transaction fees, shipping subsidies, and the labour directly involved. Leaving out a $2 fee here and a $3 cost there is how a product that looked like a 45 percent margin quietly becomes 30 percent. That full-cost habit is the same discipline behind knowing how to calculate the break-even point for a small business — both exercises force you to count costs you would rather forget.
- Gross margin: price minus direct product cost only.
- Operating margin: also subtracts day-to-day running costs such as rent, salaries, and software.
- Net margin: subtracts everything, including interest and tax.
- Always load direct costs fully: materials, packaging, payment fees, shipping, and direct labour.

How to Calculate Profit Margin and Markup for Your Own Prices
Start by listing the true cost of one unit, being more thorough than feels necessary. Then choose the margin your business model needs — not the markup a competitor happens to use — and divide cost by (1 − margin) to get your price. Finally, sanity-check the result against the market: if the price is far above comparable offers, your costs may be the problem rather than your margin target, and squeezing the margin to match competitors usually trades a visible problem for an invisible one.
Review margins quarterly, because costs creep. A supplier increase of 8 percent that you absorb without repricing cuts directly into margin, and on a 30 percent margin product it can remove a quarter of the profit per unit. Building a simple spreadsheet with cost, price, markup, and margin columns for every product makes these checks take minutes, and it forces the margin-versus-markup distinction to stay clear every time a price changes. If you run a freelance or solo business, the same spreadsheet habit pairs naturally with knowing how to calculate self-employment tax — tax is another cost that has to sit inside the margin, not outside it.
A Simple Quarterly Pricing Routine
Once a quarter, sit down with the spreadsheet and work through each product: has any supplier raised a price, has a payment processor changed its fee, has shipping crept up? Update the true cost, recalculate the margin at the current price, and flag anything that has slipped more than three points below target. Products that slip get a decision — raise the price, renegotiate the cost, or accept the lower margin deliberately — never by accident.

Frequently Asked Questions
What is the difference between margin and markup?
Markup is profit divided by cost, while margin is profit divided by the selling price. A $40 profit on a $60 cost sold at $100 is a 66.7 percent markup but a 40 percent margin.
Is a 100 percent markup the same as a 50 percent margin?
Yes. Doubling your cost (100 percent markup) means profit is half the selling price, which is a 50 percent margin. The conversion formula is margin = markup ÷ (1 + markup).
What markup do I need for a 30 percent margin?
Markup = 0.30 ÷ (1 − 0.30) = 42.9 percent. Alternatively, price directly with cost ÷ (1 − 0.30). A $50 cost needs a price of about $71.43 to hold a 30 percent margin.
Which should my business use, margin or markup?
Use margin for reporting and targets, since it matches financial statements and shows what share of each sale you keep. Markup is handy for quick pricing from cost, as long as you convert carefully and never confuse the two.
How do discounts affect my margin?
More than they feel like they should. A 20 percent discount on a product with a 40 percent margin cuts the margin to 25 percent — a 37.5 percent reduction in profit per unit. Always recalculate margin at the discounted price before running a promotion.

