HIROTA YANO
FREE WEB TOOLS
JP
/
EN

# Decimal to BCD Converter / Tool

Integer
1010A
BCD16
10

## How to use this tool

This is a tool that runs in your browser and converts between decimal and BCD (Binary-coded decimal).

• When you enter a numerical value, it is automatically converted.
• BCD binary numbers are formatted when out of focus.
• If you enter a number that is not BCD in binary, an error message will be displayed.

## What is BCD?

BCD (Binary-coded decimal) is a decimal number separated by one digit, each of which is represented by a four-digit binary number; BCD matches a decimal number when expressed in hexadecimal.

DEC BIN HEX BCD (BIN) BCD (HEX)
0 0000 0 0000 0000 0
1 0001 1 0000 0001 1
2 0010 2 0000 0010 2
3 0011 3 0000 0011 3
4 0100 4 0000 0100 4
5 0101 5 0000 0101 5
6 0110 6 0000 0110 6
7 0111 7 0000 0111 7
8 1000 8 0000 1000 8
9 1001 9 0000 1001 9
10 1010 A 0001 0000 10
11 1011 B 0001 0001 11
12 1100 C 0001 0010 12
13 1101 D 0001 0011 13
14 1110 E 0001 0100 14
15 1111 F 0001 0101 15

The decimal digits 0 to 9 are the same in hexadecimal, so they will be the same in BCD. 10 and above each digit is converted to a binary number respectively.

1 = 0001
0 = 0000
10 = 0001 0000

Four-digit binary numbers can originally represent decimal numbers from 0 to 15, but in BCD, the numbers from 10 (1010) to 15 (1111) are not used at all. Although this is a wasteful representation method for computers, it is easy for humans to read.