VED is calculated using a range of metrics depending on when a vehicle was registered and how many emissions it produces.