Antpact Toolbox
中文
Home › Modbus Tools › CRC16 Calculator

CRC16 Calculator

Compute Modbus CRC16 and append it; LRC for ASCII mode included.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Choose an input mode: hex or text.
  2. Enter the frame data, without the checksum bytes.
  3. Read the CRC16 value in both low-byte-first and high-byte-first order.
  4. Click copy to get the complete data-plus-checksum frame.

FAQ

Why low byte first?

It is the Modbus RTU convention. Plenty of hand-rolled code computes the right value but writes it backwards, so the device rejects it — this tool shows both orderings so you can check.

Should I include the checksum bytes in the input?

No. Enter only the data that participates in the calculation; the tool appends the checksum for you.

What is LRC?

A longitudinal redundancy check used by Modbus ASCII: the two complement of the byte sum. This tool computes it alongside the CRC.

About this CRC16 Calculator

CRC16-Modbus uses polynomial 0xA001 with init 0xFFFF, and the checksum is appended low byte first — the detail most often got wrong. Enter the raw data without a checksum and the tool computes it and assembles the full frame. For Modbus ASCII the checksum is an LRC, which is also shown. Everything runs locally in your browser.