Markup, margin and the cost behind them

Percentage profit calculator: markup and margin and the margin the same numbers hide

Enter a cost and a selling price to read the markup and the profit margin side by side, then use the table to convert one rate into the other.

Calculations are estimates, not financial advice.

  • Free, no sign-up
  • Data stays in your browser
  • PDF & CSV download

Two rates from one pair of prices

The change card measures the rise from cost to price; the share card measures profit against the selling price. Both start from the same two numbers.

  1. Step 01

    Enter the cost price

    Put what the item costs you in the first field of the change card, then add the price you charge in the second field.

  2. Step 02

    Read the markup

    The change card returns the rise from cost to price as a percentage, so a cost of 40 and a price of 50 show 25%.

  3. Step 03

    Read the profit margin

    The share card divides the same profit by the selling price, which turns that 25% markup into a 20% margin.

  4. Step 04

    Convert one rate into the other

    Use the table below to move between markup and margin, then check a target gross profit before you set a price.

What is the meaning of profit percentage in a shop?

  • See both rates from one cost and one selling price, without retyping numbers
  • Tell markup on cost apart from margin on the selling price at a glance
  • Convert a markup into a margin with a table that covers everyday retail rates
  • Work out the cost of goods that leaves a chosen gross profit on a sales figure

Calculating gross profit percentage when calculating intraentity profit

Markup % = (price − cost) / cost × 100
Margin % = (price − cost) / price × 100
COGS = sales × (1 − gross margin)

Markup and margin. Markup compares profit with cost, while margin compares the same profit with the selling price. Cost 40 and price 50 give a profit of 10, so markup is 10 / 40 = 25% and margin is 10 / 50 = 20%. One pair of numbers, two different denominators, and both rates describe the same sale.

Which card gives which. The change card compares cost with price and returns the markup. The share card divides the profit by the price and returns the margin. A 50% markup is therefore a 33.33% margin, not 25%, because the profit sits on a different base in each rate and the price is larger than the cost.

A markup-to-margin table. Every markup has a matching margin: a 20 percent mark up becomes 16.67%, 25% becomes 20%, 30% becomes 23.08%, 50% becomes 33.33%, 80% becomes 44.44% and 100% becomes 50%. The margin is always smaller than the markup for a positive price, and the gap widens as both numbers grow.

Cost of goods sold. To hit a gross profit target, subtract that share from sales: with sales of 138,000 and a 25% gross profit goal, the cost of goods is 138,000 × 0.75 = $103,500. On sales of 125,000 the same target leaves $93,750 for goods. The formula is COGS = sales × (1 − gross margin), and the calculation works the same way for any sales figure.

A hat, a price and a margin. A shop buys a hat for $22 and wants a 30% margin, so the selling price must be 22 / 0.7 = $31.43. An $81 item needs $115.71 and an $11 item needs $15.71 at the same margin. Dividing by one minus the margin is the quickest way to move from cost to price when the target is expressed as a margin.

Channel margin. When a reseller takes a 25% margin on the end-user sale price, your wholesale price is 75% of that figure, so the multiplier for your price is 0.75. A 25% markup instead means multiplying your cost by 1.25, so price = cost × 1.25. The two phrases sound alike but give different prices, and the channel version starting from the end-user sale is the one distributors usually mean.

Gross, net and losses. Gross profit removes only the cost of goods, while net profit also subtracts overheads, tax and interest, so net margin is lower. A price cut can turn profit into a loss, and the change card shows that as a negative percentage. For an average margin across a product line, add the profits and divide by total sales instead of averaging the individual rates.

Calculations are estimates, not financial advice. Formula checked November 22, 2026 · Source: U.S. Small Business Administration: calculate your startup costs

Worked example: what number is a 30% margin on 1,678.31

The first two lines read one cost and one price as both rates; the rest move from a target margin or a sales figure back to the money you need.

Cost 40, price 50: markup25%
Cost 40, price 50: profit margin20%
Markup for a 25% margin33.33%
COGS for 25% gross profit on sales of 138000$103,500
COGS for 25% gross profit on sales of 125000$93,750
A 50% markup gives margin33.33%
80% markup gives margin44.44%
30% of $1,678.31$503.49

The last line is the profit left at a 30% margin on $1,678.31; the same cost-to-price logic gives the $31.43 hat price in the knowledge section.

What a markup page does not calculate

  • There are no tax, overhead or net profit inputs; the page works with cost, price and sales only.
  • The examples are arithmetic, not accounting advice, and they ignore returns, wastage and payment fees.
  • It does not solve a price backwards from a target margin; the formulas in the knowledge section show how to do that by hand.
  • There is no product or supplier list, so every cost and every price is typed by hand.

Markup to margin for common retail rates

MarkupMargin
20%16.67%
25%20%
30%23.08%
50%33.33%
80%44.44%
100%50%

Profit, markup and margin questions

How do I calculate gross profit percentage and profit margin percentage?

Start with sales minus the cost of goods to get gross profit. Divide gross profit by sales and multiply by one hundred for the gross margin; divide the same gross profit by cost for the markup. Cost 40 and price 50 therefore give a 25% markup and a 20% gross margin.

What would the COGS be to generate 25% gross profit on sales of 138000 or 125000?

Multiply sales by the remaining 75%: 138,000 × 0.75 = $103,500 and 125,000 × 0.75 = $93,750. In both cases the calculation keeps 25% as gross profit and spends the rest on goods.

How much margin is a 25% markup, and what markup correlates to a 25% margin?

A 25% markup on cost gives a 20% margin, because the profit is 25 parts of a 125 price. Going the other way, a 25% margin needs a 33.33% markup: the equation for margin is profit divided by price, so cost is 75 parts of the price.

How much do I upcharge in order to make 40% profit?

If you searched for upcahrge, you mean upcharge: a 40% margin needs a 66.67% markup on cost, because the price needed is cost divided by 0.6. A $100 cost would be sold at $166.67 to keep 40% of the price as profit.

How do I calculate business profit percentage and find profit percent with cost and retail?

Use retail as the selling price and cost as the purchase, then divide the difference by the base you want. Profit on retail is (retail − cost) / retail, while the markup uses cost. For an average profit margin across products, add the profits and divide by total sales, which is the standard calculation.

What is an 80% margin, and how do I apply an 80% markup?

An 80% margin means profit is 80% of the selling price, so cost is only 20% of it and the matching markup is 400%. An 80% markup means the price is 1.8 times cost; a $50 item sells for $90 and keeps a 44.44% margin.

How do I calculate net profit in percentage?

Subtract every cost, including goods, overheads, interest and tax, from revenue, then divide net profit by revenue and multiply by one hundred. That net percentage is lower than the gross margin whenever overheads exist, and it can turn negative when costs exceed sales.

How do you get the gross margin percentage?

Take gross profit, which is sales minus the cost of goods sold, and divide it by sales. A shop with sales of 50 and purchases of 40 has $10 of gross profit and a 20% gross margin. The same result is right for any product line when the two figures share a period.

Price with both rates in view

Enter the cost and the price, read the markup and the margin, then set a table rate that protects your gross profit.

Compare markup and margin

About ToolperLast updated: Privacy