How to use this calculator
Calculate the zero-initialized Fletcher-16 checksum of a UTF-8 byte stream.
- Enter Text encoded as UTF-8. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Fletcher 16 byte checksum explained
Fletcher-16 accumulates encoded byte values modulo 255; byte order and checksum-byte convention determine the returned two-byte value.
How the calculation works
Two byte sums modulo 255
Uses modulo 255 and returns sum2 as the high byte; other initialization and byte-order conventions differ..
Set up the calculation
s— Text encoded as UTF-8- Text encoded as UTF-8. An empty string is a valid byte sequence.
Limits of this model
Uses modulo 255 and returns sum2 as the high byte; other initialization and byte-order conventions differ.
Check this example
Text encoded as UTF-8 = abcde.
- Fletcher-16: c8f0 hex
UTF-8 encodes “abcde” as bytes 61 62 63 64 65; the stated modulo-255 order returns checksum c8f0.
Frequently asked questions
Is the modulus 256?
No, this variant uses 255.
Can I compare every Fletcher implementation?
Only if initialization and output ordering match.
Is it a hash for security?
No.
How do I use the Fletcher 16 byte checksum calculator?
Enter Text encoded as UTF-8. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Fletcher 16 byte checksum?
Text encoded as UTF-8 = abcde. Fletcher-16: c8f0 hex UTF-8 encodes “abcde” as bytes 61 62 63 64 65; the stated modulo-255 order returns checksum c8f0.
Read our calculation methodology.