OBD-II PIDs

OBD2 PIDsparameter IDsSAE J1979 PIDsmode 01 PIDsOBD service 01

OBD-II PIDs are the standardized parameter identifiers a scan tool uses to request live data from a vehicle's emissions-related modules. Defined by SAE J1979, each PID returns a value such as engine speed, coolant temperature or calculated load in a fixed format with a published conversion formula.123

How it works

Requests are grouped into services, historically called modes.

Service 01 returns current data, 02 freeze frame data, 03 stored trouble codes, 04 clears codes, 06 on-board monitor results, 07 pending codes, 09 vehicle information such as the VIN, and 0A permanent codes.21

Each PID has a defined data length and formula. Engine speed, PID 0x0C, uses two bytes: rpm = (256 × A + B) ÷ 4. Coolant temperature, PID 0x05, is A − 40 °C.

Calculated load, PID 0x04, and throttle position, PID 0x11, both scale A × 100 ÷ 255 to percent.23

On CAN-equipped vehicles, a tool sends functional requests on ID 0x7DF and modules reply on IDs starting at 0x7E8. The protocol is request-and-response, so every value costs a round trip and the achievable sample rate depends on the vehicle and how many PIDs are requested.Medium24

In tuning

Generic PIDs are useful for health checks on stock vehicles: fuel trims, coolant temperature, intake temperature and load.

They are not designed for high-rate tuning logs, and many internal variables such as knock retard are not in the generic set.Medium21

Manufacturers add their own identifiers, usually read with UDS ReadDataByIdentifier (service 0x22) rather than service 01. Their definitions come from the manufacturer's service information.Medium56

Formula and worked example

rpm = (256 × A + B) / 4
A
first data byte of the PID 0x0C response
B
second data byte of the PID 0x0C response
rpm
engine speedrpm
23

Myths vs facts

Myth OBD-II gives access to every sensor in the car.

Fact The generic PID set covers emissions-related parameters. Many internal values are only available through manufacturer-specific identifiers, and vehicles are not required to support every generic PID.21

Myth OBD-II logging is as fast as an engine controller's internal logging.

Fact Each value is requested and answered over the diagnostic channel, so update rates are limited and fall as more PIDs are requested. Internal or broadcast-message logging is usually much faster.Medium27

Frequently asked

How do you calculate RPM from OBD-II data?

Request service 01, PID 0x0C. The response has two data bytes, A and B. Engine speed is (256 × A + B) ÷ 4. For example, bytes 0x1A and 0xF8 give (256 × 26 + 248) ÷ 4 = 1726 rpm. Other PIDs have their own formulas listed in SAE J1979.23

How fast can you log OBD-II data?

There is no single figure. Each PID is a request and a response, so rate depends on the vehicle's modules, the bus and how many PIDs you poll. Polling fewer PIDs raises the rate for each. It is generally slower than logging a controller's internal or broadcast data.Low24

What is the difference between mode 01 and mode 22?

Mode, or service, 01 reads standardized emissions-related PIDs defined in SAE J1979. Service 0x22 is the UDS ReadDataByIdentifier service from ISO 14229, used to read manufacturer-defined data identifiers. Service 22 can reach far more values, but their meanings come from the manufacturer.Medium156

Which OBD-II PIDs are useful when tuning?

Short- and long-term fuel trims, calculated load, coolant and intake air temperatures, engine speed, throttle position, manifold pressure or MAF airflow, and oxygen sensor readings give a useful picture of a stock engine. Knock and timing corrections usually need manufacturer-specific identifiers or the controller's own logging.Medium21

Sources

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

  1. SAE J1979: E/E Diagnostic Test Modes · SAE International · standard · retrieved 2026-10-27
  2. OBD-II PIDs · Wikipedia · reference · retrieved 2026-10-27
  3. SAE J1979-DA: Digital Annex of E/E Diagnostic Test Modes · SAE International · standard · retrieved 2026-10-27
  4. CAN bus · Wikipedia · reference · retrieved 2026-10-27
  5. ISO 14229-1:2020 Road vehicles, Unified diagnostic services (UDS), Part 1: Application layer · International Organization for Standardization · standard · retrieved 2026-10-27
  6. Unified Diagnostic Services · Wikipedia · reference · retrieved 2026-10-27
  7. Data logger · Wikipedia · reference · retrieved 2026-10-27