Understanding the BMW B58 and Mercedes-AMG M133 Engines

The BMW B58 3.0‑liter inline‑six has earned a reputation as one of the most capable modern turbocharged engines. With its closed‑deck block, high‑pressure direct injection, and twin‑scroll turbocharger, the B58 delivers strong stock power while leaving substantial headroom for tuning. In contrast, the Mercedes‑AMG M133 is a 2.0‑liter four‑cylinder that punches far above its displacement, thanks to a larger turbocharger, aggressive cam profiles, and a chassis‑dedicated cooling system. The M133 in its final form (M133 EVO) produced up to 421 hp in models like the A45 S and CLA45 S, while a well‑sorted B58 typically leaves the factory with 320–382 hp depending on model and year.

Matching the M133’s specific output (over 210 hp/L) with the B58 requires a systematic approach. The B58’s larger displacement gives it a torque advantage, but reaching the M133’s peak power numbers—often 400+ hp at the wheels in modified form—demands upgrades to the turbo system, fueling, and engine management. The goal is not just peak power on paper but a broad, responsive powerband suitable for both street and track driving.

Performance Goals: What It Takes to Match M133 Levels

Before diving into parts and pricing, define realistic targets. A stock B58 (e.g., 340i) makes about 320 hp at the crank. To match a stock M133 (380 hp crank) or exceed it toward the 400–420 hp range, you need gains of 80–100 hp at the wheels. Many B58s respond well to a simple ECU flash and bolt‑ons, but the top‑end will plateau without a turbo upgrade and supporting mods. Expect that a 100+ wheel‑horsepower gain over stock will cost at least $5,000–$6,000 in parts alone.

Typical performance targets for B58-to‑M133 parity
MetricStock B58 (340i)Stock M133 (A45)B58 Target
Crank Horsepower320–355381390–420
Wheel Horsepower (approx)270–300320–340340–370
Torque (lb‑ft)330–369350–369380–430

Cost Breakdown of Core Upgrades

The following section covers each major upgrade category, typical price ranges, and expected gains. Prices include parts only; labor and tuning services vary widely. Where possible, we reference reputable brands and real‑world results.

1. ECU Tuning – The Foundation

Modern B58s can be tuned via OBD II flash or bench tuning. Custom tunes from specialists like BM3, MHD, or local shops offer the best combination of safety and performance. Stage 1 files on stock hardware deliver 80–100 hp reliably. Costs range from $600 for a basic flash to $1,200 for a custom dyno tune with data logging. A Stage 1 tune is the highest‑value mod, but it will not alone reach M133 levels—it lays the foundation.

  • Cost: $600 – $1,200
  • Expected gain: 80–100 hp crank

2. Upgraded Turbocharger – The Big Jump

The stock B58 twin‑scroll turbo is efficient up to about 450 hp at the crank. Beyond that, you need a larger compressor wheel or a hybrid unit. Brands like Pure Turbos, Vargas, and Dinan offer drop‑in upgrades that support 500–600 hp. Installing a larger turbo demands charge pipe, inlet, and often fuel system changes. This is the single most expensive component but the only way to reach the 420+ hp zip code where M133 builds live.

  • Cost: $1,500 (hybrid) to $3,000+ (full frame)
  • Expected gain: 100–150 hp (with supporting mods)

3. Intercooler and Charge Air Cooling

Heat soak kills performance in both engines. The B58’s stock air‑to‑water intercooler is adequate for moderate tunes but becomes a bottleneck during sustained pulls. Upgraded units from Wagner, CSF, or Evolution Racewerks increase core volume and flow. A larger heat exchanger and auxiliary pump help maintain low intake air temps. This upgrade is about consistency, not peak numbers—expect a 20–40 hp recovery in hot conditions.

  • Cost: $800 – $1,500
  • Expected gain: 20–40 hp (under extended load)

4. Exhaust System – Letting It Breathe

A high‑flow downpipe (catless or high‑flow cat) plus a cat‑back system reduce exhaust backpressure. The downpipe alone can free 15–25 hp on a tuned B58. Full exhaust systems from Akrapovič, Remus, or AWE cost $1,500–$2,500. Do not ignore the downpipe; it is the most impactful exhaust component for performance.

  • Cost: $1,000 – $2,500 (downpipe + cat‑back)
  • Expected gain: 25–45 hp

5. Fuel System Upgrades – Feeding the Beast

