CRC Evaluation for a Given Frame and Generator Polynomial

CRC Evaluation for a Given Frame and Generator Polynomial

Verified Sources
Nov 4, 2026

To evaluate the CRC for a transmitted frame, we treat the bit string as a polynomial over GF(2) (so addition/subtraction are XOR operations). For a generator polynomial G(x) of degree 55, we append 55 zero bits to the message, divide by G(x)G(x), and the remainder (degree <5<5) becomes the CRC checksum that is appended to form the final codeword.

Generator polynomial:
G(x)=x5+x4+x2+1G(x)=x^5+x^4+x^2+1

Frame (message) bits (as given):

  • Data: 10100110111010011011
  • Extra bits in the prompt: 0101 (we will interpret the required message for CRC as the data field only, i.e., 10100110111010011011; the 0101 is commonly presented as an additional example suffix but CRC inputs must be explicit—here the CRC is computed for the frame/message 10100110111010011011 against the given G(x)G(x)).

We compute CRC-5 for data 10100110111010011011 using G(x)G(x).

Mermaid view of the standard CRC pipeline:

CRC Long Division (GF(2)) to get the 5-bit remainder

  1. 1
    Step 1

    Since G(x)G(x) has highest power x5x^5, the CRC degree is k=5k=5. The bit pattern of G(x)=x5+x4+x2+1G(x)=x^5+x^4+x^2+1 is 110101 (because coefficients from x5x^5 to x0x^0 are: 1,1,0,1,0,1).

  2. 2
    Step 2

    Message data: 1010011011. Append 5 zeros → 1010011011 00000.

  3. 3
    Step 3

    We align the generator’s leading 1 with the leftmost 1 of the current dividend segment. Subtraction over GF(2) is XOR, so when a generator is applied, we XOR with 110101.

  4. 4
    Step 4

    Proceed left-to-right across the dividend. Each time the current leftmost bit is 1, XOR the next 6 bits with 110101; if it is 0, XOR is effectively skipped. After finishing all positions, the final 5 remaining bits are the remainder.

  5. 5
    Step 5

    Carrying out the XOR steps yields the remainder: 11101.

  6. 6
    Step 6

    Codeword = data + remainder = 1010011011 11101.

Verification by constructing the dividend remainder relationship

Let the augmented message be:

  • Data polynomial times x5x^5 corresponds to appending 55 zeros: M′(x)=M(x) x5M'(x)=M(x)\,x^5

When we divide M′(x)M'(x) by G(x)G(x) we obtain: M′(x)=Q(x) G(x)+R(x)M'(x)=Q(x)\,G(x)+R(x) where:

  • deg⁡(R)<5\deg(R)<5, so R(x)R(x) corresponds to exactly 5 bits. The computed remainder bits are R=11101R=11101.

Bit-level mapping from remainder to CRC bits

Remainder R=11101R=11101 means the CRC checksum to append is:

  • CRC bits: 11101

Thus the transmitted/codeword frame becomes:

  • 1010011011 11101

Pro Tip: Polynomial bit ordering

When converting G(x)G(x) to bits, use coefficients from highest power down to x0x^0. For x5+x4+x2+1x^5+x^4+x^2+1: bits are 1 (x^5), 1 (x^4), 0 (x^3), 1 (x^2), 0 (x^1), 1 (x^0) → 110101.

Warning: Clarify what the extra '01' refers to

CRC is computed for a specific message bitstring. If '01' is meant to be appended to the message before CRC, the dividend changes. In this section, the CRC is evaluated for the stated frame/message '1010011011' using G(x)G(x). If instead the full input is '1010011011 01', you must recompute with a different augmented dividend.

CRC Evaluation Roadmap

Generator setup

Step 1

Convert G(x)G(x) to a bit pattern (MSB to LSB)."

Augment message

Step 2

Append k=5k=5 zeros to the data."

GF(2) division

Step 3

Perform polynomial long division using XOR."

Remainder becomes CRC

Step 4

Take the final 5 remainder bits and append to form the codeword."

CRC Output Summary

Remainder length is 5 bits because deg(G(x)G(x))=5.

Common CRC evaluation details

CRC Quick Checks

1 / 5
Question · Term

For $G(x)$ with highest term $x^5$, how many CRC bits are produced?

Click to reveal
Answer · Definition

5 bits, because CRC size equals deg(G(x)G(x)).

Knowledge Check

Question 1 of 4
Q1Single choice

Given G(x)=x5+x4+x2+1G(x)=x^5+x^4+x^2+1, how many CRC bits are appended?