# » Decimal to Binary Converter

The conversion works both ways!

Decimal number (positive) (max. 65 536)

=

Binary number

## Number systems

In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system or base-2 numeral system which represents numeric values using two different symbols: typically 0 (zero) and 1 (one).

The decimal numeral system (also called base-ten and occasionally denary) has ten as its base, which, in decimal, is written 10, as is the base in every positional numeral system.

In mathematics and digital electronics, a hexadecimal number (also base 16, or hex) is a number expressed in the hexadeximal numeral system - a positional numeral system with a radix, or base, of 16.

\begin{align} 110_{2} &= 1\times2^{2}+1\times2^{1}+0\times2^{0}=6_{10} \\ \\ 6_{10} &= 110_{2}:\\ \end{align}
6 / 2 = 3, remainder 0, (LSB - Least Significant Byte)
3 / 2 = 1, remainder 1
1 / 2 = 0, remainder 1, (MSB - Most Significant Byte)

Decimal number (positive) Binary number
0 0
1 1
2 10
3 11
4 100
5 101
6 110
7 111
8 1000
9 1001
10 1010
11 1011
12 1100
13 1101
14 1110
15 1111
16 10000
32 100000
64 1000000
128 10000000
256 100000000