» 十进制转二进制转换器


二进制转换器,可将十进制快速转换为二进制,也可将二进制转换为十进制,并显示对应的十六进制值。

Use this binary converter to switch between decimal, binary, octal, and hexadecimal instantly. Enter a whole number in any base and the other number systems update at the same time.

This page is useful for decimal to binary, binary to decimal, binary to hex, hex to binary, and quick base conversion in programming, electronics, networking, and study.

转换示例

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

二进制对照表

小数(正数) 二进制数字
00
11
210
311
4100
5101
6110
7111
81000
91001
101010
小数(正数) 二进制数字
111011
121100
131101
141110
151111
1610000
32100000
641000000
12810000000
256100000000