whatsapp logo
Technical Article

Short-term fuel trim explained: STFT vs LTFT

Published
Short-term fuel trim explained: STFT vs LTFT

By Sina, Senior technical specialist, CaracalTech

Short answer: Short-term fuel trim (STFT) is the percentage correction the ECU applies to its base fuel calculation to hold the target air-fuel ratio, reacting within seconds to the oxygen sensor. Long-term fuel trim (LTFT) learns the average correction and stores it. Positive values mean the ECU is adding fuel because the sensor reads lean; negative values mean it is removing fuel.

Key facts

  • OBD-II reports short-term and long-term fuel trim on PIDs 0x06 and 0x07 (bank 1) and 0x08 and 0x09 (bank 2), scaled from −100% to +99.2% [4].
  • Tool makers treat about ±10% as normal: Ross-Tech for learned trims on VAG engines [5], Hondata for short-term fuel trim [6].
  • Bosch's adaptation strategy separates additive errors (unmetered air, strongest at idle) from multiplicative errors (strongest at higher load) [8][9].
  • Clearing fault codes resets learned trims on many ECUs, so read them only after a relearn drive [5].
  • On a Stage 2 VW Golf 2.0 TSI (Continental Simos 18.1) logged by CaracalTech, short-term fuel trim averaged +6.3% at full throttle (peak +13.3%) to hold a lambda target of 0.83–0.85, and long-term fuel trim read 0.0%.

What is fuel trim?

Fuel trim is the correction the ECU adds to, or removes from, its calculated fuel quantity so the mixture matches the target lambda (see AFR vs lambda for a refresher). California's OBD II regulation defines it as feedback adjustments to the base fuel schedule, the calibration programmed into the ECU before any learned correction [3]. For a tuner, that base schedule is the data in the file you read, so fuel trim is the ECU's own report on how far the real engine has moved away from the file.

The regulation splits fuel trim into short-term trim, for instantaneous adjustments, and long-term trim, for much more gradual ones [3].

Table 1. Short-term vs long-term fuel trim.

PropertyShort-term fuel trim (STFT)Long-term fuel trim (LTFT)
SpeedFollows each swing of the upstream oxygen sensor; changes within secondsChanges gradually as the ECU averages the short-term correction
Stored?No; not saved between drives [7]Yes; kept in memory until reset
CorrectsMomentary deviations: transients, purge vapour, sensor switchingPersistent deviations: air leaks, sensor drift, injector or fuel-pressure changes, fuel quality
ActiveClosed loop only [6]Learned in closed loop; on some ECUs also applied in open loop [12]
Reset byLeaving closed loop; restarts from neutralClearing fault codes or an adaptation reset [5]

On many ECUs, when short-term trim sits at about +10% for long enough, that correction moves into long-term trim and short-term trim returns to about 0%. Not every ECU works this way; some Toyota models write straight to long-term trim [13].

How does the ECU calculate fuel, and where do trims fit?

A modern petrol ECU calculates fuel in layers (see petrol tuning fundamentals). A fast feedforward calculation predicts the fuel from measured air; a slower feedback loop, delayed by the time exhaust takes to reach the sensor, corrects it for steady-state accuracy [10]. The chain has four steps:

  1. Base fuel. Air mass per cylinder (from a MAF or MAP sensor) becomes a fuel mass for the target lambda, then an injector opening time. Bosch ME7 does this with the injector constant KRKTE, a non-linearity map FKKVS and a battery-voltage term TVUB [2].
  2. Lambda control (short-term trim). The upstream sensor compares the exhaust with the target and the controller trims the injection time.
  3. Adaptation (long-term trim). The ECU averages the controller output and stores it for each operating range.
  4. Post-catalyst correction. The downstream sensor adds a small offset. In ME7 it is superimposed on the upstream loop (module LRSHK 9.20) [2]; Gears Magazine puts its normal contribution at about 2% [11].

