Standard 26-bit H10301

Wiegand Calculator

Encode facility codes and card numbers, decode raw card data, and verify parity in one step.

Input

Card details

26 bits
0–255 · 8 bits
0–65,535 · 16 bits
Result

Decoded card data

Parity valid
Facility code 42
Card number 69
Even parity 1
Odd parity 0
Raw binary 26 bits, parity included 10010101000000000010001010
Raw hex 254008A
Raw decimal 39059594
Payload binary 24 bits, parity excluded 001010100000000001000101
Payload hex 2A0045
Payload decimal 2752581
Bit layout

26-bit field map

26 bits
Even parity 1 Bit 1
Facility code 00101010 Bits 2–9
Card number 0000000001000101 Bits 10–25
Odd parity 0 Bit 26

The leading bit makes bits 1–13 even. The trailing bit makes bits 14–26 odd.

How it works

Calculate standard 26-bit Wiegand data

H10301 combines an 8-bit facility code and a 16-bit card number, then adds two parity bits around the 24-bit payload.

01

Build the payload

The facility code occupies the first 8 payload bits and the card number occupies the next 16 bits.

payload = facility × 65,536 + card
02

Add parity

The leading bit provides even parity for the first half. The trailing bit provides odd parity for the second half.

P + 8 facility bits + 16 card bits + P
03

Use the correct value

Raw values include both parity bits. Payload values contain only the facility code and card number fields.

raw ≠ payload

Reference

H10301 input ranges

Field Bits Accepted range Output position
Even parity 1 Calculated Bit 1
Facility code 8 0–255 Bits 2–9
Card number 16 0–65,535 Bits 10–25
Odd parity 1 Calculated Bit 26