Hex to BCD Converter is used to convert a Hex number (Base-16) into Binary Coded Decimal format

Background Information

A Hex can be converted to BCD in three steps:-

- Convert the Hex number into Decimal
- Convert each decimal digit into nibble
- Combine the nibbles into BCD

Let's say your Hex value is `0x38f`

and you want to convert it to it's BCD form.

**Step 1:**Convert input to Decimal:`911`

**Step 2:**Convert decimal digits to nibble`9`

becomes`1001`

`1`

becomes`0001`

`1`

becomes`0001`

**Step 3:**Combine the nibbles to get your BCD number:`100100010001`

Hexadecimal is the numeric system widely used by systems designers and computer programmers. It comprises of 16 symbols from 0 to 9 and A to F.

Binary Coded Decimal or BCD is a set of binary encodings for decimal numbers used in early digital computers. In BCD, a binary sequence is used to represent each digit of the source decimal number

- Jan 30, 2018
- Tool Launched

## Comments 0