Fletcher explained in plain terms means understanding the checksum that guards data with two running sums, a design from 1982 that catches errors a simple sum would miss. The central question is why a checksum needs two sums when one seems enough, and the answer is that the second sum remembers the order of the bytes, so a swapped pair that fools a plain sum cannot fool Fletcher, and that memory is the whole point of the design.
The Fletcher checksum is an error-detecting code devised by John G. Fletcher at Lawrence Livermore National Laboratory and published in 1982, coming in 16, 32 and 64-bit forms. It turns a block of data into a short checksum by keeping two sums as it reads the bytes, and it is built on the idea that a checksum should notice position as well as value, which means the design catches swapped bytes and burst errors, and that care is what makes it unlike a plain addition.
This article makes the case for Fletcher, explains what it is, how it works, and where its ideas still earn their keep.
Key takeaways
- Fletcher is a checksum from 1982, in 16, 32 and 64-bit forms.
- It was devised by John G. Fletcher at Lawrence Livermore.
- It keeps two running sums to catch order errors.
- It detects burst errors better than a simple sum.
- Adler-32, used in zlib, descends directly from it.
What Fletcher is
Fletcher is a checksum that turns a block of bytes into two small numbers, and that pair is what makes it unusual among simple checksums. The first sum adds the bytes, the second adds the running first sum, which means the result depends on the order as well as the values, and because order matters, a swapped pair changes the checksum.
Its signature feature is the second sum. Most checksums add the data once and stop, but Fletcher adds the running total again at every step, which means a byte near the start counts many times and a byte near the end counts once, and because each position weighs differently, the checksum can tell where an error happened.
The design was a reaction to the weakness of plain sums. A simple sum cannot see a swap, since addition does not care about order, so Fletcher built a sum that does care, because data that arrives out of order is data that has been damaged, and that practicality is what made the checksum worth publishing.
It became one of the best-known checksums in the world, and it is named in every discussion of error detection. Fletcher guards data in embedded systems and file formats, its descendant Adler-32 guards nearly every compressed file on the internet, and it is still the first example students meet when they learn that a checksum can remember order, which means the design survives as a lesson even though faster hashes exist.
Its most famous property is its child, Adler-32. Mark Adler adapted Fletcher’s two-sum idea for the zlib compression library in 1995, which means the most widely used checksum in computing descends from Fletcher, and because Adler-32 runs in every browser and every archive tool, the idea outlived the original by decades.
Our guide to CRC32 explains the stronger checksum that guards most files today, and our guide to MD4 explains the early hash that took over where checksums stop.
How Fletcher works
Everything starts with two sums set to zero, which the checksum updates as it reads. Fletcher keeps sum1 and sum2, both starting at zero, which means the empty message has a well-defined checksum, and because both sums start clean, the design needs no setup beyond the data itself.
Each byte begins with sum1, which adds the byte to the running total. Fletcher reads the next byte and adds it to sum1 modulo 255 for the 8-bit form or 65535 for the 16-bit form, which means the sum stays inside its range, and because the modulus is one less than a power of two, the arithmetic stays cheap.
The second sum is what makes the design work as a whole. After each byte, Fletcher adds the new sum1 into sum2, which means the running total is itself accumulated, and because early bytes are added many times, the checksum remembers the order of the data.
The modulus spreads the effect further. Using 255 instead of 256 means a byte value of 255 wraps differently than zero, which means the checksum can tell the difference between a missing byte and a zero byte, and because that distinction matters in real data, the odd modulus is a deliberate choice.
The finalisation is what turns the sums into a checksum. After the last byte, Fletcher combines sum1 and sum2 into a single value, which means the result is a fixed size whatever the input, and because the combination is just a shift and an add, the design needs no special finishing step.
The checksum comes from the two sums, packed together as one number. Fletcher-16 outputs a 16-bit value, Fletcher-32 a 32-bit value, which means the result fits whatever field needs it, and that size is exactly what a file header or a packet trailer needs for its integrity check.

