SIMULATOR & CONVERSION

4-bit BCD to Gray Code

Interactive Simulator (BCD to Gray)

Click the BCD bits below to toggle between 0 and 1, then click Convert.

Valid 8421 BCD Range: 0000 to 1001 (Decimal 0–9). States 1010–1111 are invalid / don't-care conditions.
Converted Output (Gray Bits)
----