Table interpolation

map interpolationbilinear interpolationlookup table interpolationbreakpoint interpolation3D table interpolationECU table interpolation

Table interpolation is the method an engine computer (ECU) uses to calculate a value between the stored cells of a calibration table. Instead of jumping from one cell value to the next, the ECU blends neighboring cells in proportion to how far the current rpm and load sit between breakpoints, usually by bilinear interpolation.123

How it works

Calibration tables store values only at chosen breakpoints, such as every 500 rpm and every 10 kPa.

Real operating points rarely land exactly on a breakpoint. Lookup tables combined with interpolation give accurate in-between values while keeping the table small.24

For a one-axis curve, linear interpolation draws a straight line between two neighbors. For a two-axis map, bilinear interpolation first interpolates along one axis on two rows, then interpolates between those results along the other axis. Four cells contribute to every output.41

Interpolation smooths output but cannot capture features finer than the breakpoint spacing. A sharp torque peak or knock-limited region between two rpm breakpoints will be averaged out. Breakpoints should be closer where the engine's response changes quickly.Medium25

In tuning

Because four cells blend at every operating point, changing one cell affects the area around it.

When correcting from logs, weight each cell's change by how much time the engine spent near it, rather than writing the full correction into the nearest cell.Medium15

Place breakpoints where the engine operates and changes most: around idle, cruise loads, boost onset and torque peak. Changing breakpoints after tuning shifts every value, so set axes before detailed work.Medium52

Formula and worked example

f(x,y) = f11(1−u)(1−v) + f21·u(1−v) + f12(1−u)v + f22·uv, with u = (x−x1)/(x2−x1), v = (y−y1)/(y2−y1)
x, y
current axis values, for example rpm and load
x1, x2, y1, y2
surrounding breakpoints
f11, f21, f12, f22
table values at the four surrounding cells
u, v
fractional position between breakpoints
1

Myths vs facts

Myth The ECU uses the value of the cell the operating point is in.

Fact Most ECUs interpolate between neighboring cells. The highlighted cell in tuning software is only the nearest one; the output blends several.12

Myth More breakpoints always make a better tune.

Fact Finer tables can capture more detail but need more data to fill well, and sparsely visited cells end up noisy. Resolution should follow how quickly the engine's needs change.Medium25

Frequently asked

How does an ECU read between table cells?

It finds the breakpoints on each side of the current rpm and load, works out how far between them the operating point sits, and blends the surrounding cell values in proportion. On a two-axis table that blend uses four cells. The result changes smoothly as conditions move.12

Why does tuning one cell affect the cells around it?

Interpolation blends neighboring cells, so a single cell influences every operating point within one breakpoint of it in each direction. Raising one cell raises the output across that surrounding area by a decreasing amount. That is why corrections should be spread according to where the engine actually ran.1

How many breakpoints should a fuel table have?

Enough to follow how the engine's needs change, and no more than you can fill with good data. Many ECUs offer roughly 16 to 32 points per axis. Use closer spacing near idle, cruise and boost onset, and wider spacing where the engine's behavior changes slowly.Low25

Do all ECUs use bilinear interpolation?

Most use linear interpolation on each axis, which for a two-axis map is bilinear interpolation. Some limit values at the edges, and some use no interpolation on certain switch-like tables. The specific behavior is set by each ECU's software, so check its documentation.Medium13

Sources

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

  1. Bilinear interpolation · Wikipedia · reference · retrieved 2026-10-27
  2. Lookup table · Wikipedia · reference · retrieved 2026-10-27
  3. Engine control unit · Wikipedia · reference · retrieved 2026-10-27
  4. Linear interpolation · Wikipedia · reference · retrieved 2026-10-27
  5. Automotive Handbook, 10th edition (2018) · Robert Bosch GmbH / Wiley · book · retrieved 2026-10-27