How do I compensate a 2.0 → 2.5 gasoline displacement swap on a DENSO ECU?

A 2.0 → 2.5 displacement swap on a DENSO ECU requires two separate scalings, not one. Scale MAF down 15-20% (not 25%) to prevent “too extensive flow” error codes without overcompensating EGR recirculation. Scale MAP-driven fueling up exactly 25% via either injector calibration or the conversion map. The most common mistake — scaling MAF by 25% alone — breaks EGR behavior without fixing fueling at all.

Here’s why the two sensors do different jobs and how to scale each one correctly.


The question — from Q&A #1

Bartosz asked during our first live Q&A:

“How do you compensate in the ECU for a change in engine displacement — for example, swapping gasoline engine from 2.0 to 2.5 with a DENSO ECU? How should the air be set correctly? Is it enough to scale the MAF sensor by one-fourth and adjust the rest with the load map?”

His proposed method — scale MAF by ¼ (25%) — is the intuitive answer, and it’s wrong. The reason comes down to a critical distinction most tuners miss.


Why MAF is not for fueling

MAF is for recirculation of exhaust gases. MAP is for controlling the fueling. And MAP has no idea that you’ve changed the engine (00:49:47).

Two sensors, two completely different jobs:

Sensor What it measures Used for On 2.0 → 2.5 swap
MAF (Mass Air Flow) Air flow when EGR is working EGR recirculation Sees +25% flow → throws error
MAP (Manifold Absolute Pressure) Manifold pressure × RPM Fueling calculation Same pressure reading → doesn’t know engine changed

The fuel calculation pipeline uses MAP × RPM to determine air mass per cycle. The ECU has no direct readout of displacement — it infers it from pressure and rotation. When you swap a 2.0 for a 2.5 but keep the same ECU, MAP shows the same reading at the same throttle position. The system is running on incorrect displacement assumption → injection time stays calibrated for 2.0L → fueling is 25% too lean on the 2.5L engine.


The correct three-part fix

Part 1 — MAF: scale down 15-20%, not 25%

The MAF sensor monitors flow through the EGR path. On a 2.5L engine, the same intake produces 25% more flow than the ECU expects for 2.0L → the system detects “too extensive flow” and throws an error code.

Compensate something like 20% or 15% and it will be enough — no “too extensive flow” error (00:49:55).

Why not the full 25%? Because MAF influences EGR recirculation volume. If you scale it down to full 25%, you’re telling the ECU “there’s less exhaust being recirculated than actually is” → EGR valve opens more than needed → combustion behavior changes in ways you didn’t intend.

Safe range: 15-20%. Enough to kill the flow error, not enough to distort EGR logic.

Part 2 — Fueling: scale up exactly 25%

Unlike MAF, fueling needs exact compensation. Your 2.5L engine needs 25% more fuel per cycle at the same MAP reading. Two methods:

Method A (easier) — change injector calibration

Tell the ECU the injector is 25% smaller than it actually is. The ECU responds by extending injection time proportionally → same physical fuel, but injection duration increased by exactly 25%. One parameter change, propagates through all fueling maps automatically.

Method B — modify conversion map

Change the mass-air-per-cycle → mg fuel conversion to be 25% larger. Same end result, but touches the fuel calculation directly rather than going through the injector model.

These are the two typical methods of compensating the fueling. You can also replace the injectors — but remember, MAF is another thing (00:49:28).

Part 3 — Load map: follows automatically

Once MAP-based fueling is scaled correctly in Part 2, the load map calculations downstream compensate automatically. You don’t need a separate load map touch.

Bartosz’s original proposal — “scale MAF by ¼ + adjust rest with load map” — fails because:

  1. MAF at 25% is too aggressive for EGR
  2. Load map doesn’t drive fueling; it’s a downstream derivation of MAP readings
  3. The actual fueling channel (MAP → injection time) never got touched

Quick-reference formula

For any displacement swap on DENSO (and most gasoline ECUs with MAF + MAP):

displacement ratio = new / old
  (2.5 / 2.0 = 1.25, or +25%)

MAF scaling:   -15% to -20%  (not -25%)
Fueling scaling: +25% exact  (via injector cal OR conversion map)
Load map:     no direct touch  (follows fueling)

This pattern applies to most swaps where you’re increasing displacement but keeping the ECU. The critical ratio adjustments scale with the percentage — a 1.6 → 2.0 swap (25%) uses the same math as 2.0 → 2.5.


Related on Tuners Guild

  • Gasoline MED17 torque structure walkthrough: Chip Tuning Gasoline — Practice course (22 chapters, covers MED17, SIMOS, DENSO pipelines)
  • Related pattern — synchronous monitoring maps: see also KB-08: EDC17C46 driver wish no-start — the “two sensors, two jobs” concept reappears as a pillar theme across Q&A #1. KB-11 (MED17 torque conversion path) covers the gasoline-side mirror of this pattern and lands on the forum later this week.
  • Course pricing and bundles: See pricing →

Want the full gasoline workflow?

The DENSO displacement swap is one example of a broader pattern: every modern ECU has a MAF path (EGR) separate from the MAP path (fueling). Understanding which channel drives which decision is chapter 3 of our Chip Tuning Gasoline Practice course. The same distinction applies to SIMOS, MED17, Siemens SID, and most hybrid diesel-gasoline architectures.

See the Chip Tuning Gasoline course →


Your turn

Has anyone here done a displacement swap on a non-DENSO gasoline ECU — MED17, SIMOS 18, Siemens SID, Continental? Post your case:

  1. Original + swap displacement (e.g., 1.6 → 2.0)
  2. ECU and software version
  3. MAF scaling value that worked (or threw errors)
  4. Fueling method — injector cal vs conversion map vs both

The more ECU families we document, the cleaner this workflow becomes for the next tuner walking into the same swap.