About BCD to Decimal
BCD (Binary-Coded Decimal) is an encoding that represents one decimal digit (0-9) with 4 binary bits. For example, the BCD code of decimal 5 is 0101, and the BCD code of decimal 12 is 0001 0010.
This tool converts a BCD code into the corresponding decimal number. For example, entering 1001 0011 (BCD) outputs 93 (decimal).
How to Use the BCD to Decimal Tool?
- Enter a valid BCD code in the input box (containing only 0s and 1s, with a length that is a multiple of 4), e.g., 10010011 (which represents decimal 93).
- Click "Calculate". The tool automatically checks the input format. If the input is invalid (e.g., contains characters other than 0/1 or its length is not a multiple of 4), a prompt appears.
- After the calculation, the result is shown in the "Result" input box.
- Click the "Clear" button to reset the input and output; click the "Example" button to auto-fill a sample (e.g., 1001000000110001, which corresponds to decimal 9031).