en

Margin Calculator

Work out locally profit, margin and markup from the cost and selling price - no upload, right in your browser.

This calculator gives a non-binding, model-based estimate and is not financial, tax or legal advice. More in the disclaimer
  • Bangladesh
  • Brazil
  • Bulgaria
  • China
  • Egypt
  • Euro area
  • France
  • Germany
  • India
  • Indonesia
  • Italy
  • Japan
  • Kenya
  • Malaysia
  • Mexico
  • Netherlands
  • Nigeria
  • Pakistan
  • Poland
  • Portugal
  • Russia
  • South Korea
  • Spain
  • Sweden
  • Taiwan
  • Thailand
  • Türkiye
  • Ukraine
  • United Kingdom
  • United States
  • Vietnam
Cost price
Selling price

Result

€30.00
Gain
30%
Margin
42.86%
Markup
Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Margin and markup are constantly confused, yet they are two different figures from the same profit. From the cost price and the selling price this calculator shows the profit per item, the margin and the markup. The margin measures the profit as a share of the selling price, the markup measures the same profit as a share of the cost. Both are given in percent but come out differently.

The calculation runs entirely locally in your browser, in pure JavaScript - nothing is uploaded and nothing is stored. The profit is selling price minus cost price. The margin is profit divided by selling price, the markup is profit divided by cost price - each times 100. If you sell below cost all three figures are negative. Change a price and everything updates instantly.

An honest note: this is the calculation for a single product before tax. Value-added tax is not included - the VAT calculator handles that; fixed costs, discounts or quantity tiers are not modelled. The amounts are shown in euros as an example; the maths applies to any currency.

The conversion classic worth memorising: a 50 percent markup on the purchase price yields only about 33 percent margin on the selling price - because the margin divides the same profit by the bigger number. In general: margin = markup divided by (1 + markup). Anyone pricing a catalogue never mixes up the two directions without paying for it.

Specifications

Specifications
Input formatsForm inputs (no file)
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Enter the cost price.
  2. Enter the selling price.
  3. Read off the profit, margin and markup; the result updates instantly.

Limitations: A single-product calculation before tax; value-added tax is not included (use the VAT calculator). Fixed costs, discounts and quantity tiers are not modelled. Amounts in euros as an example - the maths applies to any currency.

FAQ

Are my inputs uploaded?

No. The calculation runs entirely locally in the browser (pure JavaScript); nothing is sent or stored.

What is the difference between margin and markup?

Margin is the profit as a share of the selling price, markup is the same profit as a share of the cost. Markup is always the larger number.

How do I work out the margin?

Margin = (selling price minus cost) divided by selling price times 100. Example: cost 70, selling 100 gives a 30 % margin.

Is VAT included?

No, the calculator works before tax. For net/gross and tax, use the VAT calculator.

Related tools

VAT Calculator · Percentage Calculator · Rule of Three Calculator · Percentage Change Calculator · Break-even Calculator