This 2022 BMW M340d (G20) mild hybrid 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 B57 3.0 twin-turbo mild-hybrid diesel.

Like most newer BMWs, its ECU left the factory locked, so the first job was the ECU unlock. With that done we carried on with the health check, baseline runs and live data, and built the calibration from the car’s own numbers.
On the baseline run it made 341.9bhp and 731Nm. With our calibration and xHP Stage 3 it made 412.7bhp and 867Nm, with 368.2bhp at the wheels. That is 70.8bhp and 136Nm more:
| Measurement | Stock | DC Stage 1 Custom & xHP ST3 |
|---|---|---|
| Engine power | 341.9 hp @ 4,357rpm | 412.7 hp @ 4,423rpm |
| Engine torque | 731 Nm @ 2,170rpm | 867 Nm @ 2,680rpm |
| Wheel power | 292.2 hp @ 4,089rpm | 368.2 hp @ 4,220rpm |

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 X5 M, with its 4.4 twin-turbo V8, makes 750Nm from the factory. Tuned, this M340d made 867Nm on our rollers, from its own B57.

The peak is only part of it. Tuned, this M340d holds over 800Nm from around 2,150 to 3,250rpm and over 700Nm from around 1,950 to 4,100rpm, with 100Nm or more extra torque from around 2,300rpm to the end of the run (up to 155Nm more at 2,800rpm). It stays above 400bhp from around 3,800 to 4,800rpm, with 70bhp or more extra power from around 3,800rpm 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.

This is the second G20 3 Series with the B57 in our customer builds. The 330d G20 made 332.0bhp and 734Nm; this M340d made 412.7bhp and 867Nm. Each calibration was built from the car’s own baseline on our dyno.
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 M340d or another B57? See our BMW M340d tuning page and B57 tuning page, check your car’s gains and price, or see the 330d G20 and the X5 40d mild hybrid we have tuned.
Ready 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 ›

More torque than an M4 CSL: a 2021 M340i xDrive Touring, ECU unlocked, from 382.8bhp/545Nm to a dyno-proven 469.2bhp and 711Nm on 99 RON with Stage 1 + xHP.
Read article
More torque than an X3 M Competition: a 2019 X3 M40d from 323bhp/684Nm to a dyno-proven 409.1bhp and 801Nm with Stage 1 + xHP Stage 3.
Read articleWhat xHP gearbox tuning does for your BMW's ZF8 auto, faster, firmer shifts, higher torque limits, launch control and manual mode.
Read article