Fuel trim (short- and long-term)

STFTLTFTshort term fuel trimlong term fuel trimadaptive fuel trim

Fuel trim is the percentage correction an ECU applies to its base fuel calculation using oxygen-sensor feedback. Short-term trim reacts within moments to the sensor; long-term trim learns the persistent part of that correction and stores it. Positive values add fuel, negative values remove it.123

How it works

Fuel trim is reported as a percentage, with 0% meaning no correction.

A positive value means the ECU is adding fuel because the sensor sees lean; negative means it is removing fuel because the sensor sees rich. OBD-II scan tools show each bank separately.21

Short-term trim is the ECU's immediate response to oxygen-sensor switching and moves constantly. Long-term trim is a slower, learned average that shifts the base fuel so short-term trim can return near zero. Together they show how far the base calculation is from reality.Medium1

SAE J1979 defines how trims are reported over OBD-II. The data byte is scaled as (A - 128) × 100 ÷ 128, giving a range of -100% to about +99.2%. Manufacturers decide their own limits for setting lean or rich trouble codes.32

In tuning

Trims are a calibration check.

Consistent positive trims in a load and rpm region mean the base table or air estimate reads lean there; negative means rich. Correct the base calibration until trims sit near zero, rather than relying on the learned values.Medium14

Compare trims across conditions before changing tables. A lean trim mostly at idle that shrinks with load points to an air leak; lean everywhere in proportion points to fuel supply or MAF scaling. One bank differing from the other points to a bank-specific fault.Low1

Formula and worked example

trim (%) = (A - 128) × 100 / 128
trim
reported fuel trim; positive adds fuel%
A
raw OBD-II data byte, 0 to 255
32

Try it

:1
%

0 for E0 gasoline, 10 for E10, 85 for nominal E85.

Result

Lambda0.850 :1
Stoichiometric AFR of this blend14.70 :1

Planning estimate from the formula below, not a measurement.

Open the full afr to lambda converter →

Myths vs facts

Myth Fuel trims near zero mean the engine is tuned correctly everywhere.

Fact Trims only apply where closed loop is active. Heavy-load and cold operation run open loop, so trims say nothing about those areas.51

Myth Positive fuel trim means the engine is running rich.

Fact Positive trim means the ECU is adding fuel because it measured lean. The correction pulls the mixture back toward target.21

Myth Clearing codes resets the problem.

Fact Clearing codes usually resets learned long-term trims too, which can briefly hide the fault. The trims will relearn the same correction if the cause remains.Medium1

Frequently asked

What is a normal fuel trim?

Close to zero, usually within single-digit percentages either way, at steady idle and cruise. Limits that set trouble codes vary by manufacturer; one patent example uses long-term trim at or above 25% as a fault threshold. Large, consistent trims point to a fault or a calibration error.Medium21

What does positive long-term fuel trim mean?

The ECU has learned that it must add fuel to reach its target, because the oxygen sensor keeps seeing lean. Typical causes are vacuum or exhaust leaks before the sensor, low fuel pressure, restricted injectors or a MAF reading low.Medium12

What is the difference between short-term and long-term fuel trim?

Short-term trim is the fast correction that responds to each oxygen-sensor swing. Long-term trim is the learned average that shifts the base fuel so short-term trim can stay centred. Short-term moves constantly; long-term changes slowly and is stored between drives.Medium1

How do you read fuel trim on a scan tool?

Request the OBD-II short- and long-term trim values for each bank in live data. The tool converts the raw byte to a percentage using the J1979 scaling. Read trims at idle, 2,500 rpm and steady cruise, and compare the banks.32

Should I tune out fuel trims?

Yes, in the sense of correcting the base calibration so trims stay small. That keeps fueling accurate in open-loop transitions and conditions where trims do not apply. Do not simply copy learned trims into the table without checking the cause, such as a leak.Medium14

Wiring, pinouts and parts

Sources

Numbered as cited above. Hover or tap a citation chip to preview it.

  1. Fuel Trim Diagnostics Have Changed · GEARS Magazine (ATRA) · press · retrieved 2026-10-25
  2. US 7,774,130: Methods and system for determining consumption and fuel efficiency in vehicles · US Patent and Trademark Office · reference · retrieved 2026-10-25
  3. SAE J1979: E/E Diagnostic Test Modes · SAE International · standard · retrieved 2026-10-25
  4. Automotive Handbook, 10th edition (2018) · Robert Bosch GmbH / Wiley · book · retrieved 2026-10-25
  5. Internal Combustion Engine Fundamentals, 2nd edition (2018) · McGraw-Hill (John B. Heywood) · book · retrieved 2026-10-25