Short answer
The hardware number (HW) identifies the physical unit, while the software number (SW) identifies the software version running on it. Check both, because the same hardware can run different software.
Detailed answer
The hardware number is usually on the unit's label and describes the physical model of the box. The software number identifies the calibration and version inside it; it may not be on the label and can be found with a diagnostic tool or from a read file.
The vehicle manufacturer's part number is a third identifier and is not always the same as the number used by a unit maker such as Bosch. Seeing several numbers on one unit is therefore normal.
Writing without matching numbers can leave the unit unable to run. Comparing compatibility against the values on your own unit is the buyer's responsibility.
Last updated: