---
title: Aiken code
slug: aiken-code
qid: 
snapshot: enwiki-001196898676
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1196898676
tags: [22903124, 22930649, 22938897, 23118434, 23506827, 23603337, 24745122, 26507727, 63697623]
---

# Aiken code

> [!note] Provenance
> Snapshot `enwiki-001196898676` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1196898676> · Licensed CC BY-SA 4.0

The Aiken code (also known as 2421 code) is a complementary binary-coded decimal (BCD) code. A group of four bits is assigned to the decimal digits from 0 to 9 according to the following table. The code was developed by Howard Hathaway Aiken and is still used today in digital clocks, pocket calculators and similar devices . The Aiken code differs from the standard 8421 BCD code in that the Aiken code does not weight the fourth digit as 8 as with the standard BCD code but with 2. The following weighting is obtained for the Aiken code: 2-4-2-1. One might think that double codes are possible for a number, for example 1011 and 0101 could represent 5. However, here one makes sure that the digits 0 to 4 are mirror image complementary to the numbers 5 to 9.

The Aiken code (also known as 2421 code) is a complementary binary-coded decimal (BCD) code. A group of four bits is assigned to the decimal digits from 0 to 9 according to the following table. The code was developed by Howard Hathaway Aiken and is still used today in digital clocks, pocket calculators and similar devices . The Aiken code differs from the standard 8421 BCD code in that the Aiken code does not weight the fourth digit as 8 as with the standard BCD code but with 2. The following weighting is obtained for the Aiken code: 2-4-2-1. One might think that double codes are possible for a number, for example 1011 and 0101 could represent 5. However, here one makes sure that the digits 0 to 4 are mirror image complementary to the numbers 5 to 9. ==See also== Excess-3 code Gray code O'Brien code type I ==References== ==Further reading==
