Lean codes that come and go, fuel trims stuck at the limit, a car that hesitates after an intake or turbo upgrade: very often the root cause is that the ECU’s estimate of cylinder air no longer matches reality. This guide explains how the ECU calculates engine load from volumetric efficiency, MAF and MAP signals, and gives a practical way to find out where the estimate goes wrong.

Air first, fuel second
A petrol ECU decides injection quantity by working out how much air each cylinder has trapped, then dividing by the air-fuel ratio it wants. If the air figure is wrong, the fuel, ignition timing and torque calculation are all wrong with it. The air figure is normally called load and is shown either as milligrams of air per stroke or as a percentage.
Two sensor strategies feed this calculation, and many engines use both:
- Air mass meter (MAF): measures the flow of air into the intake in g/s. Divided by intake strokes per second, it gives air per stroke. A model of the intake manifold corrects for the delay when the throttle moves quickly. More detail in our MAF sensor guide.
- Speed-density (MAP + temperature): calculates air density from manifold pressure and air temperature, then multiplies it by cylinder volume and a volumetric efficiency table. See our MAP sensor and speed-density guide.
Volumetric efficiency in plain terms
VE is the share of the cylinder that really fills with air compared with a perfect fill at reference pressure and temperature. It rises and falls with rpm, throttle position, cam timing, intake runner design and exhaust back pressure. That is why the ECU stores VE as a table, typically against rpm and load, and on engines with variable valve timing often against cam position as well.

Simple numbers show the scale. A 2.0 L four-cylinder has 0.5 L per cylinder. At 100 kPa and 27 °C, air weighs about 1.16 kg per cubic metre, so a perfectly filled cylinder holds about 0.58 g. At 90 % VE it traps about 0.52 g, and a stoichiometric petrol mixture needs roughly 35 mg of fuel for that charge. A 10 % error in VE or MAF reading becomes a 10 % fuelling error before closed-loop correction.
Common reasons the estimate drifts
- Unmetered air: a split hose, leaking intake gasket, faulty PCV valve or brake booster line lets air in after the MAF. The engine gets more air than the ECU measured, so it runs lean, typically worst at idle.
- Sensor error: a contaminated MAF usually under-reads; a drifting MAP or IAT sensor shifts the density calculation; a poor ground or 5 V reference offsets every reading.
- Real VE has changed: cam timing out of position, a stretched chain, a blocked catalyst or a restricted air filter change how well the cylinders fill.
- Hardware without calibration: new intake, larger MAF housing, different cams or turbo. The engine breathes differently but the tables still describe the old setup.
Step-by-step diagnosis

- Scan first. Note codes, freeze frame, short- and long-term trims at idle and at around 2,500 rpm. If trims improve as rpm rises, suspect a vacuum leak. If they are off everywhere, suspect the MAF, fuel pressure or injectors. Our fuel trim diagnostics guide covers this in depth.
- Sanity-check airflow. Expected air mass flow ≈ engine size × (rpm ÷ 120) × air density × VE. For a 2.0 L engine at 3,000 rpm full throttle that is about 52 g/s at 90 % VE. A reading far lower on a healthy engine points to the MAF or an intake restriction.
- Key on, engine off: MAP and BARO should both show local atmospheric pressure. A large difference means a sensor or wiring problem.
- Smoke test the intake tract, charge pipes and PCV system.
- Check cam timing actual versus desired in live data, and look for exhaust restriction if power is low across the range.
- Reset adaptations after the fix, road test and confirm that load, trims and MAF readings look normal.
Common mistakes
- Replacing the MAF because of a lean code when the real fault is a vacuum leak after it.
- Cleaning or changing sensors but leaving old fuel trim adaptations in place.
- Fitting intake, cam or turbo upgrades and expecting the original calibration to fuel correctly.
- Looking only at idle trims and never logging the engine under load.
Related fault codes (DTCs)
| Code | Meaning | Typical causes |
|---|---|---|
| P0068 | MAP/MAF – throttle position correlation | Intake leak after the throttle, MAF or MAP sensor error, throttle body or TPS fault, sensor wiring or reference voltage problem |
| P0101 | Mass or volume air flow sensor “A” circuit range/performance | Contaminated or drifting MAF, unmetered air leak, restricted air filter or intake, wiring or ground fault, wrong MAF scaling after hardware changes |
| P0106 | Manifold absolute pressure / barometric pressure sensor circuit range/performance | MAP sensor drift, leaking or blocked sensor hose/port, vacuum or boost leak, wiring or 5 V reference fault |
| P0171 | System too lean (bank 1) | Vacuum or intake leak, MAF reading low, low fuel pressure or restricted injectors, exhaust leak before the oxygen sensor |
| P0172 | System too rich (bank 1) | MAF reading high, leaking injectors, high fuel pressure, purge valve stuck open, sensor or air-model error |
| P0011 | “A” camshaft position – timing over-advanced or system performance (bank 1) | Low or dirty oil, sticking oil control valve, faulty phaser, timing chain stretch or incorrect timing, wiring fault |
| P0299 | Turbocharger/supercharger “A” underboost | Boost leak, wastegate or VGT actuator fault, faulty boost control valve, restricted intake or exhaust, worn turbo |
Generic OBD-II meanings shown; manufacturer-specific wording and extra codes vary, so check the service data for your vehicle.
Need an original or modified file for your ECU after hardware changes? Browse the files and file service at ECUFlashFiles.
ECU Bench Pinouts, Flashing Tools & Calibration Training Hub →
Compare OBD vs. Bench vs. Boot tools (AutoTuner, KESS3, FLEX, PCMflash, FoxFlash), wiring rules & WinOLS map training.