# ATS Wiegand 30bit

Everything you need to understand ATS Wiegand 30bit

## Card format Overview

A proprietary 30-bit card format used in access control systems, featuring a unique structure composed of 12-bit site code and 16-bit card number, and 2 parity bits (even and odd), allowing for easy management and avoiding card number duplication for secure, contactless access.

## ATS Wiegand 30bit format properties

### Site Code

12 bits. The facility code range is 0 to 4,095.

### Card Number

16 bits. A unique serial number (0-65,535) for each card within that facility code.

### Even parity

Even Parity for Even parity over bits 1-11.

### Odd parity

Odd Parity for Odd parity over bits 13-28.

### Generate examples

Put in the values for this card format, we'll generate the results in a few different formats.

#### Here's your example

| Format  | Value                      |
| ------- | -------------------------- |
| Hex     | 20C800C8<br>Copy           |
| Decimal | 549978312<br>Copy          |
| Binary  | 100000110010000000000011001000<br>Copy |

## The API that turns phones into key fobs.
