Markup Calculator

This free markup calculator turns your product cost into a profitable selling price. Enter your cost and markup percentage to see the price, gross profit and profit margin instantly — or enter cost and price to work backward to your markup.

Calculate Markup, Price & Margin

Selling price
–
Markup–
Gross profit per unit–
Profit margin–

Fill in any two of the three values above — the tool solves for the rest automatically as you type.

How to Use the Markup Calculator

Pricing a product comes down to three numbers — your cost, your markup, and your selling price — and you only need two of them. Start by entering your true product cost: not just the wholesale price, but the landed cost including freight, packaging, marketplace fees and anything else you pay per unit. That honest cost figure is where most pricing mistakes begin; people price off the sticker price of the goods and quietly lose money on everything around them.

Then pick one of two paths. Path one: enter a markup percentage and the calculator instantly gives you the selling price, the gross profit per unit and the profit margin. Path two: enter a selling price instead — the one the market will bear, or the one a competitor charges — and the tool works backward to reveal the markup %, gross profit and margin you would earn at that price. Results update live as you type, so you can nudge the markup up or down and watch the price move in real time until the numbers fit your strategy.

Markup Formula: How It Works

Markup is profit expressed as a percentage of cost. If an item costs you $12 and you sell it for $18, the $6 profit is 50% of the $12 cost — that is a 50% markup. The forward formula, cost to price, multiplies the cost by one plus the markup as a decimal:

selling price = cost × (1 + markup ÷ 100)

Working backward from a price uses the inverse: markup % = (price − cost) ÷ cost × 100. And the closely related profit margin — profit as a percentage of the selling price — is margin % = (price − cost) ÷ price × 100. Because margin divides by the larger price instead of the smaller cost, margin is always a lower number than the equivalent markup, a distinction that trips up even experienced sellers.

Worked Example

You make candles. Each candle costs you $12.00 all-in (wax, jar, wick, label, packaging), and you decide on a 50% markup:

StepCalculationResult
1. Selling price$12.00 × (1 + 50 ÷ 100)$18.00
2. Gross profit per unit$18.00 − $12.00$6.00
3. Profit margin$6.00 ÷ $18.00 × 10033.33%

Now run it backward. A competitor sells a similar candle for $24 and your cost is still $12: markup = ($24 − $12) ÷ $12 × 100 = 100%, and margin = $12 ÷ $24 × 100 = 50%. That pair of numbers — 100% markup, 50% margin — is the classic "keystone" pricing used across retail, and it shows the relationship cleanly: at 100% markup the price is double the cost, so exactly half of it is profit.

Markup vs. Margin: The #1 Pricing Mistake

Ask ten small-business owners for a "40% profit" and half will price with 40% markup while the other half expects a 40% margin — and those produce different prices. A 40% markup on a $50 cost gives $70, which is only a 28.6% margin. If your business plan assumed 40% margin, you just gave away over $14 of expected profit per unit. Here is the conversion table that settles it:

MarkupSame profit as margin ofPrice on $50 cost
25%20.00%$62.50
50%33.33%$75.00
100%50.00%$100.00
200%66.67%$150.00
300%75.00%$200.00

The quick conversions: margin = markup ÷ (100 + markup) × 100 and markup = margin ÷ (100 − margin) × 100. Before you set prices, decide which number your targets use — most accounting and investor discussions run on margin, while day-to-day retail pricing runs on markup. Mixing them up is how profitable-looking businesses quietly underprice.

Limitations

This calculator works with gross figures: revenue minus the direct cost you entered. It does not account for overhead — rent, salaries, payment-processing fees, returns, or spoilage — so the "profit" shown is gross profit per unit, not net profit. Real pricing needs those fixed costs spread across expected volume, which is why a 50% markup can still lose money at low sales volumes.

The tool also assumes one flat markup for every unit. It does not model volume discounts, tiered wholesale pricing, promotional markdowns, or the sales tax that gets added at checkout in most US states. Use it to set and sanity-check prices, not as a substitute for a full profit-and-loss review with your accountant. This is an estimate for guidance, not financial advice.

Guides for This Tool

Frequently Asked Questions

What is the difference between markup and margin?
Markup is profit as a percentage of cost: (price − cost) ÷ cost. Margin is profit as a percentage of the selling price: (price − cost) ÷ price. A 50% markup on a $12 item gives an $18 price, but the margin on that sale is only 33.3% — margin is always lower than the same-numbered markup.
How do I calculate selling price from cost and markup?
Multiply the cost by one plus the markup as a decimal: selling price = cost × (1 + markup ÷ 100). A $40 item with 60% markup sells for $40 × 1.60 = $64. This calculator does it instantly and also shows your gross profit and margin.
What is a good markup percentage for retail?
It depends on the industry. Grocery and high-volume retail often run 25–50% markup, clothing and boutique retail 100–200% (keystone pricing), and specialty or handmade goods can exceed 200%. Cover all costs — including shipping, fees and overhead — before picking a number.
Can I use this markup calculator to find markup from cost and price?
Yes. Enter your cost and your selling price instead of a markup percentage, and the calculator works backward to show your markup %, gross profit and margin %. Any two of the three values (cost, markup, price) will solve for the rest.
Why is my profit margin lower than my markup?
Because they divide by different bases. Markup divides profit by cost; margin divides the same profit by the higher selling price, so the percentage is always smaller. The conversion is: margin = markup ÷ (100 + markup) × 100. A 100% markup equals a 50% margin.
Does markup include sales tax or shipping?
Not automatically. Enter your true landed cost — wholesale price plus freight, packaging and any per-unit fees — as the cost figure, so the markup covers everything. Sales tax is added at checkout on top of the selling price in most US states.

Related Tools