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.
—
Send feedback
💡 Share your idea or report a problem
✓ Thanks! We'll take a look.
Learn more
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.
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?
Need something this doesn't cover?
Suggest a tool — we'll build it →