Unsigned: Binary -> Integer: 1001 1000 1010 1011 0000 1011 1110 1101 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) 1001 1000 1010 1011 0000 1011 1110 1101(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.
231
1 230
0 229
0 228
1 227
1 226
0 225
0 224
0 223
1 222
0 221
1 220
0 219
1 218
0 217
1 216
1 215
0 214
0 213
0 212
0 211
1 210
0 29
1 28
1 27
1 26
1 25
1 24
0 23
1 22
1 21
0 20
1
2. Multiply each bit by its corresponding power of 2 and add all the terms up.
1001 1000 1010 1011 0000 1011 1110 1101(2) =
(1 × 231 + 0 × 230 + 0 × 229 + 1 × 228 + 1 × 227 + 0 × 226 + 0 × 225 + 0 × 224 + 1 × 223 + 0 × 222 + 1 × 221 + 0 × 220 + 1 × 219 + 0 × 218 + 1 × 217 + 1 × 216 + 0 × 215 + 0 × 214 + 0 × 213 + 0 × 212 + 1 × 211 + 0 × 210 + 1 × 29 + 1 × 28 + 1 × 27 + 1 × 26 + 1 × 25 + 0 × 24 + 1 × 23 + 1 × 22 + 0 × 21 + 1 × 20)(10) =
(2 147 483 648 + 0 + 0 + 268 435 456 + 134 217 728 + 0 + 0 + 0 + 8 388 608 + 0 + 2 097 152 + 0 + 524 288 + 0 + 131 072 + 65 536 + 0 + 0 + 0 + 0 + 2 048 + 0 + 512 + 256 + 128 + 64 + 32 + 0 + 8 + 4 + 0 + 1)(10) =
(2 147 483 648 + 268 435 456 + 134 217 728 + 8 388 608 + 2 097 152 + 524 288 + 131 072 + 65 536 + 2 048 + 512 + 256 + 128 + 64 + 32 + 8 + 4 + 1)(10) =
2 561 346 541(10)
The number 1001 1000 1010 1011 0000 1011 1110 1101(2) converted from an unsigned binary (in base 2) and written as a positive integer (with no sign) in decimal system (in base ten):
1001 1000 1010 1011 0000 1011 1110 1101(2) = 2 561 346 541(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.