Fletcher-32 Checksum Calculator

Compute the Fletcher-32 error-detection checksum

Ad placeholder (leaderboard)

The Fletcher-32 checksum extends Fletcher-16 to a 32-bit result by working on 16-bit words and reducing its two running sums modulo 65535. The wider accumulator detects larger and more complex burst errors while remaining inexpensive. This calculator runs the standard algorithm locally over text or hex bytes.

How it works

Fletcher-32 keeps two running sums, both reduced modulo 65535:

  1. Start with sum1 = 0 and sum2 = 0.
  2. Read the data two bytes at a time into a 16-bit word w = (high << 8) | low.
  3. For each word: set sum1 = (sum1 + w) mod 65535, then sum2 = (sum2 + sum1) mod 65535.
  4. The final checksum is (sum2 << 16) | sum1.

If the data has an odd number of bytes, the last byte is padded with a zero high byte so it still forms one complete word.

Example

For the ASCII string abcde the algorithm produces the checksum 0xF04FC729. Enter it in the tool to confirm the same hex and decimal output.

Notes

The modulus 65535 (2^16 - 1) plays the same role as 255 does in Fletcher-16: it keeps the sums position-sensitive so byte and word swaps are detected. Fletcher-32 is a data-integrity check only and does not defend against intentional tampering. All computation runs in your browser.

Ad placeholder (rectangle)