Markup Calculator

Pricing products accurately requires understanding the mathematical gap between markup and profit margin. This free markup calculator computes your selling price, gross profit, and true margin from cost and markup percentage—or solves backwards from target margin or desired price. Everything runs privately in your browser with instant volume modeling, overhead allocation, and discount sensitivity analysis.

Free pricing calculator · instant client-side math

Calculate markup, profit margin & selling price

Convert between markup and gross margin, calculate optimal selling prices, and model volume profits with overhead and tax.

  • Markup vs. margin conversion
  • Gross & net unit profit
  • Overhead & sales tax
  • Discount sensitivity matrix

Pricing & cost parameters

Choose whether you know your markup rate, your desired gross profit margin, or target price.

Base wholesale purchase cost, direct manufacturing COGS, or contractor materials.

Percentage added to base cost. (e.g. 50% markup on $50 cost = $25 profit, $75 price).

Order or production batch size.

Shipping, packaging, or merchant fees per unit.

Customer-facing sales tax rate (0% if B2B exempt).

Format currency across quotes and reports.

Selling price & margins

Enter your unit cost and markup or margin parameters above to calculate your selling price and profit metrics.

$0.00 Unit selling price

— Enter parameters to evaluate markup tier

  • Gross profit / unit $0.00 0.0% markup on cost
  • Gross profit margin 0.0% Share of price kept
  • Net profit / unit $0.00 0.0% net margin
  • Batch total profit $0.00 For 1 unit

Selling price distribution per unit

  • Base cost: 0%
  • Overhead: 0%
  • Net profit: 0%
  • Tax: 0%

Pricing diagnosis & strategic guardrails

Discount sensitivity & promotional tolerance matrix

Simulates profitability impact across standard promotional discounts. See how deep you can cut prices before losing money.

Discount % Promotional price Gross profit Net profit Realized margin Status
Enter cost and markup above to model promotional discount tiers.

What is markup?

Markup is the percentage added to the cost price of a good or service to determine its final selling price. Expressed as a percentage of cost, markup represents the initial pricing premium a seller tacks onto wholesale acquisition, manufacturing materials, or direct labor to fund business operations and generate profit.

For example, if an e-commerce retailer purchases a leather messenger bag from a manufacturer for $40 and sells it to consumers for $70, the dollar markup is $30. When expressed as a markup percentage, that $30 profit is divided by the original $40 cost, yielding a 75% markup.

In wholesale, retail, construction, and professional contracting, markup is the foundational operational tool used to create estimates, build invoices, and ensure that commercial activities produce a positive economic return.

The markup formula: how to calculate markup percentage

Calculating markup requires two primary financial inputs: the unit cost of goods sold (COGS) and the selling price. The mathematical formula is:

Markup Percentage = ((Selling Price − Cost) / Cost) × 100

Alternatively, if you know your gross profit in dollars:

Markup Percentage = (Gross Profit / Cost) × 100

Worked example

Suppose you operate a boutique agency offering dedicated lead generation sprints. Your direct costs per client account—including list researcher compensation, verified email credits, and inbox infrastructure—total $800. You bill the client $1,400 for the project.

  1. Subtract direct cost from selling price: $1,400 − $800 = $600 gross profit.
  2. Divide gross profit by your direct cost: $600 / $800 = 0.75.
  3. Multiply by 100 to convert to a percentage: 0.75 × 100 = 75% markup.

Markup vs. margin: the crucial difference

Confusing markup with profit margin is one of the most common and financially dangerous mistakes made by founders, retail buyers, and contractors. While both metrics measure the relationship between your cost and your selling price, they evaluate that relationship from opposite sides of the transaction:

  • Markup is cost-centric: It measures the percentage increase added to your base cost. The denominator is always Cost.
  • Gross margin is revenue-centric: It measures the percentage of the final selling price that you retain as profit after paying cost. The denominator is always Selling Price.

Because selling price is always larger than cost for profitable items, markup percentage is always higher than gross profit margin percentage for the same product.

Cost Markup % Selling price Gross profit Gross profit margin
$50.00 25.0% $62.50 $12.50 20.0%
$50.00 33.3% $66.67 $16.67 25.0%
$50.00 50.0% $75.00 $25.00 33.3%
$50.00 100.0% (Keystone) $100.00 $50.00 50.0%
$50.00 200.0% $150.00 $100.00 66.7%
$50.00 300.0% $200.00 $150.00 75.0%

Converting markup to margin

To convert any markup percentage into its equivalent gross profit margin, use the formula:

Margin % = (Markup % / (1 + (Markup % / 100)))

For example, if your markup is 50%: 50 / (1 + 0.50) = 50 / 1.5 = 33.33% margin.

Converting margin to markup

When you have a target profit margin mandated by your business plan (e.g., "our store requires a 40% gross margin to stay viable"), you must calculate the required markup using:

Markup % = (Margin % / (1 − (Margin % / 100)))

For example, to achieve a 40% margin: 40 / (1 − 0.40) = 40 / 0.60 = 66.67% markup.

The fatal founder pricing mistake

Consider a small business owner who purchases an inventory item for $100. The owner wants to achieve a "30% profit margin" and reasons: "$100 cost plus 30% equals a selling price of $130."

When the item sells for $130, the owner generates $30 in gross profit. However, the realized profit margin is:

$30 profit / $130 revenue = 23.08% margin