Bosch designed the ME7 basic calibration to target lambda 1.0 in all operating conditions [1], and its function description states that, with an ideal fuel system, base injection time gives lambda 1.0 with all mixture adaptations at neutral [2]. Everything the trims do is the ECU making up the difference between that ideal and the real engine.

Short-term fuel trim explained: STFT vs LTFT

Additive vs multiplicative adaptation

Bosch splits the learned correction into two types because errors behave differently with load. Bosch patents describe additive errors appearing mainly at idle and light load, often from leakage air the air-flow meter does not register, and multiplicative errors mainly at higher load [8][9]. Ross-Tech describes the VAG version: the additive value shifts injection time by a fixed amount, the multiplicative value by a percentage [5].

Table 2. Additive vs multiplicative mixture adaptation (Bosch strategy).

TypeHow it correctsLearned atTypical causes
AdditiveAdds or removes a fixed injection timeIdle and low loadUnmetered air after the MAF; error in the injector opening-delay term
MultiplicativeScales injection time by a factorMid to high loadMAF scaling error, injector flow error, fuel-pressure deviation

As an engineering explanation, the battery-voltage term is itself a fixed time offset, so an error in it appears in the additive value, while an injector-constant error scales every injection and appears in the multiplicative value.

A simple calculation shows why the split matters. If a leak needs an extra 0.2 ms at every injection, that is +10% on a 2.0 ms idle pulse but only +2.5% on an 8.0 ms cruise pulse. The numbers are illustrative, not measured, but they show why a vacuum leak is obvious at idle and fades with load.

What do positive and negative fuel trims mean?

The sign shows which way the ECU is correcting: what it did about the sensor reading, not the actual mixture.

Positive fuel trim: the ECU is adding fuel

The upstream sensor reads leaner than the target, so the ECU lengthens the injector opening time. Short-term trim at +4% with long-term trim at +6% means roughly 10% more fuel than the base schedule. The usual causes are air the ECU did not measure, or less fuel than it commanded.

Negative fuel trim: the ECU is removing fuel

The sensor reads richer than the target, so the ECU shortens the injector opening time. The usual causes are more fuel than commanded (a leaking injector, high fuel pressure, canister purge vapour) or less air than the ECU believes it measured.

When the sensor reading is wrong, the trim is wrong. Bosch notes that intake leaks, exhaust leaks upstream of the sensor, wrong fuel pressure and blocked injectors can all set lambda and mixture-adaptation codes [15]. An exhaust leak before the sensor is the classic trap: the sensor reads lean, the ECU adds fuel, and the engine actually runs rich. Some European cars also show lambda instead of trim in manufacturer mode, where below 1.00 means rich, the reverse of the trim sign [13].

What is a normal fuel trim range?

There is no universal limit. Each manufacturer sets its own adaptation limits and fault thresholds, which are in its service information. Tool makers publish a working band:

  • Ross-Tech: normal learned trims on VAG engines sit near ±10% [5].
  • Hondata: short-term trim should normally stay between −10% and +10%; if not, the part-throttle fuel maps need tuning. Hondata also notes that short-term trim often spikes high on overrun while shifting [6].
  • Gears Magazine: total fuel trim is the sum of short-term, long-term and rear trim, and it is the total that the ECU applies to the base injector pulse [11].

Our working rule, built on those figures: add short-term and long-term trim and judge the total at idle, 2,500 rpm and steady cruise. A total within about ±10% is a reasonable pass mark; outside it, find the cause before a remap. Exactly 0.0% on every trim usually means the trims were just reset or the system is in open loop [5]. A persistent fault sets codes such as P0171 or P0172 (bank 1 too lean or too rich) and P0174 or P0175 (bank 2). Treat these figures as diagnostic rules of thumb, not OEM limits.

How do you read short-term fuel trim with an OBD2 scanner or logger?

Any generic OBD2 scanner can read fuel trims, because SAE J1979 defines them as standard parameters (PIDs) [4].

