Meaning and conditions
A teaching CRC calculation appends a polynomial-division remainder to the message. The calculator accepts decimal integer masks and returns remainder or codeword without profile additions.[1]
Bits are polynomial coefficients over GF(2). Addition and subtraction are XOR without carries. For generator G of degree r, append r zero bits to the message before division. Remainder degree is below r; explicitly restore leading zero bits when displaying it.[1]
This is not a CRC32c calculator. The opened RFC 9260 specifies a real profile with a 32-bit polynomial, bit mapping, initialization and complementation. The small teaching model uses zero initial value, no reflection and no final XOR. Matching profiles are required when comparing actual checksums.[1]
Reasoning step by step
- Interpret the bit string as a polynomial with highest coefficient on the left.
- Multiply M by xʳ by appending r zero bits.
- During division cancel the highest remaining term with a suitably shifted XOR.
- Once remainder degree is below r, append r remainder bits to the original message.
Units, inverses and limits
Inputs are decimal masks: for example 13 for 11012 and 11 for 10112. Integer 0≤M<224 and odd 3≤G<216 are allowed. The generator constant bit is one and degree at least one. Remainder and codeword remain safe integers. CRC detects certain errors but supplies no cryptographic authenticity.[1]
Two fully worked examples
Three remainder bits with leading zeros
- Given
- M=11012=13; G=10112=11, degree r=3.
- Find
- Find remainder and codeword.
Write the expanded message.
Cancel highest terms with XOR.
Pad the remainder to three bits and append it.
Result: Remainder mask 1, remainder bits 001; codeword mask 105.
Check: The codeword has zero remainder under the same polynomial division. Ordinary integer division would be wrong.
A different message polynomial
- Given
- M=1012=5; G=10112=11, r=3.
- Find
- Find remainder and detect an error.
Expand and perform the aligned XOR division.
Build the codeword.
Flip the least significant bit.
Result: Codeword 44; the single-bit error gives a nonzero remainder.
Check: The error polynomial is one and cannot be divisible by a positive-degree generator.
Recall the method later with the formula’s flashcards.
11 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Seeing the relationship
CRC as polynomial remainder: XOR division over GF(2)
Free with a Quanta account. Your download stays ready after registration.
Five exercises with solutions
Calculate · Foundation
M=1 and G=10112: find the remainder.
Show hint
Use the stated definition and check its assumptions.
Learning goal: Divide by degree rather than numeric comparison.
Rearrange · Application
A message has four bits and generator degree three. How many codeword bits are transmitted, retaining leading message bits?
Show hint
Use the stated definition and check its assumptions.
Learning goal: Distinguish value from bit length.
Show solution and calculation
The agreed length is 4+3=7 bits.
A decimal mask alone does not retain leading zero bits.
Interpret · Application
Does zero remainder prove that no error occurred?
Show hint
Use the stated definition and check its assumptions.
Learning goal: Explain the detection limit.
Show solution and calculation
No.
Errors whose polynomial is divisible by G remain undetected.
Zero remainder means only that this check condition holds.
Error analysis · Application
For M=11012 and G=10112, ordinary 104 mod 11 is used. Why is that wrong?
Show hint
Use the stated definition and check its assumptions.
Learning goal: Choose the correct algebra.
Show solution and calculation
CRC divides polynomials over GF(2), not integers.
XOR replaces subtraction; the correct remainder is 1, not ordinary integer remainder 5.
Transfer · Challenge
A valid codeword is XOR-modified by an aligned generator polynomial. Is the error detected?
Show hint
Use the stated definition and check its assumptions.
Learning goal: Distinguish CRC from cryptographic protection.
Show solution and calculation
No.
E=xᵏG is divisible by G, so (C+E) mod G=0 remains true.
This exhibits a deliberately constructible collision.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Continue learning
Connect this calculation to Hamming distance and channel capacity.
Sources for this explanation
Quanta · Updated November 9, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Added a full article with original DE/EN examples, exercises, models and source checks.
Cite this reference page
Quanta. CRC checksum as a polynomial remainder over GF(2). Updated November 9, 2026. https://quanta-study.de/en/formula-sheet/crc-pruefsumme-polynomrest
When citing a specific scientific statement, also cite the specialist source linked to that statement.