CRC-32 Calculator | CRC32 Formula, Polynomial & Examples
Advertisement
A CRC-32 calculator is an essential online tool for computing 32-bit Cyclic Redundancy Check (CRC-32) values used to verify data integrity in digital communication, file formats, and networking protocols. CRC-32 is one of the most widely adopted error detection algorithms and is used in standards such as Ethernet (IEEE 802.3), ZIP, PNG, GZIP, MPEG-2 and BZIP2.
This online CRC-32 calculator allows you to calculate CRC-32 checksums using hexadecimal input data, configurable generator polynomial vectors, and standard CRC parameters such as initial value (INIT), input/output reflection (RefIn/RefOut), and final XOR (XorOut).
CRC32 checksum Calculator
Example-1 : CRC-32 (IEEE 802.3)
INPUTS:
- Data Vector (Hex) = 313233343536373839
- Polynomial = 0x04C11DB7
- Init = 0xFFFFFFFF
- RefIn = 1 (i.e. TRUE)
- RefOut = 1 (i.e. TRUE)
- XorOut = 0xFFFFFFFF
OUTPUT: CRC-32 Checksum output = 0xCBF43926
Example-2 : CRC-32/MPEG-2
INPUTS:
- Data Vector (Hex) = 313233343536373839
- Polynomial = 0x04C11DB7
- Init = 0xFFFFFFFF
- RefIn = 0 (i.e. FALSE)
- RefOut = 0 (i.e. FALSE)
- XorOut = 0x00000000
OUTPUT: CRC-32 Checksum output = 0x0376E6E7
Example-3 : CRC-32/BZIP2
INPUTS:
- Data Vector (Hex) = 313233343536373839
- Polynomial = 0x04C11DB7
- Init = 0xFFFFFFFF
- RefIn = 0 (i.e. FALSE)
- RefOut = 0 (i.e. FALSE)
- XorOut = 0xFFFFFFFF
OUTPUT: CRC-32 Checksum output = 0xFC891918
1. CRC-32 Basics (What CRC-32 Is)
CRC-32 (Cyclic Redundancy Check - 32 bit) is an error-detection method based on polynomial division over GF(2) (binary arithmetic).
Key ideas:
- Bits are polynomial coefficients (0 or 1)
- Addition and subtraction = XOR
- No carries or borrows
- Final result is a 32-bit remainder
CRC-32 is widely used in:
- Ethernet (IEEE 802.3)
- ZIP / PNG / GZIP
- Filesystems
- Communication protocols
CRC-32 Generator Polynomial
The standard CRC-32 generator polynomial is :
G(x) = x^32 + x^26 + x^23 + x^22 + x^16 + x^12 + x^11 + x^10 + x^8 + x^7 + x^5 + x^4 + x^2 + x + 1
Hex Representation (Without the implicit x^32 term) : 0x04C11DB7
This polynomial is fixed for most CRC-32 variants; the differences come from initial value, reflection and final XOR.
Summary:
Use this CRC-32 calculator and formula guide to quickly verify data integrity, troubleshoot protocol issues and gain a deeper understanding of how CRC-32 protects data in modern digital systems.
References for further study
-
A Painless Guide to CRC Error Detection Algorithms by Ross N. Williams , ( https://zlib.net/crc_v3.txt )
-
RevEng CRC Catalogue , ( https://reveng.sourceforge.io/crc-catalogue/ )
-
IEEE 802.3 — Ethernet CRC-32
-
ISO/IEC 3309 — CRC-32 standard
Advertisement
RF