Table 3. Standard OBD-II fuel trim PIDs (SAE J1979).

PIDValueTypical label
0x03Fuel system status (open or closed loop)Fuel system status
0x06Short-term fuel trim, bank 1STFT B1
0x07Long-term fuel trim, bank 1LTFT B1
0x08Short-term fuel trim, bank 2STFT B2
0x09Long-term fuel trim, bank 2LTFT B2

Bank 1 is the cylinder bank that contains cylinder 1; bank 2 is the other side of a V or flat engine. An inline four has one bank, so STFT B1 is its only short-term trim.

Read trims with the engine fully warm and the fuel system in closed loop. Check at idle, 1,500 rpm and 2,500 rpm, then at several steady loads on the road [16]. Long-term trim is stored in load cells, so drive through the load range; idle readings alone are not enough [11].

Table 4. A pre-remap fuel trim log.

Operating pointHow to hold itWhat it tells you
Warm idleClosed loop confirmedAdditive errors such as leaks show most here
1,500 and 2,500 rpm, no loadHold until short-term trim settlesA leak fades with rpm; a delivery or MAF error stays
Steady cruiseFixed gear and speedThe multiplicative (part-load) region
Gentle drive through the load rangeLight acceleration in one gearFills in the long-term trim load cells

At each point, log trims per bank, MAF in g/s or MAP, engine load and fuel system status; a logger makes this far easier than a scanner screen (see what an ECU data logger does). On many VAG engines, measuring block 032 shows the learned additive and multiplicative values [5].

What should you check before a remap?

A remap assumes the ECU's air and fuel model still matches the engine. The ME7 remapping guide makes fault-finding the first step of any tuning strategy and notes that high long-term trim is a good indicator of charge-air leaks [14]. Work through five checks:

  1. Vacuum and boost leaks. Air entering after the MAF is unmetered and drives the trim positive, most clearly at idle [8]. Smoke-test the intake, pressure-test the charge-air path and check the PCV connections.
  2. MAF or MAP readings. Ross-Tech's rule of thumb for VAG engines: peak MAF in g/s on a full-throttle pull near sea level is roughly 0.8 × rated horsepower [5]. On MAP-based engines, MAP should match barometric pressure with the engine off.
  3. Injectors. Restricted injectors lean the mixture [15] and leaking ones richen it. Changed injectors need matching injector data in the file.
  4. Fuel pressure. Check supply pressure and, on direct injection, actual rail pressure against target under load [15].
  5. Exhaust leaks before the upstream sensor. They can make the sensor read lean while the engine runs rich [15]. Inspect the manifold gaskets, flex joints and turbo outlet flange.

Keep the Table 4 log with your original read. If you order a file from us, sending that log lets our engineers check the fuel trims before they build the file.

What happens to fuel trims after a remap?

At part load, trims should stay close to where they were

On stock hardware, a typical Stage 1 file on a torque-based Bosch ECU changes torque and load requests, boost, ignition and limiters (see what stage tuning means). It does not normally change the air-mass measurement or the injector data. With the part-load target still lambda 1.0, the trims should settle close to their pre-remap values.

If they move, the air or fuel model has changed, usually through hardware: a larger MAF housing needs the MAF characteristic rescaled, and new injectors need new injector data [14]. If adaptations were reset after writing the file, repeat the relearn drive before comparing.

At full load, the ECU usually runs open loop

At high load the ECU targets a mixture richer than lambda 1.0 to protect components; in ME7 this is the component-protection lambda (module LAMBTS) [14]. A narrowband sensor cannot measure a rich target, so these systems run open loop at full throttle with short-term trim inactive [11]. With a wideband upstream sensor, whether the controller stays active depends on the calibration, so check the closed-loop status in your log. On the Simos 18.1 Golf in the case study below, it stayed active at lambda 0.83.

