Most people read a trouble code and stop there. Fuel trims are the numbers that tell you what is happening before a code sets, and they narrow down a fault faster than almost anything else available on a generic OBD-II adapter.
What a fuel trim actually is
The engine computer calculates how much fuel to inject based on how much air it thinks is coming in. Then it reads the oxygen sensor in the exhaust to see whether it got it right, and corrects.
That correction is the fuel trim, and it is reported as a percentage. Zero means the computer is injecting exactly what its calculation called for. A positive number means it is adding fuel because the exhaust came back lean. A negative number means it is taking fuel away because the exhaust came back rich.
There are two of them, and the difference matters.
Short term fuel trim is the immediate correction. It moves constantly, several times a second, and it will swing around as you drive. Watching it jump about is normal and means the system is working.
Long term fuel trim is the learned average. When the computer notices that short term is consistently having to add fuel, it moves that correction into long term memory so it starts from a better guess. Long term trim is the number that tells you about a persistent problem.
What counts as normal
At idle, with a warm engine and no load, both trims within roughly five percent of zero is healthy. Up to about ten percent is common on an older engine and is not on its own a fault.
Past about ten percent, something is genuinely off. Past about twenty five percent, the computer is close to running out of correction range, and that is the point where P0171 or P0172 gets set.
The trims you want are the ones with the engine warm and in closed loop. Cold, the computer ignores the oxygen sensor entirely and runs a preset table, so the trims mean nothing.
The pattern is the diagnosis
A single reading tells you less than a comparison. Take the trims at idle, then hold about 2500 rpm and take them again.
High at idle, normal at 2500 rpm. This is the classic vacuum leak signature. A leak is a fixed size hole, so at idle it is a large fraction of the total air entering the engine and the computer has to correct hard. At higher rpm the engine is pulling far more air and the same hole becomes a small fraction of it, so the correction shrinks. If you see this, go looking for cracked intake hoses, a failed PCV line, or an intake manifold gasket.
High at both idle and 2500 rpm. The correction is not load dependent, so it is not a fixed leak. This points at something that scales: a mass air flow sensor under reporting across the range, low fuel pressure, or restricted injectors.
Negative at both. The computer is pulling fuel out, so something is adding it or the air measurement is reading high. Leaking injectors, high fuel pressure, or a contaminated mass air flow sensor over reporting.
Different between bank 1 and bank 2. On a V engine, this is the fastest split available. The two banks share the air filter, the mass air flow sensor, the throttle body and the whole fuel supply. A difference between them means the cause is past the point where the intake splits, or in one bank’s injectors or exhaust. Trims that are high and similar on both banks means the cause is in what they share.
Why this is worth doing before you buy a part
The lean codes, P0171 and P0174, do not tell you what is lean. They tell you the computer ran out of room to correct. Fuel trims show you the correction while it is still happening, which means you can catch a developing vacuum leak or a dirtying mass air flow sensor before the light ever comes on, and you can tell which of the two it is without removing anything.
It also works in the other direction. If you have replaced a part and the trims have not moved, you have not fixed the problem, and you know that within one drive rather than after waiting for the light to come back.