Convert binary (base 2) numbers to decimal (base 10) instantly. To do it, you add up the place values: each binary digit is a power of two, so 1010 = 8 + 0 + 2 + 0 = 10. For example, 1010 in binary is 10 in decimal, and 100 is 4. This converter defaults to binary → decimal, checks that every digit is valid, shows the u…
Valid digits: 0–1
Valid digits: 0–9
11111111 (Binary) = 255 (Decimal) · decimal value: 255
COMMON BASES
BASES 3–9
BASES 11–20
BASES 21–36
Type your binary number in the value box — the converter defaults to binary (base 2) → decimal (base 10). Valid digits are shown beneath the box.
Read the decimal result instantly, along with the underlying decimal value. By hand, you add up the place values: each binary digit is a power of two, so 1010 = 8 + 0 + 2 + 0 = 10.
Use the ⇄ button to swap the direction, or tap any base in the “in every base” panel to see the number there too.
Switch to octal or any base from 2 to 36 in the dropdown, then Share or Embed your conversion.
Dec 10
Bin 1010
Dec 255
Hex FF
Dec 8
Oct 10
Dec 16
Hex 10
Hex FF
Dec 255
Bin 11111111
Dec 255
Oct 777
Dec 511
Dec 100
Hex 64
Dec 1000
Bin 1111101000
Hex A
Dec 10
A number base, or radix, is simply how many distinct digits a counting system uses before it rolls over into a new place. Everyday decimal is base 10, using the digits 0 to 9; each position is worth ten times the one to its right. Computers work in binary — base 2, just 0 and 1 — because a switch is either on or off, and every bit is a power of two. Because long strings of bits are hard to read, programmers group them into octal (base 8, three bits per digit) or, far more commonly, hexadecimal (base 16, four bits per digit), which is why colours on the web look like #FF8800 and memory addresses are written in hex. When a base goes above ten it runs out of ordinary digits, so letters take over: A stands for 10, B for 11, and so on up to Z for 35, which is why base 36 is the largest that fits the usual 0–9 A–Z alphabet. Converting a number between bases never changes its actual value — 255, 0xFF, 0o377 and 11111111 in binary are all the same quantity, just written differently. This converter parses whatever you type in its source base into that one underlying integer and then writes it out in the base you want, using exact big-integer arithmetic so even very long binary or hexadecimal values stay precise.
You add up the place values: each binary digit is a power of two, so 1010 = 8 + 0 + 2 + 0 = 10. The converter does this for you instantly and shows the exact result.
Mega Number Base Converter
Calculate instantly →
Binary (Base 2) to Hexadecimal (Base 16)
Calculate instantly →
Decimal (Base 10) to Binary (Base 2)
Calculate instantly →
Decimal (Base 10) to Hexadecimal (Base 16)
Calculate instantly →
Hexadecimal (Base 16) to Binary (Base 2)
Calculate instantly →
Hexadecimal (Base 16) to Decimal (Base 10)
Calculate instantly →
Last updated: — · Bases 2–36 (all 35) · Exact big-integer arithmetic, digits 0–9 then A–Z · Verified by the EagleCalculator team · Eagle-eyed accuracy for every calculation.