CDCodDepot
Categories

ยฉ 2026 CodDepot. All rights reserved.

HomeCategoriesPrivacy PolicyTerms
  1. Home
  2. /
  3. Marine & Maritime Tools
  4. /
  5. CRC Calculator
๐Ÿงฎ

CRC Calculator

Compute 8/16/32-bit CRCs (IBM, CCITT, MODBUS, XMODEM, MAXIM, Castagnoli) and NMEA XOR with step-by-step option.

Share๐•Post on XinLinkedIn
13 bytes
VariantHEXDECBIN
CRC-8
poly=0x07 init=0x00 refIn=false refOut=false xorOut=0x00
0xBC18810111100
CRC-8/MAXIM
poly=0x31 init=0x00 refIn=true refOut=true xorOut=0x00
0x2A4200101010
CRC-16/IBM (ARC)
poly=0x8005 init=0x0000 refIn=true refOut=true xorOut=0x0000
0x9A4A394981001101001001010
CRC-16/CCITT-FALSE
poly=0x1021 init=0xFFFF refIn=false refOut=false xorOut=0x0000
0x52D2212020101001011010010
CRC-16/MODBUS
poly=0x8005 init=0xFFFF refIn=true refOut=true xorOut=0x0000
0x7149290010111000101001001
CRC-16/XMODEM
poly=0x1021 init=0x0000 refIn=false refOut=false xorOut=0x0000
0x7ADE314540111101011011110
CRC-32 (PKZip / Ethernet)
poly=0x04C11DB7 init=0xFFFFFFFF refIn=true refOut=true xorOut=0xFFFFFFFF
0xEBE6C6E6395776995811101011111001101100011011100110
CRC-32C (Castagnoli)
poly=0x1EDC6F41 init=0xFFFFFFFF refIn=true refOut=true xorOut=0xFFFFFFFF
0xC8A106E5336599626111001000101000010000011011100101
XOR checksum (NMEA 0183)
XOR over all bytes
0x0D1300001101
Batch mode (one input per line)

Was this tool useful?

Your vote is saved on this device only.

About CRC Calculator

The CRC Calculator computes cyclic redundancy checks and checksums from ASCII text or raw hex bytes, showing each result in hexadecimal, decimal, and binary at once. It covers eight standard variants, including CRC-8, CRC-8/MAXIM, CRC-16/IBM, CRC-16/CCITT, CRC-16/MODBUS, CRC-16/XMODEM, CRC-32, and CRC-32C (Castagnoli), plus the NMEA 0183 XOR checksum used in marine sentences. It solves the everyday problem of verifying frame integrity without writing throwaway code.

It is built for embedded developers, Modbus and serial protocol engineers, and marine electronics integrators working with NMEA data. An optional step-by-step CRC-8 view exposes the register state byte by byte, and batch mode handles many lines at once. It is free and runs entirely in your browser, so your payloads never leave your machine.

How to use

  1. Choose ASCII or HEX for the type of input you are pasting.
  2. Type or paste your data into the input box.
  3. Read the CRC-8, CRC-16, CRC-32, and NMEA XOR results in hex, decimal, and binary.
  4. Tick 'Show step-by-step' to inspect the CRC-8 register after each byte.
  5. Open Batch mode to process one input per line at once.
  6. Use 'Copy all' to export every variant as CSV.

Features

  • โœ“Eight CRC variants plus NMEA XOR
  • โœ“ASCII and raw hex input modes
  • โœ“Hex, decimal, and binary output
  • โœ“Step-by-step CRC-8 register trace
  • โœ“Batch mode for many inputs
  • โœ“Shows each variant's polynomial parameters

Frequently asked questions

Is my input sent anywhere?+

No. Every calculation happens locally in your browser, so the data you paste is never uploaded or stored on a server. The tool is free and works offline once loaded.

Which CRC variants are supported?+

CRC-8, CRC-8/MAXIM, CRC-16/IBM (ARC), CRC-16/CCITT-FALSE, CRC-16/MODBUS, CRC-16/XMODEM, CRC-32 (PKZip/Ethernet), and CRC-32C (Castagnoli), along with the NMEA 0183 XOR checksum.

How do I check an NMEA 0183 sentence checksum?+

Paste the characters between the '$' and '*' in ASCII mode and compare the XOR checksum row against the two hex digits after the asterisk in the sentence.

Can I enter raw bytes instead of text?+

Yes. Switch to HEX mode and enter byte values like '48 65 6C'; spaces and 0x prefixes are ignored, but the digit count must be even.

Why is the step-by-step view limited to CRC-8?+

The trace walks through the 8-bit register's XOR and shifts for each byte, which is the clearest variant for learning how CRCs work. Final results for all variants still appear in the table.

Related tools

๐Ÿ“ก

AIS Message Decoder

Decode AIS NMEA sentences (Types 1โ€“3 position reports and Type 5 voyage data) at the bit level.

๐Ÿ“ป

AIS Message Encoder

Build a valid AIS Type 1 position report from form inputs with step-by-step encoding.

๐Ÿงญ

NMEA 0183 Sentence Parser

Auto-detect and decode 17+ NMEA 0183 sentence types with checksum validation.