Percentage Markup Formula

How much markup are you actually charging above your cost?

Enter your cost and selling price to instantly see your markup percentage, gross profit, and margin. Works for any product or service — retail, wholesale, or freelance.

Updated July 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Most people price by feel — they know roughly what something costs and add what seems reasonable. The markup formula makes that instinct precise. It answers a specific question: for every dollar you spend to produce or acquire something, how many additional cents are you collecting when you sell it?

The math works like this: subtract your cost from your selling price to find gross profit, then divide that gross profit by the cost. Multiply by 100 to express it as a percentage. A $20 cost and a $50 selling price gives you $30 of gross profit, which divided by $20 is 1.5 — or 150% markup. That $50 price is recovering your $20 cost plus adding 150% of it on top.

This is meaningfully different from profit margin, which divides the same gross profit by the selling price instead of the cost. The 150% markup above is a 60% margin. Both numbers describe the same transaction — they are just different lenses. Markup answers how much you added over cost. Margin answers what fraction of the sale price is profit. Both matter depending on what decision you are making.

When To Use This
Right tool, right situation

Use the markup formula whenever you are setting or reviewing a price and need to anchor it to cost. It is most useful during product launch pricing, supplier renegotiations, quote generation for service work, and when comparing margins across product lines to decide where to focus sales effort.

It is also the right tool when a buyer or partner quotes you a margin and you need to understand what that means for your cost recovery. Translating their margin expectation into a markup gives you a concrete floor price to work with.

Do not rely on markup alone when your cost structure is complex or variable. If your cost changes with volume — because of tiered supplier pricing, production runs, or utilization rates — a single markup number is a snapshot, not a policy. In those cases, calculate markup at multiple cost levels and treat the result as a range rather than a fixed answer. Similarly, markup percentage alone will not tell you whether the business is profitable — it measures per-unit gross efficiency, not total economics.

Common Mistakes
Why results sometimes look wrong

Mistake 1: Treating markup and margin as the same number. Someone sets a 50% margin target but calculates using the markup formula, producing a 50% markup instead — which is only a 33% margin. The cause is using the wrong denominator. The consequence is pricing that systematically undercuts the profit target, sometimes by a third of expected income.

Mistake 2: Using retail price as the cost input. Wholesale buyers sometimes enter the price they paid a supplier — which already includes the supplier's markup — as if it were the base cost. This stacks markup on markup and results in a selling price that is uncompetitive without revealing why. Cost should always be your actual landed cost: what you paid plus inbound shipping, duties, and direct handling.

Mistake 3: Ignoring fixed cost allocation. Gross profit is not net profit. A 100% markup sounds strong until you divide it across rent, salaries, and platform fees. Markup covers the variable cost of one unit — it says nothing about whether the business as a whole is profitable. Many small business owners discover too late that a healthy per-unit markup is being overwhelmed by fixed overhead.

The Math
Worked examples and deeper derivation

The core formula: Markup % = ((Selling Price - Cost) / Cost) x 100. The numerator is always gross profit — the dollars left after covering the direct cost of one unit. The denominator anchors that profit to what you spent, not what you charged.

To convert a target markup into a selling price: Selling Price = Cost x (1 + Markup% / 100). If your cost is $30 and you need a 200% markup, your price is $30 x 3 = $90. To convert a markup percentage to its equivalent margin: Margin % = Markup % / (100 + Markup %). A 200% markup equals a 66.67% margin.

The reverse conversion — from margin to markup — is: Markup % = Margin % / (1 - Margin % / 100). These conversions matter because buyers, accountants, and business partners sometimes quote one figure when they mean the other. Knowing both formulas lets you sanity-check any pricing conversation.

Small retailer pricing a physical product
Cost per unit: $24.50 | Selling price: $59.99 | Units sold: 150
Markup comes out to 144.86%, with a gross profit of $35.49 per unit and a profit margin of 59.16%. Selling 150 units generates $5,323.50 in gross profit before fixed overhead. This is a healthy retail markup — most physical goods businesses target 100% to 200% to cover operating costs beyond direct cost of goods.
Freelancer checking if a project rate covers overhead
Cost per unit (hourly cost to deliver): $45.00 | Selling price (hourly rate billed): $110.00 | Units sold: 80
Markup is 144.44%, margin is 59.09%, and 80 hours billed generates $5,200 in gross profit. The surprising insight here: many freelancers price on gut feel and discover their effective cost — tools, software, admin time — eats far more markup than expected. This check reveals whether the rate is defensible before committing to a project.
Wholesale distributor stress-testing a thin-margin line
Cost per unit: $48.75 | Selling price: $52.00 | Units sold: 5000
Markup is only 6.67% and margin is 6.25%, yielding $3.25 per unit. Total gross profit across 5,000 units is $16,250. At this margin, any logistics cost increase, supplier price change, or return rate above 2% likely eliminates profitability entirely. The calculator makes the fragility of thin-margin wholesale pricing immediately visible.
Expert Unlock
The thing most explanations skip

The markup formula assumes cost is fixed and known, which breaks down in two important cases. First, when overhead is allocated per unit, adding fixed cost components to the denominator inflates the cost base and depresses the apparent markup — making the pricing look less profitable than it is on a marginal basis. Second, in service businesses, the cost is largely time, and time is not a stable quantity. A project that runs over scope changes the effective cost retroactively, collapsing a healthy markup into a thin or negative one.

Practitioners in high-volume distribution often work backward: they set a required margin — not markup — and derive the maximum allowable cost from the market price. In that workflow, markup is a check on the result, not the starting point. If your markup consistently comes out much higher than industry norms, the hidden risk is that your cost estimate is incomplete, not that you have discovered a pricing advantage.

Is markup the same as profit margin?

What is the difference between markup and margin?
Markup is calculated on cost — divide gross profit by cost. Margin is calculated on selling price — divide gross profit by selling price. A 100% markup equals a 50% margin. They sound similar but give different numbers, and confusing them is one of the most common pricing errors in small business.
How do I calculate markup percentage from cost and price?
Subtract the cost from the selling price to get gross profit, then divide by the cost and multiply by 100. Formula: ((Selling Price - Cost) / Cost) x 100. A product that costs $40 and sells for $100 has a markup of 150%.
What is a good markup percentage for retail?
Most retail businesses target a markup of 100% to 200% on physical goods — this produces a margin of 50% to 67%, which needs to cover rent, labor, and other fixed costs. Service businesses often price at higher markups because direct costs are lower. There is no universal number — your markup only makes sense relative to your total cost structure.

Need something this doesn't cover?

Suggest a tool — we'll build it →