Modbus CRC Calculator

Online tool to calculate Modbus CRC16 checksums and generate RTU frames.

Spaces are optional. Example: Reading 2 registers from Slave 1
Modbus CRC16 (Hex)
--
RTU (Little Endian)
LRC (Hex)
--
ASCII Mode
0 = 40001 (PLC Address)
Generated Modbus RTU Frame
01 03 00 00 00 01 84 0A

How Modbus CRC16 Works

Modbus RTU uses a Cyclic Redundancy Check (CRC) to ensure data integrity. The checksum is 2 bytes (16 bits) added to the end of the message. Unlike most data in Modbus which is Big Endian, the CRC is sent Low Byte First (Little Endian).

Example: For the command 01 03 00 00 00 02, the CRC calculation results in C4 0B. The final frame sent to the wire is 01 03 00 00 00 02 C4 0B.

Common Function Codes

Code Name Description
01Read CoilsRead digital outputs (0x)
02Read Discrete InputsRead digital inputs (1x)
03Read Holding RegistersRead analog outputs/parameters (4x)
04Read Input RegistersRead analog inputs (3x)
06Write Single RegisterChange one value (4x)