Markup Calculator and Gross Margin Calculator

Work out a selling price, markup, margin or cost from any two figures you have, and check that the rest agree. Price a whole list at once, or price a service you resell from the wholesale cost, your own time and payment fees.

Live v1.0 · November 2026 Free · No signupMarkup and marginNothing sent
Markup and margin One price · price list · resold service
Fill in any two. Fill in more and the calculator checks they agree.
What the item costs you.
What you charge.
Profit as a share of cost.
Profit as a share of price.
Calculated in your browser · nothing is sent
Result ·

Press Calculate.

What this markup calculator does differently

Markup and margin both describe the same profit; they divide it by different numbers. Most markup calculators take a cost and a percentage and return a price. This one also works from any two figures you have, checks any extra figures against them, prices a whole list at once, and prices a service you resell from the wholesale cost, your own time and payment fees.

OmniCalculatorSoupTogglFreshBooksThis tool
Works fromAny two of cost, markup, revenue, profitCost and gross marginFour tabs: price, markup, two conversionsAny two of cost, markup, margin, revenue, profitAny two of cost, price, markup, margin
Margin shown with markupSeparate calculatorYesYesYesYes
Checks extra figures agreeNoNoNoNoYes
Price list, many itemsNoNoNoNoUp to ten
Resold service with time and feesNoNoNoNoYes
ExportShare linkShare linkNone shownNone shownCSV, Markdown, share link

Pages as fetched on 8 November 2026. Anything not shown on the page is not counted.

Markup vs margin

Take an item that costs 60 and sells for 90. The profit is 30. Markup divides that profit by the cost: 30 / 60 = 50%. Margin divides it by the price: 30 / 90 = 33.3%. Same sale, same profit, two percentages. Markup is the figure you add on top of cost when setting a price; margin is the share of each sale you keep, which is how most businesses report profitability. The formulas are the same ones CalculatorSoup publishes (Markup Calculator):

  • Markup = (price – cost) / cost, and price from markup = cost x (1 + markup)
  • Margin = (price – cost) / price, and price from margin = cost / (1 – margin)
  • Margin = markup / (1 + markup), and markup = margin / (1 – margin)

The easiest mistake is to apply a margin target as a markup. Adding 40% to a cost gives a 28.6% margin, not 40%. A margin can never reach 100% while there is any cost, but a markup can be any size: a 300% markup is a 75% margin. The markup vs margin guide has a two-way conversion chart, what a discount does to margin and the spreadsheet formulas.

MarkupMargin
10%9.1%
20%16.7%
25%20%
30%23.1%
40%28.6%
50%33.3%
60%37.5%
75%42.9%
100%50%
150%60%
200%66.7%
300%75%

Margin = markup / (1 + markup), rounded to one decimal place.

Pricing a service you resell

When you buy a service wholesale and sell it under your own brand, the wholesale price is not your only cost. Every client also takes some of your time, for calls, briefs and reporting, and card or invoice fees take a share of what the client pays. The resold service mode adds both: total cost is the wholesale price plus your hours at your cost per hour, and the price for a target margin is total cost / (1 – fee – margin). Set a planned price instead and it shows the margin that price really leaves.

Your cost per hour should include more than pay: software, rent and the hours that are never billed. The salary to hourly calculator works out an hourly figure from a salary and the hours actually worked.

How to use this markup calculator

  1. Pick what to work outOne price, a price list, or a resold service.
  2. One priceEnter any two of cost, selling price, markup and margin. Fill in more and the calculator checks they agree.
  3. Price listChoose whether each target is a margin or a markup, then add up to ten items with a cost and a target.
  4. Resold serviceEnter the wholesale cost, your hours and cost per hour, the payment fee and the margin you want.
  5. Read the resultPrice, profit, markup and margin, with the formulas used.
  6. Export or shareDownload a CSV of the price list, a Markdown summary, or copy a link that reopens the same figures.

Frequently asked questions

Subtract the cost from the selling price and divide by the cost: markup = (price – cost) / cost. An item that costs 60 and sells for 90 has a markup of 30 / 60, or 50%.
Multiply the cost by one plus the markup: price = cost x (1 + markup). A 50% markup on a cost of 60 gives a price of 60 x 1.5 = 90.
Both start from the same profit, price minus cost. Markup divides it by the cost; margin divides it by the price. A 50% markup is a 33.3% margin.
Subtract the cost from the price and divide by the price: gross margin = (price – cost) / price. To price for a target margin, divide the cost by one minus the margin: price = cost / (1 – margin).
Margin = markup / (1 + markup). A 25% markup is 0.25 / 1.25 = 20% margin; a 100% markup is a 50% margin.
Markup = margin / (1 – margin). A 40% margin needs a markup of 0.4 / 0.6, about 66.7%.
No. Margin is profit as a share of price, and profit can only equal the whole price if the cost is zero. Markup has no such limit.
Add your own time and payment fees to the wholesale cost, then divide by one minus the fee and the margin you want. The resold service mode does this and shows the profit left each month.