The learned correction may still apply: EcuTek documents the Mitsubishi Evo X applying learned long-term trims in open loop [12], and a Bosch mixture-adaptation patent uses its corrections across the whole load and speed range [17]. A correction learned from a fault can therefore reach full-load fuelling, so verify full-load lambda with a wideband (see what wideband tuning is).

What fuel trims do not show

Fuel trim corrects the fuel quantity, not the load signal. As an engineering point, a MAF that reads low also lowers the load value the ECU uses to look up its ignition maps, and the trim does not correct that [14]. Trims say nothing about knock either, so log ignition corrections too, especially on lower-octane fuel.

This article does not cover removing, disabling or relocating oxygen sensors or other emissions equipment.

Case study: fuel trims on a Stage 2 VW Golf 2.0 TSI (Simos 18.1)

These logs come from a CaracalTech project car, a 2017 Volkswagen Golf Mk7 2.0 TSI, logged on its original file and on version V3 of its Stage 2 file. Both logs are full-throttle pulls on the road, so they say more about full-load fuelling than about part-load trims.

Table 5. Project car and logging set-up.

ItemDetail
VehicleVolkswagen Golf Mk7, model year 2017
Engine2.0 TSI, EA888 third generation, turbocharged petrol with direct injection [19][20]
ECUContinental Simos 18.1, part number 5G0906259L, software SC800S5000000
Original fileRead over OBD
Files loggedOriginal (stock) file; CaracalTech Stage 2 file, version V3
ChannelsLambda target and measured, short-term and long-term fuel trim, boost target and measured, rail pressure, ignition and per-cylinder ignition withdrawal, injection time, air mass and temperatures, at about 28 samples per second
ConditionsStock run: 14 °C ambient, coolant 99–103 °C. Stage 2 run: 12 °C ambient, coolant 89–92 °C

Table 6. Stock file vs Stage 2 file (V3): full-throttle values from the logs.

Logged valueStock fileStage 2 file (V3)
Lambda target0.94–1.00 (mostly 0.99)0.83–0.85
Lambda measured0.96–1.030.80–0.86 under steady load
Short-term fuel trim0 to +6.3% (mean +3.6%)0 to +13.3% (mean +6.3%)
Long-term fuel trim0.0% in every sample0.0% in every sample
Boost, absolute: target / measured peak2,389 / 2,367 mbar2,633 / 2,668 mbar
Engine torque limit in the ECU (peak)398 Nm598 Nm
ECU-calculated engine torque (peak)370 Nm at 3,354 rpm401 Nm at 3,799 rpm
Peak air mass777 kg/h878 kg/h
Peak injection time5.5 ms7.4 ms
Rail pressure above 5,500 rpm194–204 bar (target 200 bar)190–202 bar (target 192–200 bar)
Ignition withdrawal, cylinders 1–40.0°0.0°
Intake air temperature26–36 °C30–45 °C
Highest engine speed logged6,628 rpm7,061 rpm

Torque values are the ECU's own calculation, not a dyno measurement, and a remap can change the torque model, so they are not a measured gain. Steady-load figures exclude a short torque intervention in first gear on the Stage 2 run, where the ECU cut torque mid-pull.

Long-term trim had nothing to say. Long-term fuel trim read 0.0% in every sample of both logs. The learned values had either been reset when the files were written or had not yet been relearned, so all of the correction sat in short-term trim. This is the reset case described earlier: before judging this car's long-term trim, it needs a relearn drive through idle, cruise and light load.

The lambda controller stayed active at full load. On the Stage 2 file the ECU asked for lambda 0.83–0.85 at full throttle, and under steady load the measured lambda averaged 0.84 against a 0.83 target. Short-term trim kept moving while it did so, so on this Simos 18.1 calibration enrichment did not switch the controller off: the wideband sensor let it correct towards the rich target.

