Skip to main content

Markup Calculator

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

A markup calculator is a business finance tool used to calculate the selling price, gross profit, and markup percentage of a product or service. The markup percentage is the ratio of gross profit to the cost of purchasing or producing the item, which differs from profit margin (the ratio of profit to selling price). The calculator computes selling prices from cost and markup inputs, and can work in reverse to determine the cost when selling price and profit targets are known. Retailers, wholesalers, and entrepreneurs use this tool to set sustainable pricing strategies.

Enter cost and a markup percentage to compute selling price, gross profit, and margin. Or switch to reverse mode to start from cost and selling price and find the implied markup and margin.

Quick Answer

Calculate the selling price, profit, and profit margin from your cost and markup. Enter any two values to find the others.

$

What it costs you, before markup. · e.g. 50.00

%

Percentage added on top of cost. · e.g. 40

With markup applied

Selling price

$70.00

40% markup · 28.57% margin

Cost$50.00
Selling price$70.00
Gross profit$20.00
Markup40%
Margin28.57%
Was this helpful?

Examples

$50 cost at 40% markup

= $70 sale · 28.6% margin

$200 cost at 100% markup

= $400 sale · 50% margin

Reverse: $50 cost, $80 sale

= 60% markup · 37.5% margin

How it works

Formula · markup % = (revenue − cost) ÷ cost × 100

Markup is the percentage you add to cost. Margin is the percentage of the selling price that's profit. They're two ways of describing the same dollar amount.

Selling price · cost × (1 + markup ÷ 100)

Markup % · (profit ÷ cost) × 100

Margin % · (profit ÷ selling price) × 100

The two ratios convert directly into each other, with both figures written as decimals:

Markup from margin · markup = margin ÷ (1 − margin)

Margin from markup · margin = markup ÷ (1 + markup)

A 50% markup is a 33.3% margin, not a 50% margin. Cost must be above zero: markup divides by cost, so there is no percentage to report when the cost is zero or the field is blank.

What is a markup calculator?

A markup calculator is an essential business tool used to determine the selling price of a product or service. By taking your wholesale cost and adding a specific markup percentage, it computes the final price you should charge customers to hit your target profit. In addition to the retail price, it outputs the total gross profit in dollars and the resulting gross profit margin.

How to calculate markup (step-by-step)

Calculating a markup is straightforward when you know your cost of goods sold (COGS) and your desired markup rate. Follow these steps:

  1. Convert your markup percentage into a decimal by dividing it by 100 (e.g., 25% becomes 0.25).
  2. Add 1 to that decimal number (e.g., 1 + 0.25 = 1.25).
  3. Multiply your baseline product cost by this multiplier to find your selling price.
  4. Subtract the original cost from the selling price to find your gross profit in dollars.

For example, if your cost is $40 and you want a 50% markup, you calculate: $40 × 1.50 = $60 selling price.

Markup vs. Margin: Understanding the difference

Though many people use the terms interchangeably, markup and profit margin represent different financial ratios:

  • Markup: Measures profit relative to cost. It answers: "How much extra did I add to my original cost?"
  • Margin (Gross Margin): Measures profit relative to the selling price. It answers: "What percentage of the final sale is profit?"

Because margin compares profit to a larger denominator (the selling price), the margin percentage is always lower than the markup percentage. For instance, a 100% markup (doubling your money) results in a 50% profit margin.

One sale, both ways. Buy for $50, sell for $80. The profit is $30 either way, and that never changes:

  • Markup: 30 ÷ 50 = 60%. You added 60% on top of what you paid.
  • Margin: 30 ÷ 80 = 37.5%. Just over a third of the sale price is profit.

Same $30, same $50 cost, same $80 sale, two very different percentages. This is the single most common mix-up in retail pricing, and it costs money in one direction: quoting 37.5% to a supplier who hears markup, or pricing at a 60% markup when the board expects a 60% margin, leaves a real gap. The margin calculator works the same sale from the revenue side and reports both numbers together.

Worked example: Calculating price from cost and markup

Let's walk through an example where a retailer buys an item for $80 and decides to apply a 35% markup:

  • Wholesale Cost: $80.00
  • Markup Rate: 35%
  • Selling Price Calculation: $80.00 × (1 + 0.35) = $80.00 × 1.35 = $108.00
  • Gross Profit: $108.00 − $80.00 = $28.00
  • Implied Profit Margin: ($28.00 ÷ $108.00) × 100 = 25.93%

Common mistakes when calculating markup

  • Targeting margin but using markup math: Entering a 30% markup expecting a 30% profit margin. A 30% markup actually yields a 23.1% margin, which could lead to underpriced items and smaller profits than planned.
  • Ignoring hidden costs in the baseline cost: Only factoring in the invoice cost of the item while ignoring inbound shipping, packaging materials, and merchant transaction fees. Your true cost should encompass all expenses required to get the item ready for sale.
  • Confusing markup with sales tax: Applying your markup to a tax-inclusive figure or neglecting to account for local sales tax when pricing services.

Related tools

Working one out by hand

