UK electricity consumption/year: 301.7 TWh
Miles driven per year in UK: 327e9 [1]
Convert into TWh if vehicle is petrol: 470TWh [2]
Electric cars need about a third the energy of petrol vehicles: 160TWh
See here: https://observablehq.com/d/e02d09be8794978c
[1]https://assets.publishing.service.gov.uk/government/uploads/...
[2] https://github.com/robinl/energy_usage
(Apologies some figures are not sourced)