FinanceHealthMathDev ToolsDate & TimeText ToolsConvertersUtilitiesBusinessConstructionAgricultureAutomotiveScienceStatisticsEducationLegal & TaxAbout

Binary to Decimal Converter

Convert numbers between binary, decimal, hexadecimal, and octal. Enter a number in any base and see all four representations instantly.

Input Base
Decimal Number
10
Binary (base 2)
Decimal (base 10)
Hexadecimal (base 16)
Octal (base 8)
Bits needed
Frequently Asked Questions
How do you convert binary to decimal?

Multiply each bit by 2 raised to its position counting from right starting at 0, then sum all results.

How do you convert decimal to binary?

Repeatedly divide by 2 and record the remainders. Read the remainders from bottom to top.

What is hexadecimal used for?

Representing binary data compactly — each hex digit represents exactly 4 binary bits. Used in memory addresses and colour codes.

How many values can 8 bits store?

256 values ranging from 0 to 255. This is why RGB colour channels use 0-255.

What is two complement representation?

A method for representing negative integers in binary where -1 in 8 bits is all ones. It makes arithmetic work correctly for negative numbers.