Get a quote−50% setup fee today
Questions?Message us on WhatsApp

Margin calculator: calculate margin, margin percentage and selling price

The margin calculator works out the margin in euros and as a percentage, the selling price from a target margin, and the markup percentage. With a purchase price of €60 and a selling price of €100, the margin is €40, or 40%.

Pekka SaarinenPekka SaarinenUpdated

How to use the margin calculator

First choose what you want to calculate. Margin calculates the margin in euros and the margin percentage from the purchase and selling price. Price from margin tells you what the selling price must be to get the margin percentage you want. Markup calculates the selling price when you add a given percentage to the purchase price. In every mode you see the margin, margin percentage and markup percentage side by side, together with the formula used to get the result.

Margin is always calculated without VAT. If you only have prices including VAT, choose Incl. VAT and the correct rate, and the calculator first converts the prices to net prices. The rates are the 2026 rates: the standard rate of 25.5%, the reduced rate of 13.5% for example for food and restaurant food, and 10% for newspapers and magazines. Choose 0% if no VAT is paid on the sale. Finally the calculator shows the selling price with the chosen VAT, because that is what goes on the price tag.

Margin and margin percentage in brief

Sales margin is the selling price minus the purchase price, both excluding VAT. If you buy a product for €60 and sell it for €100, the margin is €40.

The margin percentage is calculated from the selling price: 40 / 100 = 40%. The markup percentage is calculated from the purchase price: 40 / 60 = 66.7%. Many people price with a markup but think they are talking about margin. The selling price then ends up too low.

When you know the target margin, the selling price is purchase price / (1 − margin percentage). With a 40% margin, the net selling price of a €60 product is 60 / 0.6 = €100.

Target marginMultiplier on purchase priceEquivalent markup percentage
20%× 1.2525%
30%× 1.4343%
40%× 1.6767%
50%× 2.00100%
60%× 2.50150%

How do you build margin into the price? Selling price from a target margin

Divide the net purchase price by (1 − target margin) and add VAT only at the end. When the purchase price is €60 excluding VAT and you want a 40% margin, the net selling price is 60 / 0.6 = €100. The consumer price tag shows 100 × 1.255 = €125.50.

If the purchase invoice only shows the price including VAT, first convert it to a net price by dividing by 1.255: €75.30 / 1.255 = €60. A common mistake is to add 40% to the purchase price (60 × 1.4 = €84). The margin is then only €24, or about 28.6%, not 40.

Target marginPurchase price excl. VATSelling price excl. VATMargin in eurosPrice tag incl. VAT 25.5%
30%€60€85.71€25.71€107.57
40%€60€100.00€40.00€125.50
50%€60€120.00€60.00€150.60
60%€60€150.00€90.00€188.25

How is margin calculated in Excel?

In Excel, the margin percentage is calculated with the formula =(B2-A2)/B2, when the purchase price is in cell A2 and the selling price in cell B2, both excluding VAT. Format the cell as a percentage, and 60 and 100 give a result of 40%.

The other formulas for the same row are in the table below. The target margin is in cell C2 as a percentage. In Finnish-language Excel, the decimal separator is a comma. Try the formulas first with the same figures as in the calculator, and only then copy them to your whole price list.

What is calculatedFormula (A2 = purchase price, B2 = selling price, C2 = target margin)Result with the example €60 / €100 / 40%
Sales margin €=B2-A2€40
Margin percentage=(B2-A2)/B240%
Markup percentage=(B2-A2)/A266.7%
Selling price from target margin=A2/(1-C2)€100
Selling price including VAT=B2*1.255€125.50

Why VAT is kept out of margin calculations

VAT is not the business's money. The tax charged to the customer is paid over to the Finnish Tax Administration, and the tax paid on purchases is recovered. That is why margin is always calculated from net prices. A margin calculated from prices including VAT looks better than it is.

The consumer price tag, however, shows the price including VAT. That is why the calculator finally also shows the selling price at the chosen VAT rate.

What does a discount do to the margin?

