Hoglet

Margin calculator

Type any two: the other two are worked out.

Typed
Typed
Try

Margin

40.00Profit
≈ 66.67%Markup

Margin 40.00 of the 100.00 price is profit: a 40% margin.

Markup 40.00 was added to the 60.00 cost: a 66.67% markup.

Workingprofit = 100.00 − 60.00 = 40.00; margin = 40.00 ÷ 100.00 × 100 = 40%; markup = 40.00 ÷ 60.00 × 100 ≈ 66.67%

Cost 60.00, price 100.00: profit 40.00, margin 40%, markup 66.67%

Margin and Markup Calculator: Cost, Price, Profit

Margin, markup, cost or price from any two.

Type any two of cost, selling price, margin and markup; the other two and the profit are worked out as you type. The two typed last are the ones used (they are marked); the others show their answer in their field, and typing in one makes it one of the two (a margin typed after a markup takes its place, and the other way round, because the two alone fix no price). Profit = price − cost. Margin = profit ÷ price × 100: the share of the selling price that is profit. Markup = profit ÷ cost × 100: how much was added to the cost. They are not the same: a 50% markup is a 33.33% margin, and a 50% margin is a 100% markup. So price = cost ÷ (1 − margin ÷ 100) = cost × (1 + markup ÷ 100). A margin and a markup on their own fix each other, not a price, so one of the two must be an amount. The sums are worked exactly; money is shown to the decimal places set in Options and percentages to two places, with ≈ where rounding lost something. This is gross margin on one item: overheads, tax and discounts are not in it.

How to use Margin calculator

  1. Type any two of Cost, Selling price, Margin and Markup.
  2. Read the other two and the Profit, worked out as you type; the two that are used are marked Typed.
  3. Set how many decimal places money has under Money in Options, or open How it’s worked out.

Margin calculator: common questions

What is the difference between margin and markup?

Margin is profit ÷ selling price × 100, the share of the price that is profit; markup is profit ÷ cost × 100, how much was added to the cost. A 50% markup is a 33.33% margin, and a 50% margin is a 100% markup.

How do I find the selling price for a target margin?

Price = cost ÷ (1 − margin ÷ 100): for a 40% margin on a cost of 60, the price is 60 ÷ 0.6 = 100. With a markup instead, price = cost × (1 + markup ÷ 100). A margin must be under 100%, because the profit is part of the price.

Why can’t a price be worked out from a margin and a markup alone?

A margin and a markup fix each other, not a price, so the margin calculator needs a cost or a selling price as one of the two values. It works out gross margin on one item: overheads, tax and discounts are not in it.

Everything stays on your device. Nothing is uploaded. Works offline once your first visit has stored the app.