Markup Calculator

Convert between markup percentage and gross profit margin to price goods accurately.

Master the critical distinction between markup and profit margin. Solves product selling prices based on wholesale cost and desired markup, and displays the resulting gross profit margin percentage to avoid pricing errors that destroy retail cash flow.

How this calculator works

Selling Price = Cost * (1 + Markup% / 100). Profit = Selling Price - Cost. Markup% = Profit / Cost * 100. Gross Margin% = Profit / Selling Price * 100.

Key benefits

Assumptions & exclusions

Frequently asked questions

What is the mathematical difference between markup and margin?

Markup is the percentage added to the cost to get the selling price: (Price - Cost) / Cost. Margin is the profit as a percentage of the selling price: (Price - Cost) / Price. A 50% markup equals a 33.3% gross margin.

How do I find the selling price if I know my cost and target margin?

Divide the cost by one minus the target margin as a decimal. For a $40 cost and a 40% target margin, the price is $40 / 0.60 = $66.67. Working from margin instead of markup guarantees the percentage you keep on each sale.

What markup do I need for a 50% gross margin?

A 100% markup. Doubling the cost makes profit equal to cost, and profit divided by the doubled price is exactly 50%. This surprises many sellers, because margin is measured on the price while markup is measured on the smaller cost base.

Should my markup cover operating expenses too?

Indirectly, yes. The gross margin your markup creates must be large enough to pay rent, payroll, fees and taxes, with profit left over. Work backwards from your overhead as a share of sales to find the minimum margin, then set markups that deliver it.

Why do different products in my store have different markups?

Because their costs of selling differ. Slow-moving, bulky, fragile or service-heavy items consume more shelf space, capital and staff time than fast staples, so healthy pricing gives them higher markups. A single blanket markup usually overprices staples and underprices everything else.

How does a discount affect my markup and margin?

A discount cuts the selling price while your cost stays fixed, so both markup and margin shrink — and margin shrinks faster. A 20% discount on an item priced with a 75% markup drops its margin from 42.9% to about 28.6%, before any other costs.

Formula-Based Calculator · By QalcTools Editorial Team. Formulas tested against independent reference values · Content reviewed November 2026 by the QalcTools Editorial Team.

Methodology note: Retail pricing economics and commercial merchandise mathematics.

Related calculators

Category: Business & Commercial Calculators

About this calculator

Markup sounds simple — add a percentage to your cost and sell — yet it is the pricing mistake behind many thin retail margins, because a percentage added to cost is not the same percentage earned on price. This calculator starts from your unit cost and the markup you want, then shows the selling price that markup produces, the profit dollars in each sale, and the gross margin that price actually delivers. Use it before you set a shelf price, quote a wholesale customer, or approve a discount, so the number you planned in your head is the number that survives contact with your income statement.

How it works

Enter what one unit costs you and the markup percentage you intend to apply. The tool multiplies cost by one plus the markup rate to get the required selling price, subtracts cost to find the profit per unit, and then divides that profit by the selling price — not by cost — to report the true gross margin. That second percentage is the one that has to cover rent, payroll, fees and taxes, so the gap between the two figures is the real lesson of the page. Change either input and all three outputs move together, which makes it easy to test how a small markup change reshapes both price and margin.

The formula, explained

Selling price = Cost × (1 + Markup% ÷ 100); Profit = Selling price − Cost; Gross margin % = Profit ÷ Selling price × 100

The engine floors cost at one cent so the division is always safe. When a markup percentage is supplied, it sets the selling price to cost times one plus markup divided by 100, exactly as entered, with no cap or rounding until display. Profit is price minus cost, and gross margin is profit divided by price, times 100. The engine can also run in reverse — given a selling price it derives the markup — but this page uses the markup-first direction. Cost, price and profit are rounded to cents, and both percentages to one decimal place.

Inputs and variables

VariableMeaningExample
Unit Cost PriceEverything it costs you to have one unit ready to sell. Include freight and packaging here if you want the margin to reflect your real economics.$40.00 per unit
Desired Markup (%)The percentage you add on top of cost. A 75 percent markup does not mean you keep 75 percent of the price — the margin output shows what you actually keep.75%
Selling Price (output)The price the markup produces. Compare it with what your market will bear before committing, because the formula knows your cost, not your customer.$70.00
Gross Margin % (output)Profit divided by selling price. This is the share of each sales dollar left to cover operating expenses, so it is the figure to compare against your overhead.42.9%

Worked example

A small retailer buys a product for $40 per unit and prices it with a 75 percent markup, wanting to know the shelf price and the margin it really earns.

  1. Selling price: $40 × (1 + 75 ÷ 100) = $40 × 1.75 = $70.00.
  2. Profit per unit: $70.00 − $40.00 = $30.00.
  3. Gross margin: $30.00 ÷ $70.00 × 100 = 42.9% — noticeably less than the 75% markup that produced it.

A $70.00 selling price, $30.00 of profit per unit, a 75% markup and a 42.9% gross margin.

The example shows why pricing by markup alone misleads. The owner asked for 75 percent and received a margin of 42.9 percent — still healthy, but the other 32 points of the price are already spoken for by the cost of the goods themselves. If rent, payroll and fees consume 35 percent of sales, this price leaves roughly 8 points of operating room. An owner who needed a true 50 percent margin would have to price at $80, which is a 100 percent markup — the conversion this tool exists to make visible before the price tag is printed.

Understanding your results

Read the two percentages side by side and remember which base each one uses. Markup is measured on cost, margin on price, so margin is always the smaller number for the same transaction, and the gap widens as markup grows. When a supplier, partner or lender talks about margin, they mean the price-based figure — quoting your markup in that conversation overstates your profitability.

The profit-per-unit line is what scales into cash flow. Multiply it by realistic monthly volume and compare the result with your fixed costs: $30 of unit profit needs 200 sales a month to cover $6,000 of overhead before you earn anything. If that volume is unrealistic, the tool points to the only two honest levers — a higher price the market accepts, or a lower unit cost.

Assumptions and limitations

This is a single-product, single-price model. It applies one markup to one cost and does not layer in sales tax, card or marketplace fees, shipping subsidies, shrinkage, or the markdowns you will eventually take on slow stock, unless you build those into the cost figure yourself. It also assumes every unit sells at the full price; a product that needs a 20 percent promotion to move has an effective margin well below the figure shown. Use the result as the starting price for a market test, not as proof the market will pay it.

Common mistakes to avoid

Sources