Skip to content
Business

Margin and VAT Calculator

Calculate net price, gross price with VAT, gross profit, profit margin, and markup percentages simultaneously.

$
%
%

Gross Selling Price (Customer Pays)

$120.00

Includes $20.00 VAT (20.0% rate)

Net Selling Price

$100.00

Revenue excl. VAT

Gross Profit

$40.00

Net Price - Cost

Profit Margin

40.0%

Profit ÷ Net Price

Markup

66.7%

Profit ÷ Cost

Gross Retail Price Breakdown

Gross Price$120.00
  • Cost (COGS)$60.0050.0%
  • Gross Profit$40.0033.3%
  • VAT Tax$20.0016.7%

Pricing and VAT Calculation Steps

Formulas and worked numbers from cost to gross price

  1. 1. Net Selling Price (Excl. VAT)

    Snet=Cost1M100=$60.00140.00/100S_{\text{net}} = \frac{\text{Cost}}{1 - \frac{M}{100}} = \frac{\$60.00}{1 - 40.00 / 100}

    Net selling price before sales tax or VAT is $100.00.

  2. 2. Profit, Margin, and Markup Conversion

    Profit=SnetCost,M=ProfitSnet×100%,K=ProfitCost×100%\text{Profit} = S_{\text{net}} - \text{Cost},\quad M = \frac{\text{Profit}}{S_{\text{net}}} \times 100\%,\quad K = \frac{\text{Profit}}{\text{Cost}} \times 100\%

    Gross profit is $40.00 ($100.00 - $60.00), delivering a 40.00% profit margin and an equivalent 66.67% markup on cost.

  3. 3. Value Added Tax (VAT) and Gross Customer Price

    VAT=Snet×V100,Sgross=Snet+VAT\text{VAT} = S_{\text{net}} \times \frac{V}{100},\quad S_{\text{gross}} = S_{\text{net}} + \text{VAT}

    At a 20.00% VAT rate, sales tax adds $20.00, bringing the final retail customer price to $120.00.

  4. 4. Business VAT Remittance (Invoice Credit Method)

    VAT to Pay=Output VATInput VAT=$20.00$12.00=$8.00\text{VAT to Pay} = \text{Output VAT} - \text{Input VAT} = \$20.00 - \$12.00 = \$8.00

    Under the standard VAT credit system, the net tax payable to the revenue authority equals the VAT on your profit ($40.00 × 20.00% = $8.00).

Report tool

Pricing Commercial Products with Profit Margin and VAT

Setting retail prices requires balancing two distinct financial realities: your business profitability and statutory Value Added Tax (VAT). Failing to separate profit margin from sales tax is one of the most frequent causes of commercial underpricing. This calculator solves both equations simultaneously, allowing you to determine pre-tax net selling price, gross profit, equivalent markup, and final customer shelf price with complete precision.

Whether you manufacture physical goods, import wholesale inventory, or deliver professional services in a VAT jurisdiction, every product price consists of three distinct layers. First is your unit acquisition expense, calculated using your cost of goods sold. Second is your company gross profit, designed to fund overhead and generate operating income. Third is the statutory consumption tax collected on behalf of revenue authorities. For quick net-to-gross or gross-to-net VAT math without margin modeling, use the VAT calculator.

Core Formulas: Margin, Markup, and VAT

VAT is levied on the net selling price (the price excluding tax), never on cost alone. Consequently, calculating a retail price requires solving the commercial margin first, then applying the applicable tax rate. For standard transactions that do not involve indirect sales taxes or VAT, use our dedicated margin calculator.

Snet=Cost1Margin100=Cost×(1+Markup100)S_{\text{net}} = \frac{\text{Cost}}{1 - \frac{\text{Margin}}{100}} = \text{Cost} \times \left(1 + \frac{\text{Markup}}{100}\right)

Once the pre-tax net selling price is established, Value Added Tax is calculated by multiplying the net price by the statutory VAT percentage:

VAT Amount=Snet×V100,Sgross=Snet+VAT Amount=Snet×(1+V100)\text{VAT Amount} = S_{\text{net}} \times \frac{V}{100},\qquad S_{\text{gross}} = S_{\text{net}} + \text{VAT Amount} = S_{\text{net}} \times \left(1 + \frac{V}{100}\right)

If you already know the final retail target price from market competitors and need to reverse-engineer your profitability, extract the net selling price by dividing the gross price by one plus the tax rate:

Snet=Sgross1+V100,Gross Profit=SnetCostS_{\text{net}} = \frac{S_{\text{gross}}}{1 + \frac{V}{100}},\qquad \text{Gross Profit} = S_{\text{net}} - \text{Cost}

If you manage multiple product tiers or bundle packages, comparing pricing sets side by side with the margin 2 sets calculator helps verify blended portfolio returns.

The Margin vs Markup Trap Explained

The most damaging mistake in product pricing is confusing margin with markup. Profit margin measures gross profit as a percentage of selling price, whereas markup measures gross profit as a percentage of cost:

  • Profit Margin: Profit divided by Net Selling Price. A 40% margin means 40 cents of every dollar taken in represents gross profit.
  • Markup: Profit divided by Unit Cost. A 40% markup on a $60 item adds $24, resulting in an $84 net price and only a 28.57% profit margin.

To achieve a true 40% margin on a $60 unit cost, you must apply a 66.67% markup ($60 ÷ (1 - 0.40) = $100 net selling price). When you then apply a 20% VAT rate, the final customer pays $120.00 ($100 net + $20 VAT). If you want to explore how unit margins interact with fixed facility overhead, review the break-even calculator.

Margin to Markup and VAT Reference Table

The table below demonstrates the required markup percentage, pre-tax net selling price, and final gross price (assuming a standard 20% VAT rate) for a baseline product cost of $100:

Target MarginEquivalent MarkupCost PriceNet Price (Excl. VAT)VAT (20%)Gross Retail Price
10%11.11%$100.00$111.11$22.22$133.33
20%25.00%$100.00$125.00$25.00$150.00
30%42.86%$100.00$142.86$28.57$171.43
40%66.67%$100.00$166.67$33.33$200.00
50%100.00%$100.00$200.00$40.00$240.00

Input VAT vs Output VAT: How Businesses Remit Tax

In standard value-added tax systems, registered businesses operate as tax intermediaries rather than bearing the tax burden directly. When you sell goods to retail shoppers, you collect Output VAT. When you purchase raw materials or wholesale stock from suppliers, you pay Input VAT.

Under the invoice-credit method, you do not remit the total tax collected from your customer. Instead, you subtract your input tax credits from your output tax liabilities:

Net VAT Payable=Output VATInput VAT=(Net SalesTaxable Purchases)×V100\text{Net VAT Payable} = \text{Output VAT} - \text{Input VAT} = (\text{Net Sales} - \text{Taxable Purchases}) \times \frac{V}{100}

Notice that your net VAT payable equals your gross profit multiplied by the VAT rate. For example, if your unit cost is $60 and your net price is $100 at 20% VAT, you collect $20.00 output VAT and claim $12.00 input VAT credit, remitting exactly $8.00 to the revenue agency ($40 profit × 20%). If you plan to run promotional markdowns later, check how reduced shelf pricing alters your return using the discount calculator or evaluate variable cost coverage via the contribution margin calculator.

Frequently asked questions

What is the difference between profit margin and markup?
Profit margin is gross profit divided by net selling price, showing the percentage of revenue retained as profit. Markup is gross profit divided by cost, showing the percentage added to cost to establish price. A 50% markup yields a 33.33% profit margin.
Is Value Added Tax calculated on the cost or the selling price?
VAT is always calculated on the final net selling price charged to the buyer, never on cost alone. If an item costs $50 and sells for $100 net, a 20% VAT rate adds $20 to the selling price, creating a $120 retail price.
How do I extract the net selling price from a price that already includes VAT?
Divide the gross price by one plus the VAT rate expressed as a decimal. For example, with a 20% VAT rate, divide the gross price by 1.20 ($120 ÷ 1.20 = $100 net). The remaining $20 is the VAT amount.
What markup is needed to achieve a 25% profit margin?
A 25% profit margin requires a 33.33% markup on cost. The formula is Markup = Margin ÷ (1 - Margin), which equals 0.25 ÷ (1 - 0.25) = 0.25 ÷ 0.75 = 33.33%.
Do businesses keep the VAT charged to customers?
No. VAT is a consumption tax paid by end consumers. Registered businesses collect output VAT on sales, deduct the input VAT paid on business purchases, and remit the difference to the government.
Can profit margin exceed 100%?
No. Profit margin cannot equal or exceed 100% because profit cannot exceed the selling price unless costs are negative. In contrast, markup can easily exceed 100% when goods sell for more than double their cost.

Resources and references

The formulas and methods in this calculator were checked against these independent sources.