An item costs 50 and you want to sell it at 80. There are two steps and the second is the only one people get wrong.

  1. Find the profit. 80 − 50 = 30.
  2. Divide by the cost, not by the sale price. 30 ÷ 50 = 0.60, so a 60% markup.
  3. To go the other way, multiply the cost by one plus the markup. 50 × 1.60 = 80.

Dividing by 80 instead of 50 gives 37.5%, which is the margin on the same sale. Both numbers are correct and they describe the same thirty currency units of profit.

Why the two numbers drift apart as they rise

At small percentages markup and margin are close enough that confusing them costs little. The gap widens quickly, and it is worth seeing the shape of it before you set a price from a number somebody quoted you:

Markup on costMargin on priceGap
10%9.1%0.9 pts
25%20.0%5.0 pts
50%33.3%16.7 pts
100%50.0%50.0 pts
300%75.0%225.0 pts

A 50% markup is a 33.3% margin, and a supplier who says “we work on fifty percent” may mean either. The conversion is margin = markup ÷ (1 + markup), and it is the one piece of arithmetic worth memorising here.

Edge cases

  • A cost of zero. Refused. Markup is profit divided by cost, and there is no percentage to report when the denominator is zero rather than a very large one.
  • Selling below cost. Allowed, and the markup comes out negative. A sale at 40 on a cost of 50 is a markup of −20%, which is a real thing to do deliberately and worth seeing as a number.
  • Markup above 100%. Ordinary. It just means the profit exceeds the cost: selling at 150 on a cost of 50 is a 200% markup. Margin can never exceed 100%, which is the clearest sign the two are different quantities.
  • Rounding. The percentage is rounded for display, so multiplying the rounded figure back by the cost can land a penny away from the price you started with. Work from the price, not from the rounded percentage.

Your figures stay in the page

The cost and price you enter are computed in your browser. They are not sent to a server, nothing is stored after you close the tab, and there is no account.

Frequently asked questions

Markup is profit as a percent of cost. Margin is profit as a percent of selling price. A 50% markup is a 33% margin. They describe the same dollar profit but answer different questions: markup says "how much I added to cost," margin says "how much of the sale is profit."

Margin is usually more useful when comparing products or businesses, because it's directly comparable across different cost structures. Markup is the formula most people use day-to-day at the register.

Markup % = margin % ÷ (1 − margin %). For a 40% margin, the markup is 0.40 ÷ 0.60 ≈ 66.7%. The reverse mode of this calculator does the inverse — enter cost and the selling price you want, and it tells you both the markup and the margin.

However you define cost is what flows through. If your cost is the wholesale price plus inbound shipping plus packaging, use that. Margins and markups stay consistent as long as you're consistent about what "cost" includes.

A standard retail markup is often 100%, also known as "keystone pricing." This means an item that costs $50 to buy wholesale is priced at $100 for retail sale. However, actual markups vary wildly by industry, ranging from 10% in grocery stores to over 300% in cosmetics or apparel.

Yes, markup can be any positive percentage. A 200% markup means the product is priced at three times its cost (e.g., $10 cost sold for $30). Margins, however, can never exceed 100% because profit can never be higher than the total selling price.

Markup directly determines your gross profit. The formula for gross profit is: Gross Profit = Cost × (Markup ÷ 100). Higher markups result in larger profits per unit, but if set too high, they can reduce sales volume. Balancing markup and demand is key to maximizing total revenue.

Margin is always lower than markup because the denominator in the margin formula is the selling price (which is cost plus profit), whereas the denominator in the markup formula is the cost alone. Since the selling price is always larger than the cost, the margin percentage is always smaller.

Ask, because it changes the price. Fifty percent markup on a cost of 50 is a sale at 75. Fifty percent margin on the same cost is a sale at 100. Both are described the same way in conversation and they are 25 apart on one item. Wholesale and manufacturing usually quote markup because they start from cost; retail and finance usually quote margin because they start from the sale.

Markup to margin: divide the markup by one plus the markup. A 60% markup is 0.60 divided by 1.60, which is 37.5%. Margin to markup: divide the margin by one minus the margin. A 37.5% margin is 0.375 divided by 0.625, which is 60%. The two conversions are inverses, so applying both returns you to where you started.

Only if you put them in the cost. The calculator divides by whatever cost you type, so a markup computed on the unit cost alone is gross markup, and it has to cover rent, wages, shipping and everything else before any of it is profit. A healthy-looking markup on a narrow cost base can still lose money once the overheads land.

Yes, and the same caution applies. The cost of a billable hour is the loaded cost of the person doing it, not their wage: employment taxes, benefits, tools, and the hours they are not billing all belong in the denominator. Markup on a bare hourly rate flatters the number considerably.

Because the markup multiplies the cost rather than the price. Going from a 50% markup to a 60% markup on a cost of 50 moves the price from 75 to 80, which is 10 percentage points of markup but only 6.7% on the shelf. This is why markup changes feel smaller to a customer than they do on a spreadsheet.

Markup is profit divided by cost, so a cost of zero has no markup percentage at all. Rather than print a placeholder number next to a real gross profit, the calculator says the cost must be above zero. Leaving the cost field blank counts as zero, which is why a blank field produces the same message.