Aug 28, 2024
Binary to Decimal Conversion
101
in base 2 to base 10.
1 * 2^2 + 0 * 2^1 + 1 * 2^0
4 (from 2^2) + 0 (from 0 * 2^1) + 1 (from 2^0)
5
in base 101010101
in base 2 to decimal.
8 + 0 + 2 + 0 + 0.5 + 0 + 0.125
10.625
in base 10Decimal to Binary Conversion
10.625
in base 10 to binary
10 / 2 = 5 R0
5 / 2 = 2 R1
2 / 2 = 1 R0
1 / 2 = 0 R1
1010
0.625 * 2 = 1.25
(Whole 1)0.25 * 2 = 0.5
(Whole 0)0.5 * 2 = 1.0
(Whole 1).101
1010.101
base 2Iterative Technique for Base Conversion
15
base 10 to base 315 / 3 = 5 R0
5 / 3 = 1 R2
1 / 3 = 0 R1
120
base 3Special Cases for Base Conversion
1010110
to octal and hexadecimal.Convert Decimal to Binary
13.25
base 10 to binary.1101.01
1100.01
1011.11
1101.101
Convert Decimal to Hexadecimal
77
base 10 to hexadecimal.3F
4D
21
37