Markup Calculator

Are you pricing your product to actually make money?

Enter your cost and selling price to find your markup percentage and gross margin — or work backwards from a target markup to find the right price. Useful for retail, wholesale, and service pricing decisions.

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

Think of markup the way a builder thinks about material costs on a job. You know exactly what lumber and labor cost you. You add a percentage on top of that known number to cover overhead and profit. That added percentage — expressed as a share of your cost — is your markup. The customer pays the full price; you keep the markup portion above cost.

Margin works differently. It asks: of every dollar that comes in the door, how many cents stay after paying for the product? Because it divides by the larger number (revenue), margin always comes out lower than markup for the same transaction. A 100% markup gives a 50% margin. Confusing the two is one of the most common pricing errors in small business.

This calculator gives you both numbers simultaneously because different stakeholders use different conventions. Retail buyers negotiate in margin. Manufacturers often quote in markup. Knowing both lets you translate fluently, compare your pricing to industry benchmarks correctly, and spot immediately when a deal that looks profitable in markup terms is actually thin in margin terms.

When To Use This
Right tool, right situation

Use this tool when you are setting or reviewing prices on products with a clear, calculable unit cost — physical goods, software licenses sold at a fixed cost, or professional services billed against a time-and-materials cost base. It is equally useful when validating a wholesale or distributor price to confirm you have room to price competitively at retail and still make money.

Use it before accepting a bulk order at a discounted price. Plugging in the discounted price quickly shows whether the reduced margin still covers fixed overhead allocation — a check that many businesses skip in the excitement of landing a large order.

This tool is not the right fit when pricing involves variable cost structures (subscription tiers, usage-based billing) or when competitive market pricing overrides cost-plus logic entirely. In those cases, markup calculation is a sanity check rather than the primary pricing method. It also does not account for taxes, commissions, platform fees, or volume rebates — those need to be folded into your cost input manually before the output is reliable.

Common Mistakes
Why results sometimes look wrong

Mistake 1: Setting price to hit a margin target using the markup formula. If you want a 40% margin and calculate price as Cost x 1.40, you end up with a 28.6% margin, not 40%. The cause is using the wrong formula for the goal. The consequence is that every sale looks profitable on paper but delivers less gross profit than planned — a shortfall that compounds across high volume.

Mistake 2: Forgetting to include all costs in the cost input. Sellers often enter only the purchase or manufacturing cost and leave out inbound freight, packaging, import duties, and credit card fees. A $10 landed cost that is entered as $7.50 makes a 33% markup look like a 60% markup. The consequence is a pricing structure built on a false floor that erodes the moment real costs are accounted for.

Mistake 3: Comparing your markup to a competitor's margin (or vice versa). Industry benchmarks sometimes mix the two metrics without labeling them clearly. A benchmark that says the industry averages 40% is meaningless without knowing whether it means markup or margin. Always confirm the base before comparing your numbers to external figures.

The Math
Worked examples and deeper derivation

Markup percentage = (Selling Price - Cost) / Cost x 100. Gross margin percentage = (Selling Price - Cost) / Selling Price x 100. Both use the same dollar profit numerator — the difference is only the denominator.

To find the selling price that achieves a target markup: Selling Price = Cost x (1 + Target Markup / 100). For a 75% target on a $40 cost: $40 x 1.75 = $70. This is cost-plus pricing in its simplest form. It is not the same as pricing to a margin target. To price to a 40% margin target instead, the formula becomes: Selling Price = Cost / (1 - 0.40) = Cost / 0.60.

The relationship between markup and margin: Margin = Markup / (1 + Markup). Markup = Margin / (1 - Margin). These conversions let you switch between the two frameworks without re-entering any inputs. A 60% markup equals a 37.5% margin. A 60% margin requires a 150% markup.

Setting a retail price on a physical product
Unit cost $18.00, selling price $44.99
The markup is 149.9% — for every dollar spent producing the item, you earn $1.50 in gross profit. The gross margin is 59.99%, meaning roughly 60 cents of every dollar collected stays as gross profit before overhead. This is a healthy spread for a physical product where you still need to cover storage, returns, and selling costs.
Checking whether a wholesale quote is viable
Unit cost $85.00, selling price $90.00
The markup is only 5.9% and the gross margin is 5.56%. At this level, any unexpected cost increase — a shipping surcharge, a defect rate above 2%, or a platform fee — erases the profit entirely. This result flags that the wholesale price needs renegotiating or the selling price needs to rise before the product is commercially viable.
A freelance consultant pricing a project
Unit cost (labor + tools) $1,200, selling price $3,500, target markup 200%
The actual markup is 191.67% against a 200% target, meaning the quoted price comes up $36 short of the target. The Price at Target Markup output shows $3,600 as the price needed to hit exactly 200%. Adjusting the quote by $100 closes that gap and protects the target margin without losing the client on a rounding difference.
Expert Unlock
The thing most explanations skip

The markup formula assumes a linear cost structure where unit cost is constant regardless of volume. In practice, stepped costs — a tier change in manufacturing, a minimum order quantity discount, or a volume freight rate — mean that the cost input changes non-linearly. A markup that is profitable at 500 units may be excessive at 5,000 units (where your cost drops) or loss-making at 50 units (where you pay spot freight). Run this calculator at each cost tier, not just the current volume, to see where your pricing structure holds and where it needs adjustment.

Is markup the same as margin, and which one should I use?

What is the difference between markup and margin?
Markup is calculated on cost; margin is calculated on selling price. A 50% markup means you added 50% of cost to the price. A 50% margin means half of every sale is gross profit. The same dollar profit produces different percentages depending on which base you use — a $30 profit on a $60 sale is a 100% markup but only a 50% margin.
What is a good markup percentage for retail?
General retail often uses markups between 50% and 200%, but the right number depends entirely on your cost structure and overhead. A product with high returns, storage costs, or platform fees needs a higher markup to stay profitable after those costs are absorbed. Keystoning — doubling the wholesale cost — gives a 100% markup and a 50% margin, which is a common starting benchmark in retail.
How do I calculate selling price from a target markup percentage?
Multiply your cost by (1 + target markup / 100). For a $40 cost and a 150% target markup, the calculation is $40 x 2.5 = $100. This tool does that automatically when you enter a value in the Target Markup % field.

Need something this doesn't cover?

Suggest a tool — we'll build it →