Net (excl. VAT)
$100.00
VAT (21%)
$21.00
Gross (incl. VAT)
$121.00
Showing 8 of 94 related tools
Get up and running in 30 seconds
Type the price amount to calculate VAT on. Supports decimal values for precise calculations (€99.99, £1,250.50). Amount can be net (before VAT) or gross (including VAT) depending on calculation direction.
Choose applicable VAT rate from common rates: 20% (UK standard), 19% (Germany standard), 21% (EU common), or custom percentage. Rate depends on country, product category (standard, reduced, zero-rated), and business type.
Select add VAT (calculate gross from net) or remove VAT (calculate net from gross). Add VAT: net price + VAT = gross. Remove VAT (reverse calculation): gross price - VAT = net. Essential for invoicing, pricing, and tax reporting.
See complete calculation: net amount, VAT amount, gross amount. All values precisely calculated and formatted as currency. Copy individual amounts or full breakdown for invoices, quotes, or financial reports.
Understanding VAT calculation for developers
VAT (Value Added Tax) calculation determines tax amounts for goods and services in countries using VAT systems. VAT is consumption tax collected at each stage of production/distribution, ultimately paid by end consumer. Understanding VAT calculation is essential for e-commerce, international sales, invoicing, and financial compliance.
Software developers encounter VAT calculations when building: e-commerce checkout systems, invoicing platforms, accounting software, marketplace integrations, subscription billing, international payment processing, POS systems, expense management tools, and tax reporting dashboards. Accurate VAT handling is legally required for businesses selling in VAT jurisdictions.
E-commerce pricing and checkout: Online stores must calculate VAT correctly at checkout. Complexity: B2C (business to consumer) charges VAT, B2B (business to business) may reverse charge (buyer pays VAT to their tax authority, not seller). Example: €100 product in Germany (19% VAT): B2C customer pays €119 (including VAT), B2B customer with valid VAT number pays €100 (excluding VAT, reverse charge). Incorrect VAT calculation violates tax law, causes accounting errors, and confuses customers.
Invoice generation: Invoices must show VAT breakdown clearly. Example invoice format:
B2B invoices include seller and buyer VAT numbers. Missing or incorrect VAT calculation makes invoice legally invalid in many jurisdictions. Accounting software must: store VAT rates, calculate correctly, format invoices per local regulations, handle multiple VAT rates for different products.
International sales and VAT rates: VAT rates vary by country and product type. EU examples: Standard rates (15-27%), Reduced rates (5-12% for food, books, medicine), Zero rate (0% for exports, certain essentials), Exempt (no VAT, but can't reclaim input VAT). UK: 20% standard, 5% reduced, 0% zero-rated. Selling across EU requires: detecting customer country, applying correct VAT rate, handling OSS (One Stop Shop) for simplified EU VAT, storing proof of customer location.
Reverse calculation (gross to net): Often you know gross price (final customer price) and need net (for reporting). Example: product sells for €119 including 19% VAT. Net price = €119 / 1.19 = €100. Formula: net = gross / (1 + VAT_rate). Common mistake: €119 - 19% = €96.39 is wrong. Must divide by 1.19, not subtract 19%.
Subscription pricing with VAT: SaaS platforms charge subscriptions + VAT. Example: $29/month plan for EU customer. Add 21% VAT = $35.09 total. But if customer provides valid VAT number (B2B), charge $29 only (reverse charge). Payment processor (Stripe, Paddle) often handles VAT automatically, but you must: pass customer tax information, display prices correctly (with/without VAT), generate compliant invoices, report to tax authorities.
Net amount (excluding VAT): Base price before tax. What seller receives for goods/services. Also called "pre-VAT price" or "exclusive of VAT".
VAT amount: Tax calculated on net amount. Formula: VAT = net × VAT_rate. Example: €100 net × 19% = €19 VAT.
Gross amount (including VAT): Total price customer pays. Formula: gross = net + VAT = net × (1 + VAT_rate). Example: €100 + €19 = €119 gross.
VAT rate: Percentage tax rate. Varies by country and product category. Common EU rates:
Reverse charge: B2B mechanism where buyer (not seller) pays VAT to tax authority. Seller issues invoice without VAT. Requires: valid VAT numbers for both parties, VIES validation (EU VAT Information Exchange System), correct invoice notation ("reverse charge applies").
Input VAT vs Output VAT: Input VAT = VAT paid on purchases (reclaimable), Output VAT = VAT charged to customers (owed to tax authority). Net VAT = Output VAT - Input VAT. Businesses pay difference to tax authority or claim refund if Input VAT exceeds Output VAT.
Add VAT (net to gross):
VAT = net × VAT_rate
gross = net + VAT = net × (1 + VAT_rate)
Example: €100 net, 19% VAT
VAT = €100 × 0.19 = €19
gross = €100 + €19 = €119
Or: €100 × 1.19 = €119
Remove VAT (gross to net):
net = gross / (1 + VAT_rate)
VAT = gross - net
Example: €119 gross, 19% VAT
net = €119 / 1.19 = €100
VAT = €119 - €100 = €19
Common mistake - subtracting percentage:
❌ WRONG: €119 - (€119 × 0.19) = €96.39
✓ CORRECT: €119 / 1.19 = €100
Calculate VAT rate from gross and net:
VAT_rate = ((gross - net) / net) × 100
Example: €119 gross, €100 net
VAT_rate = ((€119 - €100) / €100) × 100 = 19%
European Union (EU): VAT applies to goods and services. Rates 15-27%. Cross-border B2C sales: seller charges VAT at customer's country rate. B2B: reverse charge if buyer has valid VAT number. Digital services: VAT at customer location (not seller). OSS (One Stop Shop) simplifies EU VAT reporting.
United Kingdom (UK): Post-Brexit, separate from EU VAT. Standard rate 20%, reduced 5%, zero 0%. Northern Ireland follows some EU VAT rules. B2B exports to EU: zero-rated. B2C exports: depends on value and goods type.
United States: No VAT. Uses sales tax instead (state/local level). Different system: sales tax only on final sale to consumer, not value-added at each stage. International: US businesses selling to EU must charge VAT.
Australia: GST (Goods and Services Tax) 10%. Similar to VAT but different name. B2B GST-registered: tax invoices required. Exports: GST-free.
Canada: GST (federal) + PST (provincial in some provinces) or HST (harmonized). Varies by province. Example: Ontario 13% HST, Alberta 5% GST only.
Dynamic rate selection: E-commerce must: detect customer location (IP, billing address), determine applicable VAT rate (country + product category), handle rate changes (VAT rates change periodically), validate VAT numbers (VIES API for EU).
Multi-currency with VAT: Selling in EUR, GBP, USD with different VAT rates. Example: €100 product in Germany (19% VAT = €119) vs £100 in UK (20% VAT = £120). Currency conversion before or after VAT? Standard: convert net amount, then add VAT in target currency.
Mixed cart VAT rates: Cart contains items with different VAT rates (standard 20%, reduced 5%, zero 0%). Calculate VAT per line item, sum for total. Invoice must show breakdown by VAT rate.
Rounding precision: VAT calculations use 2 decimal places for currency. Rounding differences accumulate. Best practice: calculate VAT per line item and round, sum rounded amounts. Alternative: calculate total VAT on cart subtotal and round once (matches tax authority expectations better).
This tool calculates VAT amounts with precision for invoicing, pricing, and financial compliance across VAT jurisdictions.
How developers use VAT calculations
Add VAT to product prices at checkout based on customer location and business type (B2C vs B2B). Display price breakdown clearly. Essential for EU, UK, and other VAT jurisdictions.
Create legally compliant invoices with proper VAT breakdown. Include seller and buyer VAT numbers, net/gross amounts, VAT rate, and total. Required for business tax reporting and audits.
SaaS subscription billing must add VAT for B2C customers or apply reverse charge for B2B. Display prices correctly, generate compliant invoices, and report to tax authorities. Integrate with payment processors.
Accounting dashboards need VAT calculations for tax reporting. Sum VAT collected, show breakdown by rate, calculate net VAT owed. Essential for quarterly/monthly VAT returns to tax authorities.
Master VAT calculations
This tool calculates VAT amounts for pricing, invoicing, and tax reporting. Supports adding VAT to net prices or removing VAT from gross prices. Handles all VAT rates used in EU, UK, and other jurisdictions.
Net amount (excluding VAT): Base price before tax. Use when you know the pre-tax price and need to calculate total with VAT. Example: product costs €100 before VAT, need to know customer price.
Gross amount (including VAT): Total price with tax included. Use when you know final price and need to extract VAT for accounting. Example: customer paid €119, need to know how much was VAT.
Decimal precision: Enter exact amounts with decimals (€99.99, £1,250.50). Tool maintains 2 decimal places for currency precision in calculations.
Common rates:
Rate types in practice:
Multiple rates: If calculating for cart with mixed VAT rates, calculate each item separately then sum totals.
Add VAT (net to gross): Start with net price, calculate VAT, get gross price.
Use when: pricing products, creating quotes, showing "price + VAT" to customers.
Remove VAT (gross to net): Start with gross price, extract VAT, get net price.
Use when: customer paid total, need to report net revenue for accounting, extracting VAT from receipts.
Common mistake: Don't subtract percentage from gross. €119 - 19% = €96.39 is wrong. Must divide: €119 / 1.19 = €100.
Net amount: Base price before VAT. What seller receives as revenue (minus VAT paid to tax authority). Used for: accounting records, profit calculation, commission basis.
VAT amount: Tax portion. What's owed to tax authority (for sales) or reclaimable (for purchases). Used for: tax reporting, VAT returns, financial statements.
Gross amount: Total price including VAT. What customer pays. Used for: pricing display, invoice total, payment processing.
Percentage verification: Tool shows effective VAT percentage to verify calculation. Example: €19 VAT on €100 net = 19%. On €100 net = 19% check.
Reverse charge (B2B): When buyer has valid VAT number, don't add VAT. Invoice shows net amount only. Add note: "Reverse charge - Buyer to account for VAT". Buyer pays VAT to their tax authority.
Exports outside VAT area: Exports from EU to non-EU countries typically zero-rated (0% VAT). Invoice shows 0% VAT rate. Requires proof of export (shipping documents).
Digital services: VAT charged at customer's location rate, not seller's. UK company selling to French consumer uses 20% French VAT, not UK rate.
Mixed cart rates: Calculate each item with its rate:
B2C (business to consumer): Always charge VAT. Display prices including VAT in most EU countries (legal requirement). Invoice must show VAT breakdown.
B2B (business to business): If buyer has valid VAT number: reverse charge (no VAT added). If buyer has no VAT number or invalid: charge VAT normally. Verify VAT numbers via VIES database (EU).
Everything you need to know
Your data never leaves your browser
All VAT calculations happen entirely in your browser using client-side JavaScript arithmetic. Zero server communication, zero data transmission, zero logging.
Safe for calculating VAT on confidential pricing, proprietary invoices, internal financial planning, or competitive business analysis. Use with confidence for all VAT calculations.
Performance metrics