Comparing Fletcher with other checksums
Fletcher is one of several checksums built to catch transmission errors, and each was built with a different emphasis. CRC32 is the polynomial checksum that guards most files, Adler-32 is the Fletcher descendant built for speed, and Fletcher is the original two-sum design, while each approach trades something for something else.
The table below sets out the main contrasts between the leading approaches.
| Aspect | Fletcher | CRC32 | Adler-32 |
|---|---|---|---|
| Sums | Two running sums | Polynomial division | Two running sums |
| Modulus | 255 or 65535 | Polynomial | 65521, a prime |
| Order aware | Yes | Yes | Yes |
| Year | 1982 | 1975 | 1995 |
| Best for | Teaching checksums | File integrity | Compressed data |
The practical result is that Fletcher is the right choice for teaching checksums, CRC32 suits file integrity, and Adler-32 fits compressed data instead.
Where Fletcher is used
Teaching uses it as the checksum example. Courses introduce Fletcher when they explain that a checksum can remember order, because it is the clearest case of the idea in a tiny design, and a student who understands Fletcher understands why a plain sum is not enough.
Embedded firmware uses it to guard small blocks. A microcontroller that checks its own memory needs a checksum that runs in a few instructions, because the chip has little room to spare, and that lightness is the reason Fletcher still appears in embedded code.
File formats use it to catch damage in headers. A format that stores a checksum beside its data wants one that is cheap to compute, because every read pays the cost, and that cheapness is the reason Fletcher appears in some storage formats.
Research uses it as a case study in error detection. Engineers still cite Fletcher when they discuss how much protection a tiny checksum can give, because it is the clearest example of the trade-off, and that lesson shapes how new checksums are judged today.
History uses it to tell the story of Adler-32. The zlib checksum that guards compressed files descends directly from Fletcher, which means the design survives inside software used billions of times a day, and that lineage is the reason historians take the 1982 paper seriously.
Strengths and limits
The greatest strength of Fletcher is its simplicity. Two sums and a modulus are all the design needs, and that strength is real, measured in the decades it has been taught and confirmed by the descendant that guards the world’s compressed data.
It is also a strength that the design catches order errors. A swapped pair changes the checksum, and that awareness is worth more than cleverness in a field where a checksum that cannot see a swap is a checksum that misses real damage.
The limits are real, though, and the biggest is that it is weaker than CRC32. Fletcher misses some error patterns that a polynomial checksum catches, which means it must never guard data where a missed error costs dearly, and a system that needs strong protection must use CRC32 or a hash instead.
Fletcher checklist
- Use Fletcher for light checks, never for security or signatures.
- Remember it keeps two sums, so order changes the result.
- Note the modulus is 255 or 65535, not a power of two.
- Compare it with CRC32 to see the strength trade-off.
- Study Adler-32, the descendant that guards zlib data.
- Check the 16, 32 and 64-bit forms before choosing one.
- Keep real digests behind standard hashes for signatures.
- Read the 1982 paper to see why two sums beat one.
- Choose CRC32 when a missed error would cost you dearly.
Frequently asked questions
What is Fletcher in simple terms?
It is a 1982 checksum that keeps two running sums as it reads data, so it notices both changed bytes and swapped bytes.
Who devised Fletcher?
John G. Fletcher, who published it in 1982 while working at Lawrence Livermore National Laboratory.
How is Fletcher different from a plain sum?
Both add the data, but Fletcher adds the running total a second time, so the result depends on the order of the bytes as well as their values.
Is Fletcher still secure?
It is a checksum, not a security tool, so it must never guard secrets or prove authenticity; it only detects accidental damage.
Where is Fletcher used?
In teaching, in embedded firmware, in some file formats, and inside Adler-32, which guards zlib compressed data.
When should I use Fletcher?
When you need a tiny, fast checksum for small blocks, when you teach error detection, or when you study how checksums evolved.
The bottom line
Fletcher explained in one line is this: the checksum with a memory, a 1982 design of two running sums that noticed order as well as value and fathered the checksum in every compressed file.
It is proof that a small idea can travel far, and the reason it still matters is that every checksum designed since has been judged partly by the lesson Fletcher taught.
This article is general information about how Fletcher works, not advice about choosing encryption for a particular device or system.







