Math & Finance Tools

Profit Margin & Markup Calculator

Find profit, margin and markup from cost and price, or the selling price that gives a target margin or markup.

  • Free
  • No sign-up
  • Runs in your browser

Profit Margin

Profit margin
--

Step by step

    Runs in your browser. Your inputs never leave your device.

    Quick Answer

    Margin is profit as a percentage of the selling price; markup is profit as a percentage of the cost. An item that costs 60 and sells for 100 makes 40 profit, a 40% margin and a 66.67% markup. To hit a target margin, price = cost ÷ (1 − margin), so a 25% margin on a cost of 75 needs a price of 100.

    How to Use

    1. Choose what you know. Choose Price to get the margin and markup of a selling price, or Margin or Markup to get the price that gives a target margin or markup.
    2. Enter the cost. Type what the item costs you, including any direct costs you want to cover.
    3. Enter the price, margin or markup. Type the selling price before tax, or the margin or markup you want.
    4. Read the results. See the profit, margin, markup and selling price side by side.

    Margin vs Markup at a Glance

    Margin and markup describe the same profit from two directions. Margin answers "how much of each sale do I keep?", while markup answers "how much did I add to my cost?". Because the selling price is always bigger than the cost when you make a profit, the margin percentage is always the smaller of the two.

    Margin and markup for an item that costs 100
    Selling priceProfitMargin (of price)Markup (of cost)
    111.1111.1110%11.11%
    125.0025.0020%25%
    133.3333.3325%33.33%
    150.0050.0033.33%50%
    166.6766.6740%66.67%
    200.00100.0050%100%
    300.00200.0066.67%200%
    400.00300.0075%300%

    Read across a row to convert: a 25% markup is a 20% margin, and a 50% margin needs a 100% markup. As the margin approaches 100%, the markup grows without limit, which is why margins above 100% are impossible while markups of 200% or 300% are common for low-cost items.

    Which One Should You Use?

    • Setting prices from costs: markup is quick for a price list ("cost plus 40%"), but always check the margin it gives you.
    • Planning and reporting: margin matches how financial statements report gross profit, and lets you compare products with very different prices.
    • Discounts: a discount comes off the selling price, so it eats into margin directly. A 20% discount on a product with a 20% margin wipes out the whole profit.
    • Talking to suppliers and staff: say "margin" or "markup" explicitly; "40% profit" is ambiguous.

    This calculator works out gross margin on a single item: selling price minus the direct cost of that item. Net margin also subtracts overheads such as rent, wages, marketing and tax, so it is always lower than gross margin.

    Margin and Markup Formulas

    Profit = Price − Cost · Margin % = Profit ÷ Price × 100 · Markup % = Profit ÷ Cost × 100

    Margin and markup use the same profit but divide it by different numbers, so markup is always the larger percentage. To find a price from a target margin, divide the cost by (1 − margin ÷ 100). To find a price from a markup, multiply the cost by (1 + markup ÷ 100). The two convert directly: markup = margin ÷ (1 − margin), and margin = markup ÷ (1 + markup), with both written as decimals.

    • Cost: What the item costs you: purchase price, or materials and labour for things you make.
    • Price: The selling price before sales tax or VAT.
    • Margin: The share of the selling price you keep as gross profit. Always below 100%.
    • Markup: How much you add on top of the cost, as a percentage of the cost. Can be above 100%.

    Worked Examples

    Cost Rs 800, price Rs 1,000

    Cost: Rs 800 · Selling price: Rs 1,000

    1. Profit: 1,000 − 800 = Rs 200
    2. Margin: 200 ÷ 1,000 = 20%
    3. Markup: 200 ÷ 800 = 25%

    Result: Profit Rs 200, margin 20%, markup 25%

    Cost 60, price 100

    Cost: 60 · Selling price: 100

    1. Profit: 100 − 60 = 40
    2. Margin: 40 ÷ 100 = 40%
    3. Markup: 40 ÷ 60 = 66.67%

    Result: Profit 40, margin 40%, markup 66.67%

    Price for a 25% margin on a cost of 75

    Cost: 75 · Target margin: 25%

    1. Price = 75 ÷ (1 − 0.25) = 75 ÷ 0.75 = 100
    2. Check: profit 25 ÷ price 100 = 25% margin

    Result: Selling price 100 (a 33.33% markup)

    Price for a 25% markup on a cost of 80

    Cost: 80 · Markup: 25%

    1. Price = 80 × (1 + 0.25) = 100
    2. Margin: profit 20 ÷ price 100 = 20%

    Result: Selling price 100 (a 20% margin)

    Common Mistakes to Avoid

    • Adding the margin percentage to the cost: Adding 25% to a cost of 75 gives 93.75, which is a 25% markup and only a 20% margin. For a 25% margin you must divide: 75 ÷ 0.75 = 100.
    • Using margin and markup as the same thing: A 50% markup is a 33.3% margin, and a 50% margin is a 100% markup. Say which one you mean in price lists, supplier negotiations and commission plans.
    • Expecting a margin above 100%: Margin is a share of the selling price, so it can never reach 100% unless the cost is zero. If a figure above 100% appears, it is a markup.
    • Leaving costs out: Gross margin uses the direct cost of the item. Shipping, payment fees, packaging and returns are real costs too; include them in cost if you want the margin you actually keep.
    • Including sales tax or VAT in the price: Tax collected for the government is not revenue. Use the selling price before tax, or the margin will look higher than it is.

    Frequently Asked Questions

    What is the difference between margin and markup?

    Both start from the same profit (price − cost). Margin divides it by the selling price; markup divides it by the cost. Cost 60 and price 100 give a 40% margin but a 66.67% markup.

    How do I calculate profit margin?

    Subtract the cost from the selling price to get profit, divide the profit by the selling price, and multiply by 100. Price 100 and cost 60: (100 − 60) ÷ 100 = 40%.

    How do I calculate a selling price from a desired margin?

    Divide the cost by (1 − margin as a decimal). For a 25% margin on a cost of 75: 75 ÷ 0.75 = 100.

    How do I convert markup to margin?

    Margin = markup ÷ (1 + markup), using decimals. A 25% markup is 0.25 ÷ 1.25 = 20% margin; a 100% markup is a 50% margin.

    What is a 50% markup as a margin?

    A 50% markup is a 33.33% margin. Cost 100 marked up 50% sells for 150, and 50 profit ÷ 150 price = 33.33%.

    Can profit margin be negative?

    Yes. If you sell below cost, profit is negative and so are the margin and markup. The calculator shows this as a loss.

    What is a good profit margin?

    It depends on the industry, the business model and whether you mean gross or net margin. Compare with businesses like yours and include all your costs before deciding on a target.

    Sources & References