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.

DivisionQuotientRemainder
6 ÷ 230
3 ÷ 211
1 ÷ 201

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.

BitPlace valueContributes
122 = 44
121 = 22
020 = 10

Adding the contributions: 4 + 2 + 0 = 6. The conversion checks out.

6 in every base

FormatValue
Binary110
Decimal6
Hexadecimal6
Octal6
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.