Skip to product information
1 of 2

513 HP Stage 2 ECU Software | BMW M240i/M340i/M440i/Z4M40i Generation 2 B58

Sold out
Regular price $795.00
Regular price Sale price $795.00

Horsepower

Stock: 415 HP
Tuned: 513 HP*

Torque

Stock: 473 TQ
Tuned: 570 TQ*

*Performance gains measured on 100 Octane at the CarBahn San Jose, CA Dynamometer

Choose your installation method

Select how you would like your CarBahn software installed. Dealer installation is the fastest, easiest and most cost-effective option.

Recommended

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.

Find your nearest authorized CarBahn dealer

  • Digital Download
  • Top-Speed Governor Removed
  • Intelligent Octane Adaptations
Requires a CarBahn Heat Exchanger to run this tune. Compatible with Generation 2 B58 only

SKU: CBB11-SW-0402

QUESTIONS? TALK WITH OUR TUNERS

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
View full details

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.