How do I change binary to decimal?

Haircut

Platinum Member
Apr 23, 2000
2,248
0
0
Each digit represents a power of 2, the same way as in decimal each digit is a power of 10.

i.e.
302 in decimal = 3x100 + 0x10 + 2x1

11001 in binary = 1x16 + 1x8 + 0x4 + 0x2 + 1x1 = 25.
 

crystal

Platinum Member
Nov 5, 1999
2,424
0
76
302 in decimal = 3x100 + 0x10 + 2x1

11001 in binary = 1x16 + 1x8 + 0x4 + 0x2 + 1x1 = 25.

You could think of it like this.

3x10^2 + 0x10^1 + 2x10^0

1x2^4 + 1x2^3 + 0x2^2 + 1x2^1 + 1x2^0

(^ mean to the power of what ever base you want. Binary is base 2, so you ^ every from that base)
 

b0mbrman

Lifer
Jun 1, 2001
29,470
1
81


<< Each digit represents a power of 2, the same way as in decimal each digit is a power of 10.

i.e.
302 in decimal = 3x100 + 0x10 + 2x1

11001 in binary = 1x16 + 1x8 + 0x4 + 0x2 + 1x1 = 25.
>>


That's the best way to describe it...
 

Jzero

Lifer
Oct 10, 1999
18,834
1
0
1. But calculator in "Base-N" mode.
2. Choose Base-2.
3. Input binary number.
4. Choose Base-10.
5. Write down answer :)

 

nihil

Golden Member
Feb 13, 2002
1,479
0
0
learn binary maybe? if you think binary is hard you might have trouble with hex. ;)
 

Evadman

Administrator Emeritus<br>Elite Member
Feb 18, 2001
30,990
5
81


<< learn binary maybe? if you think binary is hard you might have trouble with hex. ;) >>


What, you trying to make his head explode?

See my post in HT here. Maybe it will help.
 

datalink7

Lifer
Jan 23, 2001
16,765
6
81


<< learn binary maybe? if you think binary is hard you might have trouble with hex. ;) >>



No kidding. Binary is a piece of cake. Had a much greater problem with hex.