This 2021 BMW M340i xDrive (G20) came in for an ECU unlock, our Stage 1 custom dyno tune and xHP Stage 3 for its ZF 8-speed automatic, all on the same visit. It runs BMW’s B58 3.0 turbo petrol.

Like most newer BMWs, its ECU left the factory locked, so we unlocked it in-house before carrying on with baseline runs and live data. The car runs on 99 RON fuel, so the calibration was built and proven on it.
On the baseline run it made 374.9bhp and 533Nm. With our calibration and xHP Stage 3 it made 464.7bhp and 735Nm, with 390.8bhp at the wheels. That is 89.8bhp and 202Nm more:
| Measurement | Stock | DC Stage 1 Custom & xHP ST3 |
|---|---|---|
| Engine power | 374.9 hp @ 5,810rpm | 464.7 hp @ 5,815rpm |
| Engine torque | 533 Nm @ 2,444rpm | 735 Nm @ 2,661rpm |
| Wheel power | 295.5 hp @ 5,147rpm | 390.8 hp @ 5,815rpm |

This is the final pull on our dyno, filmed from behind the car, from the start of the run right through to the end. Tap Sound on to hear it.
BMW’s own M4 Competition makes 650Nm. Tuned, this M340i made 735Nm on our rollers, from its own B58. It also beat the 420bhp and 600Nm we quote for an M340i at Stage 1 in our 3 Series tuning figures.

The peak is only part of it. Tuned, this M340i holds over 700Nm from around 2,500 to 4,050rpm, over 650Nm from around 2,400 to 4,700rpm and over 600Nm from around 2,300 to 5,200rpm, with 150Nm or more extra torque from around 2,450 to 4,700rpm and 80bhp or more extra power from around 2,800rpm right to the top of the stock run. It stays above 400bhp from around 4,050rpm to the end of the run. In normal driving that is the part you feel: it pulls harder through the mid-range and keeps pulling to the top.
xHP Stage 3 was flashed into the ZF 8-speed on the same visit. It removes the factory torque limiter and raises line pressure for the extra torque, with quicker shifts in D and harder, faster shifts in Sport and Sport+, so the engine and gearbox are calibrated as one package instead of two separate jobs.

Diagnostics and a health check first, then the ECU unlock, then baseline runs on our 4WD linked dyno with live data logging. The engine calibration was built from there with repeated runs, the gearbox was flashed with xHP Stage 3, and the final pulls verified the result. No generic files: a calibration written for this car, proven on our dyno.

Got an M340i or another B58? See our BMW 3 Series tuning figures and BMW B58 tuning page, check your car’s gains and price, or see the M240i G42 and the M140i we have tuned.

More torque than a G87 M2: a 2022 M240i, ECU unlocked in-house, from 381bhp/555Nm to a dyno-proven 418.3bhp and 629Nm.
Read article
More torque than a G87 M2: an M140i from 348bhp/541Nm to a dyno-proven 439.1bhp and 632Nm, engine and gearbox tuned together.
Read articleWhat xHP gearbox tuning does for your BMW's ZF8 auto, faster, firmer shifts, higher torque limits, launch control and manual mode.
Read articleReady When You Are
Specialist BMW & VAG tuning, dyno-proven in Warrington. Check your exact gains and price, then book online.
See Your Car’s Gains & Price Book Your RemapCar not listed, or after something specific? Get a free quote ›