A discount comes entirely out of the margin, because the purchase price stays the same. If a €60 product sells for €100 and you give a 10% discount, you sell for €90. The margin drops from €40 to €30 and the margin percentage from 40% to about 33%.

For a discount sale to produce as much margin in euros as the normal price, you would have to sell a third more units, because €30 × 4 = €40 × 3. So calculate the effect of a discount before the campaign. Enter the discounted price in the calculator as the selling price and see how much margin is left.

You get the extra sales needed with the formula: original margin / (original margin − discount in euros). With a 40% margin, a 20% discount requires double the sales, and a 30% discount four times the sales. When the discount equals the margin percentage, no margin is left at all.

DiscountSelling priceMarginMargin percentageExtra sales needed to keep the margin in euros
0%€100€4040.0%0%
10%€90€3033.3%+33%
20%€80€2025.0%+100%
30%€70€1014.3%+300%

Sales margin, contribution margin and break-even point

Sales margin (myyntikate) and contribution margin (katetuotto) mean practically the same thing: sales minus variable costs, such as goods bought for resale, materials and subcontracting. The contribution margin percentage is the same figure relative to sales. Fixed costs, such as rent, salaries and software, are not part of the margin calculation because they do not change with sales.

The break-even point tells you how much you need to sell for the margin to cover fixed costs and the result to be zero. The formula is fixed costs / margin percentage. Example: fixed costs are €3,000 a month and the margin percentage is 40. The break-even point is 3,000 / 0.40 = €7,500 of sales excluding VAT per month. If you want a €3,000 profit on top, you need €15,000 of sales.

The table shows that the smaller the margin, the more sales the same €3,000 of fixed costs requires. A business operating on a small margin is sensitive to price cuts and rising purchase prices.

Margin percentageBreak-even point, fixed costs €3,000/monthSales when the target is also a €3,000 profit
20%€15,000€30,000
30%€10,000€20,000
40%€7,500€15,000
50%€6,000€12,000
70%€4,286€8,571

Break-even point in units and margin of safety

You get the break-even point in units by dividing fixed costs by the margin in euros of one product. When fixed costs are €3,000 a month and the product's margin is €40, a zero result requires 3,000 / 40 = 75 units sold per month.

The margin of safety tells you how far sales can fall before the result turns into a loss. It is actual sales minus break-even sales. If you sell €10,000 a month and the break-even point is €7,500, the margin of safety is €2,500, or 25% of sales. With a small margin of safety, a business copes poorly with a quiet month or a price cut.

The formula for contribution margin is the same as for sales margin: sales revenue minus variable costs. The result is obtained by deducting fixed costs from the contribution margin. In a service business, variable costs include, for example, hourly wages with their related costs and subcontracting. So the purchase price of goods alone is not enough to calculate the margin.

FigureFormulaExample
Contribution marginsales − variable costs€10,000 − €6,000 = €4,000
Contribution margin percentagecontribution margin / sales4,000 / 10,000 = 40%
Resultcontribution margin − fixed costs€4,000 − €3,000 = €1,000
Break-even point, eurosfixed costs / contribution margin percentage3,000 / 0.40 = €7,500
Break-even point, unitsfixed costs / margin per unit3,000 / €40 = 75 units
Margin of safetysales − break-even sales10,000 − 7,500 = €2,500 (25%)

Margin, EBITDA and profit are different figures

Sales margin is the first subtotal in the income statement: turnover minus materials, goods and external services. When you also deduct personnel costs and other expenses, such as rent, from the sales margin, you get EBITDA (käyttökate). Operating profit is EBITDA minus depreciation. Profit for the financial year is what remains only after financial items and taxes.

So a 40% margin does not mean a 40% profit. In a service business that does not buy goods, the sales margin can be close to a hundred per cent. Then the real question is the hourly rate, and the hourly rate calculator is the right tool for that.

Margin tells you about a product, bookkeeping about the whole business

