513 HP Stage 2 ECU Software | BMW M240i/M340i/M440i/Z4M40i Generation 2 B58
Horsepower
Torque
Choose your installation method
Select how you would like your CarBahn software installed. Dealer installation is the fastest, easiest and most cost-effective option.
Authorized CarBahn Dealer Installation
Your authorized CarBahn dealer has the tools and experience needed to unlock your DME and install the software as part of one straightforward service visit.
- Fastest option
- Easiest installation
- Lowest overall cost
- Professional support
A DME bench unlock is required. Your dealer handles the unlock locally as part of the installation and labor process. There is no need to ship your DME overseas.
Complete Your Installation
Select any optional upgrades you would like added to your order.
Selected add-ons will be added to your cart with the software. Warranty eligibility and coverage are subject to CarBahn’s warranty terms.
Install Your Software at Home
At-home installation options are available using a CarBahn loaner tool, Bootmod3 or MHD. Call our team to confirm compatibility and determine the correct installation method for your vehicle.
A DME bench unlock is still required. Our team will explain the unlock and installation process when arranging your at-home installation.
Software installed through Bootmod3 or MHD is not eligible for the CarBahn Factory Matching Warranty Program.
Call 866-558-4314 ext. 1 to arrange an at-home installation.
Not sure which option is right for your vehicle? Call 866-558-4314 ext. 1 and our team will help you choose the best installation path.
Digital Download
- Top-Speed Governor Removed
Intelligent Octane Adaptations
SKU: CBB11-SW-0402
Vehicle Fitment & Product Details
- Type: Tuning & Software
- Vendor: CarBahn
- Make: BMW
- Model(s): M240i, M240i xDrive, M340i, M340i xDrive, M440i, M440i xDrive, Z4 M40i, X3 M40i, and X4 M40i
- Vehicle Year(s): 2021, 2022, 2023, 2024, and 2025
- Transmission(s): Automatic
- Chassis: G29, G22, G20, and G42
- Body Style(s): Coupe, Sedan, and Convertible
- Drivetrain(s): xDrive and RWD
- Part Number: CBB11-SW-0402
- Fits Engines: B58
- Installation: Dealer Install Only

Unlock the full potential of the Gen 2 B58 with CarBahn Stage 2 ECU Software. Developed through extensive dyno testing, the calibration optimizes boost, ignition timing, fueling, and torque delivery to produce significantly more power while maintaining the smooth, predictable drivability expected from a BMW.
On 93 octane, Stage 2 delivers an additional 74 horsepower and 73 lb-ft of torque at the flywheel. With 100-octane fuel, output climbs to an estimated 513 horsepower and 570 lb-ft of torque—gains of nearly 100 horsepower and 100 lb-ft over stock.
The result is stronger acceleration throughout the rev range, sharper throttle response, and substantial midrange torque without sacrificing everyday refinement.
Performance Results
| Fuel | Configuration | Flywheel Power | Wheel Power |
|---|---|---|---|
| — | OEM Stock | 415 HP / 473 lb-ft | 341 HP / 388 lb-ft |
| 93 Octane | Stage 2 | 489 HP / 546 lb-ft | 401 HP / 448 lb-ft |
| 100 Octane | Stage 2 | 513 HP / 570 lb-ft | 421 HP / 468 lb-ft |
Gains Over Stock
- 93 octane: +74 HP and +73 lb-ft at the flywheel
- 93 octane: +60 WHP and +60 lb-ft at the wheels
- 100 octane: +98 HP and +97 lb-ft at the flywheel
- 100 octane: +80 WHP and +80 lb-ft at the wheels
- Improved throttle response and midrange acceleration
- Smooth, factory-like power delivery
- Calibrations available for up to 100-octane fuel
Power figures represent CarBahn test results under controlled conditions. Actual output may vary depending on vehicle condition, fuel quality, installed hardware, environmental conditions, and dyno type.
Vehicle Description
| Make | Year | Model | Body Style |
|---|---|---|---|
| BMW | 2022 | M240i | Coupe |
| BMW | 2023 | M240i | Coupe |
| BMW | 2024 | M240i | Coupe |
| BMW | 2021 | M240i xDrive | Coupe |
| BMW | 2022 | M240i xDrive | Coupe |
| BMW | 2023 | M240i xDrive | Coupe |
| BMW | 2024 | M240i xDrive | Coupe |
| BMW | 2021 | M340i | Sedan |
| BMW | 2022 | M340i | Sedan |
| BMW | 2023 | M340i | Sedan |
| BMW | 2024 | M340i | Sedan |
| BMW | 2021 | M340i xDrive | Sedan |
| BMW | 2022 | M340i xDrive | Sedan |
| BMW | 2023 | M340i xDrive | Sedan |
| BMW | 2024 | M340i xDrive | Sedan |
| BMW | 2021 | M440i | Convertible |
| BMW | 2021 | M440i | Coupe |
| BMW | 2022 | M440i | Convertible |
| BMW | 2022 | M440i | Coupe |
| BMW | 2023 | M440i | Convertible |
| BMW | 2023 | M440i | Coupe |
| BMW | 2023 | M440i | Gran Coupe |
| BMW | 2024 | M440i | Convertible |
| BMW | 2024 | M440i | Convertible |
| BMW | 2024 | M440i | Coupe |
| BMW | 2024 | M440i | Coupe |
| BMW | 2024 | M440i | Gran Coupe |
| BMW | 2024 | M440i | Gran Coupe |
| BMW | 2021 | M440i xDrive | Convertible |
| BMW | 2021 | M440i xDrive | Coupe |
| BMW | 2022 | M440i xDrive | Convertible |
| BMW | 2022 | M440i xDrive | Coupe |
| BMW | 2022 | M440i xDrive | Gran Coupe |
| BMW | 2023 | M440i xDrive | Convertible |
| BMW | 2023 | M440i xDrive | Coupe |
| BMW | 2023 | M440i xDrive | Gran Coupe |
| BMW | 2024 | M440i xDrive | Convertible |
| BMW | 2024 | M440i xDrive | Convertible |
| BMW | 2024 | M440i xDrive | Coupe |
| BMW | 2024 | M440i xDrive | Coupe |
| BMW | 2024 | M440i xDrive | Gran Coupe |
| BMW | 2024 | M440i xDrive | Gran Coupe |
| BMW | 2021 | Z4 M40i | Coupe |
| BMW | 2022 | Z4 M40i | Coupe |
| BMW | 2023 | Z4 M40i | Coupe |

