Networking

Internet One’s-Complement Checksum Calculator

Compute a 16-bit Internet checksum from hexadecimal bytes using network-order words and end-around carry.

How the calculation works

16-bit checksum, hexadecimal = internet_checksum_hex(hex_bytes) .

Worked example

Example inputs — Packet bytes in hexadecimal (checksum field zeroed if generating): 0001 F203 F4F5 F6F7. Expected results — 16-bit checksum, hexadecimal: 220D.

Assumptions and limits

Offline planning arithmetic: this calculator sends no packets and changes no device configuration. Actual routing, reservations, implementation limits and measured network conditions must be checked separately. Pads a final odd byte with zero for the calculation. Transport checksums require the correct pseudo-header and length fields supplied as part of the bytes; this tool does not parse or transmit packets.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.