Skip to content
FiftyCalc Free calculators for all 50 states

Markup Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter your cost, then a markup percentage or the gross margin you want.

Result

Sample figures

Selling price—

Profit per unit —

  • Markup—
  • Gross margin—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Markup Calculator

Cost per unit, in dollars: enter 0.01 or more. Prefilled example: 40.

Percentage is a

Percentage is a: choose Markup (on cost) or Margin (on price). Prefilled example: Markup (on cost).

Percentage, in percent: enter a number from 0 to 1,000. Prefilled example: 25.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Cost per unit, in dollars: enter 0.01 or more.
  2. Percentage is a: choose Markup (on cost) or Margin (on price).
  3. Percentage, in percent: enter a number from 0 to 1,000.
  4. Read the result: Selling price; the panel also shows Profit per unit, Markup and Gross margin.

How this calculator works

Markup: price = cost × (1 + markup). Margin: price = cost ÷ (1 − margin).

Markup is profit ÷ cost; margin is profit ÷ selling price. A 25% markup is a 20% margin, and a 50% margin is a 100% markup.

The formula

  1. P={c×(1+pct100)if m=1c1−pct÷100otherwise
Symbols used in the formula
SymbolMeaningUnit
cCost per unit$
mPercentage is a (1: Markup (on cost); 2: Margin (on price))
pctPercentage%
PSelling price$

Worked example

Cost per unit$40
Percentage is aMarkup (on cost)
Percentage25%
Profit per unit$10.00
Markup25%
Gross margin20%
  1. P=40×(1+25100)=50

Selling price $50.00

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the difference between markup and margin?

Both use the same profit; markup divides it by cost, margin by the selling price.

How do I price for a 40% margin?

Divide cost by 0.60: a $30 cost sells for $50.

Related calculators