Unsigned: Binary -> Integer: 1010 1111 0010 1111 Convert Base Two (2) Number to Base Ten (10), The Unsigned Binary Converted to a Positive Integer, Written in the Decimal System
The unsigned binary (in base two) 1010 1111 0010 1111(2) to a positive integer (with no sign) in decimal system (in base ten) = ?
1. Map the unsigned binary number's digits versus the corresponding powers of 2 that their place value represent.
215
1 214
0 213
1 212
0 211
1 210
1 29
1 28
1 27
0 26
0 25
1 24
0 23
1 22
1 21
1 20
1
2. Multiply each bit by its corresponding power of 2 and add all the terms up.
1010 1111 0010 1111(2) =
(1 × 215 + 0 × 214 + 1 × 213 + 0 × 212 + 1 × 211 + 1 × 210 + 1 × 29 + 1 × 28 + 0 × 27 + 0 × 26 + 1 × 25 + 0 × 24 + 1 × 23 + 1 × 22 + 1 × 21 + 1 × 20)(10) =
(32 768 + 0 + 8 192 + 0 + 2 048 + 1 024 + 512 + 256 + 0 + 0 + 32 + 0 + 8 + 4 + 2 + 1)(10) =
(32 768 + 8 192 + 2 048 + 1 024 + 512 + 256 + 32 + 8 + 4 + 2 + 1)(10) =
44 847(10)
The number 1010 1111 0010 1111(2) converted from an unsigned binary (in base 2) and written as a positive integer (with no sign) in decimal system (in base ten):
1010 1111 0010 1111(2) = 44 847(10)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.
Convert unsigned binary numbers (base two) to positive integers in the decimal system (base ten)
How to convert an unsigned binary number (base two) to a positive integer in base ten:
1) Multiply each bit of the binary number by its corresponding power of 2 that its place value represents.
2) Add all the terms up to get the integer number in base ten.