answersLogoWhite

0

First of all, take a binary number like

10111

then take the first digit on the right and multiply it by 2^0 or 1

1 X 1 = 1

then you take the second digit and multiply it by 2^1 or 2

1 X 2 = 2

then you take the third digit and multiply it by 2^2 or 4

1 X 4 = 4

then you continue to the next digit and multiply it by 2^3 or 8

0 X 8 = 0

you proceed to the next digit and multiply it by 2^4 or 16

1 x 16 = 16

Finally, you add all the answers from the multiplication problems for each digit (1 + 2 + 4 + 0 + 16, for the above problem)

if you convert 10111 from binary into decimal you should get 23

If there are more digits, then you continue to multiply the next digit by 2 raised to the next power, until you reach the last digit, but you follow the same steps.

User Avatar

Wiki User

8y ago

Still curious? Ask our experts.

Chat with our AI personalities

MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
More answers

You start with a number in decimal for example...

151 ------- if its odd, write a 1 (if it's even write a 0)

then divide by two

75. 5 -- then moving to the left of where you wrote the first digit write if it's odd 1 (even 0)

now drop whatever decimal you have

75----- then divide by two again

37.5 so write a one (or 0 if it's even) to the left of the other numbers

drop the decimal

37----- then divide by two

18.5--------so write a 0 (or 1 if it's odd) to the leftof the other numbers

this far you should have 0111

drop the decimal

18, then divide by 2

9.5---- so write a 1 (or 0 if it's even) to the left of the other numbers

drop the decimal

9, divide by two

4.5, so write a 0 (or 1 if it's odd) to the left of the other numbers

drop the decimal

4, divide by two

2, so write a 0 (or 1 if it's odd) to the left of the other numbers

(drop the decimal)

2, then divide by two

you should always end up with 1 or a 1 with a decimal, like 1.5

since the one is odd, you write a one to the left of the other numbers

if you convert 151 into binary you should end up with 10010111

(The math is x/2, drop decimal, x/2, drop decimal)

Once you are done, make sure you converted the right way using this decimal to binary tool - http://www.stringfunction.com/decimal-binary.html

User Avatar

Wiki User

15y ago
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert binary to decimal?
Write your answer...
Submit
Still have questions?
magnify glass
imp