Skip to content
Count.ie

Gross Margin and Markup Calculator

Price a product without confusing margin and markup

  1. Enter the unit cost excluding VAT, including the direct costs you want the gross margin to cover.
  2. For a target margin, divide cost by one minus the margin as a decimal. A 100% target has no finite selling price.
  3. To check an existing price, enable that option and enter the selling price on the same VAT basis as the cost.

Check your understanding: With €100 cost and a 25% target margin, price is €133.33 before VAT. Adding 25% to cost gives €125: that is 25% markup but only 20% margin.

Gross profit is not take-home profit. Rent, wages, payment fees and tax may still need to be covered. Keep VAT outside both figures unless you deliberately compare VAT-inclusive amounts consistently.

Page updated Published by Count.ieSources & review

Questions you might ask next

Is margin the same as markup?

No. Margin measures profit as a share of the selling price, whereas markup measures profit relative to the cost. Confusing these two will result in incorrect pricing and profitability projections.

Does this margin include my business overheads and taxes?

No. This is a gross margin calculation. It does not deduct overheads, finance costs, or taxes, so it does not represent your final net profit.

Should I include VAT in the cost and price inputs?

No. You must use consistent VAT-exclusive amounts. VAT should be calculated and applied separately after you have determined your pricing using this model.

Calculation basis, sources and review

Target price = cost ÷ (1 − margin). Gross margin divides profit by revenue; markup divides profit by cost.

Publisher
Count.ie, operated by K Imports
Page last updated
— explanatory content and transparency information, not a new rules verification.
Documented source check
No dated source check recorded.
Professional review
No named independent professional review is recorded for this tool.

Any dated method notes below apply only to their stated scope. A formula or user-entered rate is not evidence that statutory rules are current.

Uses the stated formula and the assumptions you enter. No external source review is claimed.

Estimates, not financial, tax, legal or accounting advice. How our dates and checks work. Report a correction.

What selling price gives my business a 30% gross margin?

Find a target price, or analyse an existing selling price. Margin measures profit as a share of selling price; markup measures it against cost. Confusing them can leave a quote below its intended profitability. Compare the supported price, profit and percentages before adding any separately applicable VAT. Gross margin is not net profit after overhead, finance costs and tax.

How the calculation works

Margin & markup pricing applies one fixed set of rules to the inputs described below, so the same entries always give the same answer. The exact formula is published once, in the Sources, formula and methodology section further down this page.

Unit cost excluding VAT (€) is entered as 100 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount. Target gross margin (%) is entered as 30 in the illustration. Keep the unit shown on the field when substituting your own measurement or amount. Analyse an existing selling price is no in the illustration; tick a confirmation only when its condition actually holds.

Worked example

A fixed illustration uses Unit cost excluding VAT (€): 100; Target gross margin (%): 30; Analyse an existing selling price: no. Selling Price: €142.86; Gross Profit: €42.86. All remaining illustrated settings are listed in the example-input disclosure below. These are reproducible sample figures, not saved visitor inputs; this text does not change when you edit the interactive form.

Compare selling price, gross profit using matching periods and units. A total cost, a recurring payment and a percentage answer different questions. Check omitted costs and the timing of payments before using the result as a spending commitment.

What moves the answer

Each comparison changes one input of the fixed example and re-runs this calculator’s engine. Other assumptions stay unchanged.

  • Raising unit cost excluding vat (€) from 100 to 110, with everything else unchanged, selling price moves from €142.86 to €157.14 and gross profit moves from €42.86 to €47.14.
  • Raising target gross margin (%) from 30 to 33, with everything else unchanged, selling price moves from €142.86 to €149.25 and gross profit moves from €42.86 to €49.25.

Frequently asked questions

What happens if I increase unit cost excluding vat (€) in this example?

Changing unit cost excluding vat (€) from 100 to 110, with the other example settings unchanged, changes selling price from €142.86 to €157.14. This isolates one input using the form's actual calculation. Compare changes separately rather than attributing a difference to several assumptions at once.

What assumptions should I check for Margin & markup pricing?

Use consistent VAT-exclusive amounts. Gross profit does not deduct overheads. A loss remains a negative profit and margin. This is a formula-based planning tool, not a feed of live quotations or an independent assessment. Its editable amounts, prices and rates are your assumptions, so check them against the records or specifications relevant to your case.

Quick answer

The Margin & markup pricing model returns selling price and gross profit. Margin measures profit as a share of selling price; markup measures it against cost.

Outputs and units: Selling Price (euro (€)); Gross Profit (euro (€)).

Formula, assumptions and sources

Fixed worked example results

Margin & markup pricing example — Unit cost excluding VAT (€): 100; Target gross margin (%): 30; Analyse an existing selling price: no. Selling Price: €142.86; Gross Profit: €42.86.

Illustration only, not your entered figures. Use the complete example inputs below, selected options and stated limitations when quoting these results.

Calculated results for the fixed worked example
Result Example value
Selling Price €142.86
Gross Profit €42.86
Exact inputs used in the worked example
Unit cost excluding VAT (€)
100
Target gross margin (%)
30
Analyse an existing selling price
no

Cite this calculation example

Count.ie. Margin & markup pricing: fixed worked example. Page updated 2026-10-16. https://count.ie/business/margin-pricing/#worked-example

This citation describes the fixed example above, not your entered figures. Include the complete assumptions and relevant year when quoting a result. Official sources remain the authority on the underlying rules.

Link to the worked exampleFixed example, assumptions and sources (JSON)AI discovery index

Sources, formula and methodology

Margin & markup pricing: formulae, calculation steps and their conditions
StepFormula or calculationWhen it applies
Published calculation methodTarget price = cost ÷ (1 − margin). Gross margin divides profit by revenue; markup divides profit by cost.Use the stated input units, supported modes and limitations below.

Assumptions and limits

Use consistent VAT-exclusive amounts. Gross profit does not deduct overheads. A loss remains a negative profit and margin.

Explanation of the implemented calculator, not independent professional review, enactment verification or a promise of AI citation. See the source links and review scope above.

Need more help?

Read the input reference for margin & markup pricing

Input reference and model comparisons

This documentation is assembled from this calculator’s input definitions and model. The comparisons re-run the same model; they are not independent research or a separate accuracy check. How this documentation is produced.

Detailed input reference
Unit cost excluding VAT (€)
Numeric input; minimum 0; maximum 1000000000000.
Target gross margin (%)
Numeric input; minimum 0; maximum 99.99.
Analyse an existing selling price
Existing selling price (€)
Numeric input; minimum 0; maximum 1000000000000.

Shown when Analyse an existing selling price is true.

Fixed reference scenario and comparisons

This reference scenario uses the inputs listed below, which may differ from the main worked example. Any comparisons change one input while keeping the others unchanged. They are illustrations, not forecasts, eligibility decisions or recommended settings.

Reference inputs

Unit cost excluding VAT (€)
100
Target gross margin (%)
30
Analyse an existing selling price
No

Reference results

Selling price
€142.86
Profit per unit
€42.86
Gross margin
30%
Markup on cost
42.86%

Unit cost excluding VAT (€): 100 → 120

Selling price
€142.86 → €171.43
Profit per unit
€42.86 → €51.43

Target gross margin (%): 30 → 36

Selling price
€142.86 → €156.25
Profit per unit
€42.86 → €56.25
Gross margin
30% → 36%

Input mistakes to avoid

  • Do not quote a markup percentage as if it were a margin.
  • Do not include VAT in either price.
  • Discounts reduce margin faster than they appear to; recalculate from the discounted price.
All business calculators →