A good margin on one product does not yet mean the business is making a profit. The margin has to pay rent, salaries, marketing, insurance and the entrepreneur's own pay. So follow the margin on all sales monthly, not just when setting prices.

At Tauko you can ask an accountant about margin whenever you need to, and the advice is included in the fixed price. That way you have time to correct prices early, not only at the financial statements.

You can only follow margin monthly if the bookkeeping is up to date and purchases and sales are recorded in the right accounts. At Tauko, bookkeeping for a sole trader starts at €69 and for a limited company (Oy) at €89 a month (excl. VAT), and the financial statements are invoiced separately. See your own price, or get quotes to replace your current accounting firm if you cannot get margin figures from your bookkeeping without asking.

Frequently asked questions

How is the margin percentage calculated?+

Subtract the purchase price from the selling price, divide the difference by the selling price and multiply by a hundred. Use prices excluding VAT. For example, (100 − 60) / 100 = 40%.

What is the difference between margin and markup?+

The margin percentage is calculated from the selling price and the markup percentage from the purchase price. The same €40 difference is a 40% margin but a 66.7% markup when the purchase price is €60 and the selling price €100.

How do I calculate the selling price when I know the margin I want?+

Divide the purchase price by the number you get by subtracting the margin percentage from one hundred per cent. With a 50% margin, a purchase price of €30 gives a net selling price of 30 / 0.5 = €60.

Is margin calculated with or without VAT?+

Without. VAT is paid over to the state, so it is not income for the business. Margin is calculated from net prices, and VAT is added only to the consumer price.

What is a good margin percentage?+

It depends on the industry. In grocery retail, margins are small and volumes large. In services and own products, margins are clearly higher. The main thing is that the margin covers fixed costs and the entrepreneur's pay.

What does sales margin mean in the income statement?+

In the income statement, sales margin is turnover minus materials, goods and external services. It tells you how much is left to cover fixed costs and profit.

How is the break-even point calculated?+

Divide fixed costs by the margin percentage. If fixed costs are €3,000 a month and the margin is 40%, the break-even point is €7,500 of sales excluding VAT per month. Sales below that make a loss.

How much more do I need to sell if I give a discount?+

The formula is original margin / (margin − discount). With a 40% margin, a 10% discount requires a third more sales and a 20% discount double the sales for the margin in euros to stay the same.

How is margin calculated in Excel?+

When the purchase price is in cell A2 and the selling price in cell B2 excluding VAT, the margin percentage is =(B2-A2)/B2 and the margin in euros =B2-A2. The selling price from a target margin is =A2/(1-C2) when the target margin is in cell C2. Format the percentage cells as percentages.

What is the formula for contribution margin?+

Contribution margin = sales revenue − variable costs. Contribution margin percentage = contribution margin / sales revenue × 100. For example, with €10,000 of sales and €6,000 of variable costs, the contribution margin is €4,000, or 40%.

What is the margin of safety?+

The margin of safety is actual sales minus break-even sales. It tells you how far sales can fall before there is a loss. With €10,000 of sales and a break-even point of €7,500, the margin of safety is €2,500, or 25%.

How do you calculate a 30% margin?+

Divide the net purchase price by 0.7. With a purchase price of €60, the selling price is 60 / 0.7 = €85.71 excluding VAT, and the margin €25.71. If you add 30% to the purchase price, the margin stays at about 23%.

How is sales margin calculated?+

Sales margin is the selling price minus the purchase price, both excluding VAT. The sales margin percentage is the sales margin divided by the selling price. With €100 of sales and a €60 purchase price, the sales margin is €40, or 40%.

What does the contribution margin percentage tell you?+

The contribution margin percentage tells you what share of sales is left after variable costs to cover fixed costs and profit. With a 40% contribution margin, €40 is left from every €100 sold.

How do I calculate the margin from prices including VAT?+

First convert the prices to net prices by dividing them by the VAT multiplier, which is 1.255 at the standard rate of 25.5%. For example, a selling price of €125.50 including VAT is €100 excluding VAT. After that, the margin is calculated as usual.

Read more