How this conversion works
The binary pattern 1010 is decimal 10 — bits set at the 8s and 2s places (8 + 2). It is a common gotcha because it also looks like the decimal number 1010.
Each base just uses a different set of digits for the same quantity. Reading
1010 as a binary number gives the decimal value
10; expressing that same value in base two, eight or sixteen
produces the rows above. To convert any number between bases — including custom bases from 2
to 36 — use the number base converter.