Homeโ€บUnit Convertersโ€บBinary, Decimal, Octal & Hex Converter

Binary, Decimal, Hex Converter

Type a number in any base and see it in decimal, binary, octal and hexadecimal at once.

Also searched as: binary decimal hex conversion ยท binary to decimal converter ยท decimal to binary converter ยท hex to decimal converter

Decimal to binary (division method)

Divide by 2 repeatedly and read the remainders from bottom to top. 13 โ†’ 13รท2 = 6 r1, 6รท2 = 3 r0, 3รท2 = 1 r1, 1รท2 = 0 r1 โ†’ 1101.

Binary to decimal

Multiply each bit by its place value (1, 2, 4, 8, โ€ฆ) from the right and add: 1101 = 8 + 4 + 0 + 1 = 13.

Hexadecimal

Hex uses 0โ€“9 and Aโ€“F (10โ€“15). Each hex digit is exactly 4 bits, which is why colours (#FF5733) and memory addresses use it. FF = 255; 1A = 26.

DecimalBinaryOctalHex
81000108
10101012A
16100002010
100110010014464
25511111111377FF
1024100000000002000400

Want to encode words? Use text to binary.

Frequently asked questions

What is 255 in binary?

11111111 (eight 1s) โ€” FF in hex.

How do I convert hex to decimal?

Multiply each digit by 16 to the power of its position: 1A = 1ร—16 + 10 = 26.

What is 1010 in decimal?

10.

More free tools

๐Ÿ“ฆCFT CalculatorCubic feet of wood, boxes & cargoUnit Converters๐ŸŒพLand Area ConverterCent, bigha, katha, dismil, marla, guntha, ankanam, acreโ€ฆUnit Converters๐Ÿ“Cent to Square Feet1 cent = 435.6 sq ftUnit Converters๐Ÿ“Cents to Acres100 cents = 1 acreUnit Converters๐Ÿ“Bigha to AcreState-wise bigha to acreUnit Converters๐Ÿ“Katha to Square FeetBihar, Bengal, Assam & Jharkhand kathaUnit Converters