Estimate, not a legal decision
Use the result as decision support and planning help. For high-stakes choices, confirm the details with the relevant authority, lender, employer, or adviser.
Calculate margin and markup from cost and selling price, or find the price required for a target margin.
Gross profit, price, margin, and markup before VAT and overhead.
Selling price minus entered cost.
Price used or required for the target margin.
Gross profit as a share of selling price.
Gross profit as a share of cost.
Work before VAT
Use the VAT calculator first if you need to separate VAT from revenue.
Use the real cost
Include shipping, packaging, commission, and direct labour where relevant.
Test several prices
Compare a cautious price, your target, and the market price before deciding.
What is the difference between margin and markup?
Margin is profit divided by selling price. Markup is profit divided by cost.
Should prices include VAT?
Businesses normally compare revenue and cost excluding VAT, because collected VAT is not revenue.
Can margin be negative?
Yes. A selling price below cost produces negative gross profit, margin, and markup.
Is gross profit the same as net profit?
No. This calculation does not deduct overhead, tax, or other business costs.
Margin divides profit by selling price; markup divides it by cost. A cost of 600 and price of 1,000 means 40% margin but 66.7% markup.
For a 40% margin on a cost of 600, divide 600 by 1 − 0.40. The required selling price is 1,000 before VAT.
The result only deducts the entered cost. Wages, shipping, returns, premises, payment fees, and other overhead still have to be covered.
For a business, collected VAT is normally neither revenue nor profit. Compare cost and selling price before VAT. If you only know the customer price including VAT, remove the tax first with the VAT calculator.
Gross profit is selling price minus cost. Margin divides gross profit by selling price; markup divides it by cost. A product costing 600 and selling for 1,000 therefore produces 400 gross profit, a 40% margin, and a 66.7% markup.
Use price = cost / (1 − margin). A 40% target on a cost of 600 requires a selling price of 1,000 before VAT. Simply adding 40% to cost would only create a 28.6% margin.
Shipping, packaging, commission, waste, returns, card fees, premises, administration, and labour may still consume the result. Include direct costs in the cost price, then check whether the remaining gross profit can cover overhead. Test a minimum sustainable price, your target, and the market price instead of trusting one percentage.
These results are meant as guidance. They are based on rules, assumptions, and simplified models that can differ from your exact real-world situation.
Use the result as decision support and planning help. For high-stakes choices, confirm the details with the relevant authority, lender, employer, or adviser.
Each calculator uses defined inputs, assumptions, and logic. We explain the broader approach on the methodology page.
Read methodologyImportant calculators should be traceable back to official rules, public guidance, or other clearly stated references.
Read about sourcesUse the VAT calculator first if you need to separate VAT from revenue.
Quick and clear for net and gross calculations.
Open VAT calculatorInclude shipping, packaging, commission, and direct labour where relevant.
Clear breakdown of contribution components and total cost.
Open employer cost calculatorCompare a cautious price, your target, and the market price before deciding.
See money left, savings capacity, and annual margin
Build a household budgetUse Swedish Late-Payment Interest Calculator 2026 to compare the next part of the same scenario.
The 2026 Swedish statutory baseline is prefilled and editable
Calculate late interest