How it works
Converting binary to denary means adding up the place values that hold a 1. 101101 is 32 + 8 + 4 + 1 = 45. Denary is the everyday base ten, also called decimal.
Read the full guide
Binary to denary by hand
Write the place values over the bits, from the right: 1, 2, 4, 8, 16, 32, 64, 128. Each is double the one before. Add those that stand over a 1. For 11010011 that is 128 + 64 + 16 + 2 + 1 = 211.
Denary to binary by hand
For a number up to 255, start at 128. If it fits, write 1 and take it away. If not, write 0. Go on with 64, 32, 16, 8, 4, 2 and 1. For 77: 128 no, 64 yes (13 left), 32 no, 16 no, 8 yes (5 left), 4 yes (1 left), 2 no, 1 yes. So 01001101.
- The last bit tells odd from even: a number that ends in 1 is odd.
- Zeros in front change nothing: 00101101 is still 45.
Questions and answers
What is denary?
Denary is base ten: the digits 0 to 9, with places worth 1, 10, 100 and so on. Binary is base two: 0 and 1, with places worth 1, 2, 4, 8.
What is the largest denary number in 8 bits?
255, which is 11111111. Eight bits give 256 different numbers, 0 to 255. Nibbles, four bits, stop at 15.
How many bits does a number need?
Find the largest place value that fits into it and count the places down to 1. In 200 the largest is 128, the eighth place, so 200 needs eight bits. 256 needs nine.
Why does my answer not match a binary translator?
A binary translator reads ones and zeros as letters: 01000001 is A. Here it is a number, 65. Use the binary translator for a message.