6 in Binary
6 in binary is 110. It takes 3 bits to write, and as a full byte it is 00000110.
How to convert 6 to binary
Divide by 2, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from the last row up to the first, spell out 110.
| Division | Quotient | Remainder |
|---|---|---|
| 6 ÷ 2 | 3 | 0 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Check it the other way
To verify, read 110 left to right, giving each digit its place value and adding up the places that hold a 1.
| Bit | Place value | Contributes |
|---|---|---|
| 1 | 22 = 4 | 4 |
| 1 | 21 = 2 | 2 |
| 0 | 20 = 1 | 0 |
Adding the contributions: 4 + 2 + 0 = 6. The conversion checks out.
6 in every base
| Format | Value |
|---|---|
| Binary | 110 |
| Decimal | 6 |
| Hexadecimal | 6 |
| Octal | 6 |
| As a byte (8-bit) | 00000110 |
Worth knowing about 6
Six is the smallest perfect number, equal to the sum of its own divisors 1, 2, and 3, a property so rare that only four such numbers were known for over a thousand years.
Convert another number
- Binary
- Hex
- Octal
Nearby numbers
Or browse the full table at numbers in binary.
FAQ
What is 6 in binary?
6 in binary is 110. Each digit's place is worth double the one to its right, starting from 1. Add up the places holding a 1 and you get 6 back. As a full 8-bit byte it is written 00000110, the same value padded with leading zeros.
How many bits does 6 need?
6 needs 3 bits in binary: 110. A number needs one more bit each time it crosses a power of two, which is why the counts climb slowly. Stored in a computer it usually occupies a full 8-bit byte anyway, written 00000110 with zeros filling the front.
What is 6 in hex?
6 in hexadecimal is 6. Hex is base 16, so every hex digit stands for exactly four binary digits, which makes it a compact way to write the same value. In octal, base 8, 6 becomes 6. All three are just different spellings of the number 6.