Markup Calculator
Calculate markup percentage, gross profit, and profit margin from cost and selling price.
Calculation Mode
Optional
Selling Price
—
per unit
—
Gross Profit
—
Gross Margin
—
Markup %
—
Revenue
Price Adjustments
Cost vs Price vs Profit
per unit comparisonCalculation Details
Embed This Calculator
Copy the code and paste it into any webpage to embed this calculator.
WordPress users: add a Custom HTML block (not the Embed block) and paste the code there.
Free to use. A small "Powered by Blucalculator" credit is appreciated but not required.
How to use this calculator
The markup calculator runs in three modes. Pick the one that matches what you’re trying to figure out.
Find Selling Price is the most common mode. You enter your Cost (what you paid or what it costs you to make the product) and your Markup % (the percentage you’re adding on top of cost). The calculator returns the selling price and your profit per unit. Use this when you know your target margin and want to set a price.
Find Markup % works in reverse. You already have a price and a cost, and you want to know what markup percentage that represents. Enter Cost and Selling Price and the calculator tells you the markup %. This is useful when you’ve inherited a pricing sheet and want to understand the economics behind it.
Find Profit is the full business scenario mode. Enter Cost, Markup %, and Quantity to get total revenue and total profit. There are two optional fields: Discount % (if you’re running a sale or offering a negotiated discount) and Tax Rate % (if you need to include sales tax in the final price). This mode is useful for quick order-level profitability checks.
Example: Coffee shop pricing a new drink
You’re adding a matcha latte to your menu. Your cost per cup (ingredients + allocated labor) is $2.50. You want a 300% markup.
Using Find Selling Price:
- Cost: $2.50
- Markup %: 300%
- Selling Price = $2.50 × (1 + 3.00) = $2.50 × 4 = $10.00
- Profit per cup: $10.00 - $2.50 = $7.50
Now run Find Profit with quantity 80 cups/day:
- Total Revenue: $10.00 × 80 = $800/day
- Total Profit: $7.50 × 80 = $600/day
If you’re doing wholesale pricing, the “Cost” field should include all variable costs: materials, packaging, and any per-unit shipping. Don’t leave out costs that scale with units sold, or your markup calculation will be optimistic.
What markup actually is
Markup is the percentage added to a product’s cost to arrive at its selling price. It’s always expressed as a fraction of cost, not price. That single sentence is why markup and margin are two different numbers for the same transaction.
Markup tells you how much you added on top of what something cost you. If you bought a widget for $10 and sold it for $15, you marked it up by 50%. That same transaction is a 33% margin. Same deal, two different percentages, because they use different denominators.
Markup is the natural metric when you’re starting from cost and building up to a price. It answers: “If I need to cover costs and hit a profit target, what price should I charge?” Margin answers the reverse: “Of every dollar that comes in, how much do I keep?” Both are useful. They measure the same underlying profitability from different angles.
The formula and the calculation
There are two core formulas, depending on what you’re solving for.
Let’s walk through both with numbers.
Finding the price: An e-commerce reseller sources a phone stand for $8. They target a 125% markup.
- Selling Price = $8 × (1 + 1.25) = $8 × 2.25 = $18.00
- Profit = $18.00 - $8.00 = $10.00
Finding the markup: A retailer sells the same phone stand for $22 and pays $8 for it.
- Markup% = ($22 - $8) / $8 × 100 = $14 / $8 × 100 = 175%
Notice: a higher price doesn’t automatically mean the retailer is more profitable in absolute terms. It depends on sales volume. But on a per-unit basis, a 175% markup beats a 125% markup.
Adding a discount: Same reseller offers a 10% promotional discount on the $18 price.
- Discounted Price = $18.00 × (1 - 0.10) = $16.20
- Profit at discount = $16.20 - $8.00 = $8.20 (still profitable, but margin compressed)
Markup vs margin: why they’re not the same number
This is the most important distinction in pricing. Markup and margin both describe profit, but they use different bases, so the percentages are always different.
- Markup = Profit / Cost
- Margin = Profit / Revenue
For the same transaction, margin is always lower than markup (unless both are 0%). A 100% markup is a 50% margin. A 50% markup is a 33% margin. They’re mathematically related but conceptually distinct.
Why the distinction matters in practice
A restaurant owner tells their accountant, “We mark up food ingredients 400%.” The accountant thinks, “So their gross margin is 80%.” But the owner meant 400% markup on ingredient cost only, not including labor or overhead. The actual gross margin might be 60% once you fold in kitchen labor. Mixing up the bases leads to bad financial projections.
Quick conversion if you need it:
- Margin from Markup: Margin = Markup / (1 + Markup)
- 300% markup → 300/400 = 75% margin
- Markup from Margin: Markup = Margin / (1 - Margin)
- 75% margin → 0.75/0.25 = 300% markup
When you’re setting prices, think in markup. When you’re reporting profitability to an investor or comparing your gross profit to industry benchmarks, think in margin. Most financial statements use margin. Most cost-plus pricing spreadsheets use markup.
Typical markup percentages by industry
| Industry / Product Type | Typical Markup Range |
|---|---|
| Restaurant food (food cost) | 200% – 500% |
| Retail apparel | 100% – 300% |
| Electronics (consumer) | 10% – 30% |
| Jewelry | 100% – 400% |
| Grocery / supermarket | 10% – 40% |
| Software (boxed / subscription) | 200% – 1000%+ |
| Furniture | 100% – 200% |
| Auto parts (retail) | 40% – 100% |
| Books | 40% – 70% |
| Craft / handmade goods | 200% – 400% |
Electronics sit at the low end because the supply chain is highly competitive and consumers comparison-shop aggressively. Gross margins on flagship phones at the manufacturer level can be 50-60%, but by the time a retailer touches them, markups compress to 10-30%.
Restaurants and jewelry sit at the high end for different reasons. Restaurants are selling experience and labor as much as ingredients: a $4 glass of wine with a $0.80 pour cost has a 400% markup but half the bottle’s cost goes toward staff pouring it. Jewelry carries high markup to cover carrying costs, craftsmanship, and the sales floor overhead of showing one-at-a-time items.
Software’s potential for very high markup comes from near-zero marginal cost: once the product exists, replicating it for an additional customer costs almost nothing. A SaaS tool priced at $99/month with $5/month of infrastructure cost per seat is running a 1,880% markup, but that’s before R&D and sales costs are loaded in.
Real-world examples
Coffee shop: setting a full menu price with tax
A specialty coffee shop is launching a bottled cold brew. Their all-in cost per bottle (cold brew concentrate, bottle, label, allocated labor) is $3.20. They want a 250% markup and need to display a tax-inclusive price for their counter (8.5% sales tax in their city).
- Cost: $3.20
- Markup: 250%
- Pre-tax Selling Price = $3.20 × (1 + 2.50) = $3.20 × 3.50 = $11.20
- Sales Tax: $11.20 × 0.085 = $0.95
- Final Price (tax-inclusive): $11.20 + $0.95 = $12.15
They round to $12.00 for clean menu pricing:
- Effective markup at $12.00 pre-tax: ($12.00 - $3.20) / $3.20 × 100 = 275%
At 80 bottles per weekend day, weekly profit (Saturday + Sunday):
- Total Revenue: $12.00 × 160 = $1,920
- Total Cost: $3.20 × 160 = $512
- Weekend Profit: $1,408
E-commerce reseller: clearance discount scenario
An Amazon reseller sources noise-cancelling headphones in bulk at $28/unit. Their standard markup is 150%, landing at a $70 retail price. After 60 days, 40 units are sitting unsold. They decide to clear inventory at a 20% discount.
Standard pricing:
- Selling Price = $28 × (1 + 1.50) = $28 × 2.50 = $70.00
- Profit per unit: $70.00 - $28.00 = $42.00
Clearance pricing (20% discount applied):
- Discounted Price = $70.00 × (1 - 0.20) = $56.00
- Profit per unit at clearance: $56.00 - $28.00 = $28.00
- Effective markup at clearance: ($56.00 - $28.00) / $28.00 × 100 = 100%
40 units cleared at $56:
- Total Revenue: $56 × 40 = $2,240
- Total Cost: $28 × 40 = $1,120
- Clearance Profit: $1,120
Versus holding and never selling (profit = $0). The 20% discount still delivers $28/unit profit. Taking the clearance was the right call.
Common mistakes
Applying markup to the wrong cost base. Markup only works if “cost” includes everything that scales with that unit: materials, packaging, inbound shipping, and direct labor. A retailer who marks up the purchase price of a product without including the $1.50 per unit they spend on packaging is underpricing every single order.
Confusing markup and margin during target-setting. A business sets a goal of “30% profitability” and interprets it as 30% markup. But investors and analysts usually mean 30% gross margin. A 30% markup is only a 23% margin. If your financial targets are stated in margin terms, convert them to markup before building your price sheet: Markup = Margin / (1 - Margin).
Not adjusting markup for sales and discounts. A 200% markup gives you room to offer a 20% discount and still be profitable. But if you set prices on a thin 20% markup and then discount 15%, you’re nearly at break-even. Before running any promotion, recalculate the effective markup at the sale price. The calculator’s discount field does this instantly.
Using a one-size-fits-all markup across product lines. High-velocity items (you sell 500/week) can carry a lower markup because fixed overhead is spread across more units. Slow-moving, high-risk SKUs need a higher markup to compensate for the carrying cost and write-off risk if they don’t sell. Set markup by product category, not by a single store-wide percentage.
Ignoring the competitive price ceiling. Markup is an internal calculation. It tells you your break-even and profit target, but it doesn’t tell you what the market will pay. If your markup calculation says $85 but every competitor is at $60, your math is internally correct and externally useless. Start with the market price, work backward to cost, and decide whether your margin is acceptable.
The bottom line
Markup is cost-plus pricing math. It’s the right tool when you’re building prices from the ground up, starting from what something costs you. Use Find Selling Price to build a price sheet, Find Markup % to audit existing pricing, and Find Profit to stress-test a promotion before you run it. The key thing to remember: markup and margin describe the same profit in different terms, and you need to be deliberate about which one you’re using at any given moment. A reasonable rule of thumb: if someone asks “how profitable is this,” answer in margin; if someone asks “how should I price this,” think in markup.
Frequently Asked Questions
What is markup?
Markup is the amount added to the cost price of a product to arrive at its selling price. It is expressed as a percentage of the cost: Markup % = (Selling Price − Cost) / Cost × 100. For example, if a product costs $50 and sells for $75, the markup is ($75 − $50) / $50 × 100 = 50%.
What is the difference between markup and profit margin?
Markup is calculated as a percentage of cost, while profit margin is calculated as a percentage of the selling price. Markup % = (Price − Cost) / Cost × 100; Margin % = (Price − Cost) / Price × 100. A 50% markup on a $50 item gives a $75 selling price and a 33.3% profit margin. Markup is always higher than margin for the same transaction.
How do I calculate selling price from cost and markup?
Use the formula: Selling Price = Cost × (1 + Markup% / 100). For example, if your cost is $80 and your desired markup is 25%, the selling price = $80 × 1.25 = $100. You can also use Selling Price = Cost / (1 − Margin%) if you know your target gross margin instead.
What is a 30% markup?
A 30% markup means you add 30% of the cost to the cost itself to get the selling price. If a product costs $100, the selling price = $100 × (1 + 0.30) = $130. The gross profit is $30 and the gross margin is $30 / $130 = 23.1%. Note that 30% markup ≠ 30% margin.
What is a good markup percentage?
There is no universal "good" markup — it depends on the industry and cost structure. Retail apparel typically marks up 100–300%; electronics 10–30%; restaurants 200–300% on food; jewellery 50–200%. The right markup must cover all operating costs and still leave a net profit. A good rule of thumb is to mark up enough so that gross margin covers overhead and leaves a target net margin.
How does a discount affect markup and margin?
A discount reduces the effective selling price. If you mark up a $50 item by 50% to $75 and then offer a 10% discount, the actual selling price is $67.50. The effective markup drops to ($67.50 − $50) / $50 × 100 = 35%, and the effective margin is ($67.50 − $50) / $67.50 = 25.9%. Use the calculator's discount field to see exactly how discounts affect profitability.
How does sales tax affect the selling price?
Sales tax is added on top of the selling price for the customer to pay, but it is not profit for the seller — it is collected and remitted to the government. If your selling price is $75 and the tax rate is 8%, the customer pays $81. Your markup and margin remain based on the pre-tax price of $75. The calculator shows both pre-tax and post-tax prices when a tax rate is entered.
How do I find markup % from cost and selling price?
Markup % = (Selling Price − Cost) / Cost × 100. If an item costs $40 and sells for $60: Markup % = ($60 − $40) / $40 × 100 = 50%. Use Mode 2 of this calculator — enter the cost and selling price to instantly get markup %, gross profit, and gross margin.
What is the relationship between markup and margin?
They are related but different: Margin = Markup / (1 + Markup); Markup = Margin / (1 − Margin). So a 50% markup corresponds to a 33.3% margin; a 25% margin requires a 33.3% markup. Always clarify which metric you're discussing, as mixing them up leads to pricing errors.
How do I use quantity to calculate total profit?
Once you know the profit per unit, multiply by the number of units sold. Total Profit = Profit per Unit × Quantity. If your profit per item is $25 and you sell 100 units, total gross profit = $2,500. The calculator's optional Quantity field does this automatically, showing revenue, total cost, and total profit.
Related Calculators
Margin Calculator
Calculate your gross margin, profit, and markup based on cost and revenue.
Discount Calculator
Calculate discount amounts, final prices, and savings percentage. Supports multiple discounts, coupon stacking, and sales tax.
ROI Calculator
Calculate Return on Investment (ROI), net profit, annualized ROI, and investment performance.
Commission Calculator
Calculate sales commission, total payout, and effective rate. Supports percentage, tiered, fixed, and split commission modes.
Price Elasticity of Demand Calculator
Calculate price elasticity of demand (PED) and determine if demand is elastic, inelastic, or unit elastic.
Rate of Return Calculator
Calculate rate of return, total profit/loss, and annualized return on any investment.