wtoolsy.com
Network, DNS, IP
Developer tools
SEO and page analysis
Finance and calculators
Universal
Articles

Margin and markup calculator

Calculate margin, markup and profit. Determine the selling price based on cost and margin or markup.

Margin vs markup — what is the difference?

Margin and markup are two different ways of expressing profit on a product, which are often confused. Margin is the ratio of profit to the selling price, while markup is the ratio of profit to the purchase cost. For the same product, the margin will always be lower than the markup.

Margin
Margin = Profit / Selling price × 100%

Used mainly in retail and finance. It tells what percentage of the selling price is profit.

Markup
Markup = Profit / Cost × 100%

Used when pricing products and services. It tells by what percentage the selling price exceeds the cost.

Example: you buy a product for 100 and sell it for 150. The profit is 50. The margin is 50/150 = 33.3%%, and the markup is 50/100 = 50%%. The same profit amount, but different percentage values.

Conversion table: Margin to Markup

Margin Markup
10%11.1%
20%25.0%
35% 53.8%
40% 66.7%
50%100.0%
75%300.0%

* The table shows how much you need to increase the purchase price (markup) to achieve the desired sales margin.

Frequently Asked Questions (FAQ)

What is the difference between margin and markup?

Margin is profit divided by selling price, expressed as a percentage. Markup is profit divided by purchase cost. With the same profit, margin always gives a lower percentage result than markup. Example: cost 100, price 150 — margin is 33.3%, markup is 50%.

What is a good margin?

It depends on the industry. In retail, a typical margin is 20–50%. In food service 60–70%. In IT services or consulting, margins can exceed 70%. What matters is that the margin covers all fixed and variable costs and ensures a net profit.

How to calculate the selling price from margin?

Formula: Selling price = Cost / (1 - Margin% / 100). Example: cost 100, expected margin 25% → price = 100 / (1 - 0.25) = 133.33. Use the 'Cost + margin' mode in the calculator above.

How to calculate the selling price from markup?

Formula: Selling price = Cost × (1 + Markup% / 100). Example: cost 100, markup 50% → price = 100 × 1.5 = 150. Use the 'Cost + markup' mode in the calculator above.

Does margin include VAT?

Margin is usually calculated on net prices (excluding VAT), because VAT is a tax you remit to the tax office and does not constitute your revenue. Enter net prices into the calculator.

What is gross margin and what is net margin?

Gross margin only accounts for the cost of producing or purchasing the goods. Net margin additionally accounts for all operating costs: rent, salaries, marketing. The calculator computes gross margin.