The expressions above read these as $const. They are the figures the annual refresh replaces, so they live as data rather than being written into the formulas — which is what makes a year-on-year change a one-line diff instead of an edit to arithmetic.
Constant
Value
baseFeePerPeriod
21260
wltpThreshold
204
wltpPerGram
154
nedcThreshold
168
nedcPerGram
188
heavyWeightThreshold
3500
heavyBasePerPeriod
73795
heavyPerKg
3.1
heavyMaxPerPeriod
115450
kmChargePerKm
6.95
Test vectors (6)
Every case is executed against this model on each build, by the Java engine and independently by a JavaScript one. A mismatch of a single cent fails the build, so the page cannot ship advertising a figure the model no longer produces.
Case 1 — K1 150 g/km WLTP, 1,600 kg, 12,000 km: base fee only, plus the kilometre charge
given co2Standard
wltp
given co2
150
given weightKg
1600
given kmPerYear
12000
given over25Years
no
expect vehicleTaxPerPeriod
21260
expect vehicleTaxAnnual
42520
expect kilometreCharge
83400
expect annualTotal
125920
Case 2 — K2 250 g/km WLTP: 46 g over the 204 threshold at 154 kr
given co2Standard
wltp
given co2
250
given weightKg
1900
given kmPerYear
12000
given over25Years
no
expect vehicleTaxPerPeriod
28344
expect vehicleTaxAnnual
56688
expect annualTotal
140088
Case 3 — K3 200 g/km NEDC: 32 g over the 168 threshold at 188 kr
given co2Standard
nedc
given co2
200
given weightKg
1500
given kmPerYear
0
given over25Years
no
expect vehicleTaxPerPeriod
27276
expect vehicleTaxAnnual
54552
Case 4 — K4 an electric car pays the base fee and the kilometre charge
The whole model as JSON — inputs, outputs, formulas, vectors and sources in one re-runnable document.
This model is published under CC BY 4.0: use it, adapt it, build on it, with attribution. The licence covers the model — the expression of each rule and the arrangement of the catalog. The rates and thresholds are law, and nobody licenses those; the sources above are where they come from.