Specifications

2021 BMW 540i xDrive

The 2021 BMW 540i xDrive is a sedan of the 5 Series G30/G31 generation, sold in the United States. It is powered by a 3.0-liter 6-cylinder turbocharged engine (BMW B58) rated at 335 hp, with an 8-speed automatic and all-wheel drive. The EPA rates it at 23 mpg city, 31 mpg highway and 26 mpg combined. It is 195.3 inches long on a 117.3-inch wheelbase and weighs 3,847 lb at the curb.

Updated Nov 20, 2026 Model year 2021 Body Sedan
BMW 5 Series G30/G31 (2017–2023) in three-quarter front view
Photo: Dinkun Chen / Wikimedia Commons, CC BY-SA 4.0, background removed
335 hp Power
26 mpg Fuel, combined 9.0 L/100 km
ENGINE & TRANSMISSION
Engine6-cyl · 3.0L · turbo · Premium Gasoline
Displacement3000 cc
Cylinders6
Power335 hp
TransmissionAutomatic (S8)
DrivetrainAll-Wheel Drive
PERFORMANCE
MPG city23
MPG highway31
MPG combined26 · 9.0 L/100 km
CO₂337 g/mile · 209 g/km
DIMENSIONS
Length195.3 in · 4960 mm
Width73.6 in · 1870 mm
Height57.9 in · 1470 mm
Wheelbase117.3 in · 2980 mm
WEIGHTS & CAPACITIES
Curb weight3847 lb · 1745 kg

Sources: Fuel economy, engine, transmission and drivetrain — U.S. EPA, fueleconomy.gov; Power — EPA certification test data; Dimensions and curb weight — Transport Canada vehicle specifications, published through NHTSA vPIC. Figures are for the U.S.-market version and can differ by configuration and production date.