Stock high‑pressure fuel pump (HPFP) and injectors support about 500 hp on E30 blends, but to safely run higher ethanol content or reach 450 whp on pump gas, an aftermarket HPFP (e.g., Radium or XDI) and larger injectors are needed. Ethanol content up to E50 also requires a flex‑fuel sensor and tuning. Fuel system upgrades are often overlooked until the engine starts running lean—they are essential for reliability at high power.

  • Cost: $500 – $1,500 (pump + injectors + flex fuel kit)
  • Expected gain: 20–40 hp (on ethanol)

6. Supporting Bolt‑Ons and Intake

An open intake system (e.g., Eventuri, MST) adds induction sound and minor gains (5–10 hp). Upgraded charge pipes and diverter valves prevent boost leaks at higher pressures. Budget $300–$600 for these items. While not huge power‑adders, they ensure the turbo upgrade delivers consistent boost.

  • Cost: $300 – $600
  • Expected gain: 5–15 hp combined

7. Engine Internals – For the Hardcore

If you plan to push beyond 550 hp (well above M133 territory), forged connecting rods and pistons become necessary. The B58’s closed‑deck block is robust, but the stock rods are a weak point over 600 hp. A full internal rebuild with forged components costs $3,000–$6,000 including labor. Most enthusiasts chasing M133 parity (400–450 hp) can skip this expense; only those aiming for 500+ hp need worry.

  • Cost: $2,000 – $6,000 (parts only)
  • Expected gain: 0 (enabling headroom for future upgrades)

Total Estimated Costs – Realistic Budgets

Based on the above, here are three common build paths. All estimates assume professional installation and tuning.

Build LevelParts CostLabor & Tuning (est)TotalTarget Power (crank)
Stage 2 (bolt‑ons + tune)$3,200$1,500$4,700400–420 hp
Stage 2+ (turbo + supporting mods)$5,800$2,500$8,300450–500 hp
Full build (internals + fuel)$10,000+$4,500$14,500+550–600 hp

For pure M133 matching (400–420 hp), a Stage 2 build with upgraded turbo and fueling is the sweet spot. That puts the total around $7,000–$9,000 including labor. Remember that a used stock M133‑powered car can be purchased for $40,000+, so building a B58 car may save money if you already own one.

Hidden Costs and Considerations

  • Cooling upgrades: Additional oil cooler, larger radiator, or upgraded water pump may be needed for track use. Add $500–$1,200.
  • Transmission and clutch: The ZF 8‑speed in most B58 cars handles 500 hp stock, but if you have a manual, a clutch upgrade is mandatory. Budget $1,000–$2,000.
  • Wheels and tires: More power demands better traction. A good set of tires costs $800–$1,500.
  • Warranty concerns: ECU tuning voids the factory powertrain warranty. Many tuners offer “flash back” options for dealer visits, but risk remains.
  • Reliability vs. power: Pushing a B58 to 450 whp on stock internals is generally safe with proper fueling and cooling, but every build should include a data log review after tuning.

Alternative: Buy a Car with the M133 vs. Build a B58

If you do not already own a B58 car, consider the total cost of ownership. A newer Mercedes‑AMG A45 or CLA45 with the M133 EVO engine can be found for $45,000–$55,000 used, offering 416 hp from the factory. Alternatively, a used B58 BMW (340i, 440i, M240i) costs $30,000–$40,000. Adding $8,000–$10,000 in upgrades to reach similar power brings the total to $38,000–$50,000. The B58 route offers more torque and a larger aftermarket, but the M133 provides a tighter, more track‑focused package from day one. Ultimately, the choice depends on whether you enjoy the build process or prefer a turnkey solution.

Conclusion – Is It Worth the Cost?

Upgrading a BMW B58 to match or exceed M133 performance is entirely feasible with a planned, sequential approach. The cost of doing so ranges from under $5,000 for a mild tune to over $14,000 for a fully built engine capable of 550+ hp. For most enthusiasts, a Stage 2 build with a hybrid turbo, fueling, and intercooler will deliver 420 crank horsepower—enough to keep pace with an M133 on the street or track—for about $7,000–$9,000. Focus on quality parts and a reputable tuner; a poorly executed build costs more in the long run. With careful budgeting and realistic expectations, the B58 can become a formidable powerplant that rivals AMG’s legendary four‑cylinder.