Lambda looked right; the trim showed the work behind it. Because the controller held the target, a lambda-only check would pass this file. Under steady load, short-term trim averaged about +7% (range +4% to +9%) on the Stage 2 file, against about +3.5% (range 0 to +6%) on the stock file, with a +13.3% peak at 5,543 rpm. In other words, the base fuel calculation came out a few percent lean at Stage 2 airflow and the controller made up the difference. EA888 third-generation engines can carry port injectors as well as direct injectors depending on version [19]; on this car the logger's port-injection time read 0.0 ms throughout, so in these pulls all the fuel came from the direct injectors, and peak injection time rose from 5.5 ms to 7.4 ms. As an engineering judgement, a correction of this size is a reason to refine the fuel calibration so the trim sits closer to zero, rather than relying on the sensor and controller to hold the target.

The other checks were clean. No ignition withdrawal was logged on any cylinder with either file, and rail pressure tracked its target at high rpm (Table 6). The intake air was warmer on the Stage 2 run (up to 45 °C against 36 °C), so the two pulls are not a perfect like-for-like comparison.

What do common fuel trim patterns point to?

Table 7. Fuel trim pattern and likely cause (warm engine, closed loop).

PatternLikely causeFirst check
High positive at idle, falling as rpm and load riseUnmetered air after the MAF (additive error) [8]Smoke-test the intake; PCV and intake gaskets
Positive at all loads, similar or rising with loadFuel delivery shortfall or MAF reading low (multiplicative error) [5][15]Fuel pressure vs target; MAF g/s vs expected
Positive mainly under boostCharge-air leak after the MAF [14]Pressure-test the charge-air path
Negative at all loadsLeaking injector, high fuel pressure or MAF reading highInjector leak test, fuel pressure, MAF
Negative mainly at idle while canister purge is activeFuel vapour from the purge system [18]Check the purge valve closes when commanded
One bank positive, the other normalFault on that bank: intake leak, injector, or exhaust leak before its sensorCompare the banks; inspect that side

Frequently asked questions

What does STFT B1 mean?

STFT B1 is short-term fuel trim for bank 1, the bank that contains cylinder 1. It is the fast, unsaved correction the ECU makes from that bank's upstream oxygen sensor, reported on OBD-II PID 0x06. On most four-cylinder engines it is the only short-term trim.

Is +10% long-term fuel trim bad?

It is at the edge of the roughly ±10% band that tool makers such as Ross-Tech treat as normal. If it is high only at idle, suspect unmetered air; if it stays high as load rises, check fuel delivery and the MAF before tuning.

Do fuel trims reset after clearing codes or flashing a new file?

On many ECUs, clearing fault codes resets the learned trims, and adaptations may also have been reset when the file was written. Drive through idle, cruise and light load before comparing. Exactly 0.0% on every trim usually means a reset, or that fuel control is not working.

Do fuel trims work at wide-open throttle?

It depends on the sensor and the calibration. Narrowband systems run open loop at full throttle with short-term trim inactive, although some ECUs still apply the learned long-term correction. On the Simos 18.1 Golf in our case study, short-term trim kept correcting at lambda 0.83. Either way, check full-load lambda with a wideband.

What to do next

If your fuel trims sit inside the normal band at idle, cruise and light load, you are ready to tune: build the file yourself, or let our engineers build it from your original read.

1. Get an engineer-built file from your original read
For owners and workshops who want a Stage file without editing maps: send your original read with a short fuel trim log, and our engineers check the trims before building your file.
Order my tuning file →

2. Learn fuel and lambda control maps yourself
For tuners who want to understand the fuel path, lambda control and adaptation inside the file: Start the WinOLS petrol course

3. Edit your own files with every fuel map named
For tuners who already edit files and want every fuel and lambda map for their ECU identified: Get the mappack for your ECU

About the author
Sina is the senior technical specialist at CaracalTech.

Changelog: November 2026 – first published.

