logic.codes

Sales Tax / VAT Calculator

How much tax is added to a price — or included in it?

Single calculationv1.0.0Verified 2026-11-01Runs in your browser

Spec sheet

consumption_tax · v1.0.0
Method

Percentage consumption tax

  1. 01Add: tax = net × rate, gross = net + tax
  2. 02Extract: net = gross ÷ (1 + rate), tax = gross − net
Limits — read before relying on it
  • You supply the combined rate; we do not look up state, county or city rates.
  • Exemptions, tax holidays and per-item thresholds are not applied.
Sources
  • Tax rate supplied by the user for their jurisdictionuser input

Related