Hex to BCD Converter

Sep 9, 2018

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

BCD To Hex Converter

Convert Binary Coded Decimal number to Hex

Conversion from Hex to BCD

A Hex can be converted to BCD using these steps:-

1. Convert the Hex number into Decimal
2. Convert each decimal digit into nibble
3. Combine the nibbles into BCD

Example Hex to BCD Conversion

Let's say your Hex value is 0x38f, and you want to convert it to its bcd form.

1. Step 1: Convert input to Decimal: 911
2. Step 2: Convert decimal digits to nibble
• 9 becomes 1001
• 1 becomes 0001
• 1 becomes 0001
3. Step 3: Combine the nibbles to get your BCD number: 100100010001

Hex

Hexadecimal is a numeric system widely used by systems designers and computer programmers. It contains 16 symbols from 0 to 9 and A to F, thus having a base of 16.

Binary Coded Decimal

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