Technical references

  1. J. Gerhardt, H. Hönninger and H. Bischof (Robert Bosch GmbH), "A New Approach to Functional and Software Structure for Engine Management Systems – Bosch ME7", SAE paper 98P-178, 1998.
  2. Bosch Motronic ME7.1 Funktionsrahmen (Audi 1.8T, 132 kW), modules RKTI 11.40 and LRSHK 9.20, English translation by Nefmoto forum member TTQS.
  3. California Code of Regulations, title 13, section 1968.2 (OBD II), definitions of "base fuel schedule" and "fuel trim": https://ww2.arb.ca.gov/sites/default/files/barcu/regact/obdii06/fro_19682.pdf
  4. OBD-II PIDs (SAE J1979, service 01), summary table: https://en.wikipedia.org/wiki/OBD-II_PIDs
  5. Ross-Tech Wiki, "Fuel Trim Info": https://wiki.ross-tech.com/wiki/index.php/Fuel_Trim_Info
  6. Hondata FlashPro help, "S.TRIM": https://hondata.com/help/flashpro/s_trim.htm
  7. Haltech knowledge base, "Short and long term fuel trim": https://support.haltech.com/portal/en/kb/articles/short-and-long-term-fuel-trim
  8. Robert Bosch GmbH, patent application EP0142011A2, "Apparatus for mixture control in a combustion engine" (priority 12 November 1983): https://patents.google.com/patent/EP0142011A2/en
  9. Robert Bosch GmbH, patent US4440131, "Regulating device for a fuel metering system": https://patents.google.com/patent/US4440131
  10. B. Ashok, S. Denis Ashok and C. Ramesh Kumar, "A review on control system architecture of a SI engine management system", Annual Reviews in Control 41 (2016) 94–118.
  11. Jerry Stewart, "Fuel trim diagnostics have changed", Gears Magazine, December 2025: https://gearsmagazine.com/magazine/fuel-trim-diagnostics-have-changed/
  12. EcuTek support, "EVO X Long Term Fuel Trim in Open Loop": https://ecutek.atlassian.net/wiki/spaces/SUPPORT/pages/91226155/EVO+X+Long+Term+Fuel+Trim+in+Open+Loop
  13. Autodata, "Fuel trims: the breakdown from Autodata": https://www.autodata-group.com/us/fuel-trims-the-breakdown-from-autodata/
  14. "Understanding ECU Remapping: The Audi TT 1.8T Variants / Bosch Motronic ME7.x" (Nefmoto technical guide), sections 5.2 and 5.5 and figure 5.2.
  15. Bosch lambda sensor diagnosis advice, reported by Autobiz, 2 February 2024: https://www.autobiz.ie/home/bosch-offers-lambda-sensor-problem-solving-tipsnbsp
  16. Larry Carley, "Fuel trim diagnosis and O2 sensor performance", Brake & Front End: https://www.brakeandfrontend.com/fuel-trim-diagnosis-and-o2-sensor-performance/
  17. Robert Bosch GmbH, patent US8903629, "Method for adapting a fuel/air mixture for an internal combustion engine": https://patents.justia.com/patent/8903629
  18. Robert Bosch GmbH, patent US5044341, "Process and device for tank-ventilation adaptation in lambda control": https://patents.google.com/patent/US5044341
  19. Audi of America, "The Audi 1.8L and 2.0L Third Generation EA888 Engines", eSelf-Study Program 920243 (2013), including the dual injection system: https://static.nhtsa.gov/odi/tsbs/2014/MC-10122162-9999.pdf
  20. EcuTek support, "VW AG EA888 Engine Tuning (Mk7)": https://ecutek.atlassian.net/wiki/spaces/SUPPORT/pages/21430325
Keywords:fuel trim-fuel trims explained-long term fuel trim-short term fuel trim-stft b1

Enjoyed the content? Add us as a preferred source to see more of it in Search.

Add as a preferred source on Google
Your Rating
Rate: 5.00 (1)
Community
Comments: