BMW 540i xDrive Sedan
28 MPG The 2027 BMW 540i xDrive Sedan is EPA-rated at 28 MPG combined (26 city / 32 highway). Over 15,000 miles a year that is about 536 gallons, $1714 a year in fuel, or $0.114 per mile at $3.20/gal.
Across its full 2022–2027 run it averages 27 MPG, improving by 3 MPG over 6 model years.
Running cost at different fuel prices and mileages
The figure everyone actually wants, and the one the EPA does not publish — because it depends on a fuel price no agency will commit to.
| Fuel price | Per mile | 10,000 mi/yr | 15,000 mi/yr | 20,000 mi/yr |
|---|---|---|---|---|
| $2.50/gal | $0.089 | $893 | $1339 | $1786 |
| $3.00/gal | $0.107 | $1071 | $1607 | $2143 |
| $3.20/gal | $0.114 | $1143 | $1714 | $2286 |
| $3.50/gal | $0.125 | $1250 | $1875 | $2500 |
| $4.00/gal | $0.143 | $1429 | $2143 | $2857 |
| $4.50/gal | $0.161 | $1607 | $2411 | $3214 |
| $5.00/gal | $0.179 | $1786 | $2679 | $3571 |
Every model year
| Year | Combined | City | Highway | EPA fuel cost/yr | CO₂ g/mi | Trims |
|---|---|---|---|---|---|---|
| 2027 | 28 MPG | 26 | 32 | $2750 | 310 | 1 |
| 2026 | 28 MPG | 26 | 32 | $2750 | 308 | 1 |
| 2025 | 28 MPG | 26 | 33 | $2750 | 307 | 1 |
| 2024 | 28 MPG | 26 | 33 | $2750 | 307 | 1 |
| 2023 | 25 MPG | 22 | 29 | $3100 | 352 | 1 |
| 2022 | 25 MPG | 22 | 29 | $3100 | 352 | 1 |
Where a model year offered several engines or drivetrains, the figure is the average across all EPA-tested trims that year — the trim count is shown so you can see how much averaging is involved.
How it compares in its class
Among the 261 midsize cars models tracked here, the BMW 540i xDrive Sedan ranks 61 on current figures, against a class average of 27.2 MPG.
Closest more-efficient alternatives in the same class: Mazda 3 5-Door 2WD (28.5), Audi A5 Sportback quattro (29), Buick LaCrosse eAssist (29), MINI Cooper SE Countryman All4 (29), Nissan Altima SR (29).
Tailpipe CO₂ is rated at 310 grams per mile, which works out to roughly 4.7 tonnes a year at 15,000 miles.
Questions
What MPG does the BMW 540i xDrive Sedan get?
The 2027 BMW 540i xDrive Sedan is rated at 28 MPG combined by the EPA — 26 city and 32 highway. Across all 6 model years in the database it averages 27 MPG, ranging from 25 to 28 depending on year and trim.
How much does a BMW 540i xDrive Sedan cost in fuel per year?
At 28 MPG and 15,000 miles a year, it burns about 536 gallons — roughly $1714 a year with fuel at $3.20 a gallon, or $0.114 per mile. The EPA's own published annual figure for the 2027 model is $2750.
Has the BMW 540i xDrive Sedan become more efficient over time?
Yes. It has gone from 25 MPG in 2022 to 28 in 2027 — an improvement of 3 MPG, or 12% across 6 model years.
Is the BMW 540i xDrive Sedan efficient for its class?
It ranks 61 of 261 in the Midsize Cars class on current figures, against a class average of 27.2 MPG. That is 0.8 better than typical for the class.
EPA test figures from fueleconomy.gov. Cost per mile and annual fuel spend are computed at a reference price of $3.20 per gallon — use your own price. Estimates based on official test figures and average fuel prices. Real-world consumption varies with driving style, load, terrain and maintenance.