The owner is short by almost 7 full percentage points. Over thousands of sales, this pricing miscalculation bleeds tens of thousands of dollars in anticipated cash flow. If your business overhead requires a true 30% gross margin, you must divide cost by 0.70 ($100 / 0.70 = $142.86 selling price), which requires a 42.86% markup.

What is Keystone pricing?

Keystone pricing is a historic retail pricing rule-of-thumb where merchandise is marked up by exactly 100% of wholesale cost. In practice, keystone pricing simply means doubling your purchase cost.

If an apparel retailer buys denim jeans from a distributor for $35, keystone pricing dictates an MSRP of $70. This yields a $35 gross profit and an exact 50% gross profit margin.

Why do retailers love keystone pricing? The 50% margin creates a built-in safety net. If a seasonal item fails to sell at full price, the retailer can slash the price by 30% during a promotional sale ($49 retail) and still walk away with a healthy 28.6% gross margin ($14 profit on $35 cost), avoiding write-downs.

Average markup rates across major industries

Markup rates vary dramatically across different commercial sectors depending on inventory shelf life, storage costs, return rates, brand equity, and velocity of turnover:

Industry Typical Markup Gross Margin
Supermarkets 15% – 25% 13% – 20%
Consumer Electronics 20% – 35% 17% – 26%
Auto Dealerships 8% – 15% 7% – 13%
Building Supplies 20% – 40% 17% – 29%
Apparel & Fashion 100% – 250% 50% – 71%
Restaurants & Bars 200% – 350% 67% – 78%
Fine Jewelry 100% – 300% 50% – 75%
Agencies & Services 50% – 150% 33% – 60%
SaaS & Software 300% – 1,000%+ 75% – 90%+

Each sector balances markup against operational risk: grocery relies on ultra-high inventory turnover to offset slim markups; apparel uses keystone and double-keystone pricing to absorb markdown seasons and returns; and food service requires heavy markups to survive perishability and kitchen labor overhead.

Accounting for unit overhead and hidden transaction drag

Paper markup numbers frequently create an illusion of wealth. A merchant who buys widgets for $20 and prices them at $30 sees a 50% markup and assumes a healthy business. In modern commerce, however, variable fulfillment and transaction costs quickly erode that $10 gross profit:

  • Merchant payment processing: Credit cards and digital wallets typically consume 2.9% + $0.30 per checkout transaction ($1.17 on a $30 charge).
  • Pick, pack, and packaging: Custom corrugated mailers, bubble wrap, branded tissue, and packing slips often add $1.50 to $2.50 per unit.
  • Fulfillment shipping & postage: Carrier surcharges, dimensional weight adjustments, and insurance frequently cost $4.00 to $6.00 per package.
  • Customer return reserve: If your product category has an 8% return rate, your unrecoverable restocking and inspection costs must be amortized across every sold unit.

When $6.00 of variable unit overhead is deducted from that $10.00 gross profit, the true net profit shrinks to just $4.00 per item. The 50% gross markup translates to a modest 13.3% net margin. Using the overhead input in this calculator ensures your pricing covers full unit economics before quotes are finalized.

Discount sensitivity: why promotions destroy fragile markups

Promotional discounting is the fastest way to turn an operating profit into a severe cash drain. When you offer a 20% discount on a product, you do not reduce your costs by 20%—all cost of goods and shipping remain 100% fixed. The entire discount is carved directly out of your profit margin.

For example, take a product that costs $60 and sells for $100 with $10 in unit overhead:

  • Full price ($100): $30 net profit (30% net margin).
  • 10% discount ($90 price): Net profit drops to $20. A 10% price drop cuts net profit by 33.3%.
  • 20% discount ($80 price): Net profit drops to $10. A 20% price drop slashes net profit by 66.7%.
  • 30% discount ($70 price): Net profit drops to $0.00. You have hit the exact net break-even threshold.
  • 35% discount ($65 price): You lose $5.00 on every unit shipped out the door.

Before launching a sitewide clearance, Black Friday sale, or B2B volume discount, always consult the Discount Sensitivity Matrix above to confirm your promotional ceiling.

Frequently asked questions

Can markup percentage exceed 100%?

Yes. There is no mathematical upper limit on markup percentage. If an antique dealer buys a brass lamp for $10 and sells it for $100, the markup is 900% (($100 − $10) / $10 × 100). In contrast, gross profit margin can never exceed 100% unless you are somehow paid to acquire inventory.

What is a 50% markup equal to in margin?

A 50% markup equals exactly 33.33% gross profit margin. If an item costs $100 and you apply a 50% markup, your selling price is $150. Your $50 gross profit divided by the $150 selling price equals 33.33%.

How does sales tax or VAT affect my markup calculation?

Sales tax and Value Added Tax (VAT) are collected on behalf of state or national taxing authorities and do not belong to the business. Markup should always be computed on the net pre-tax selling price. If you calculate markup on the tax-inclusive price, you will artificially inflate your projected profit margins while underestimating your tax remittance liability.

What is the difference between markup and margin on an invoice?

On a commercial client invoice or bill of materials, markup is typically represented as a line-item percentage added to sub-tier vendor costs or raw contractor materials (e.g., "Cost + 15%"). Profit margin, meanwhile, appears on internal executive income statements to show what share of total billings was retained as company profit.

How do I calculate volume discounts without losing money?

To safely quote volume discounts for bulk wholesale or enterprise orders, determine your exact unit overhead and base cost. The maximum allowable discount percentage before reaching zero net profit is equal to your Net Profit Margin percentage at full retail price. For example, if your net margin is 28%, offering a 30% volume discount will create a net operating deficit on the order.