8 in Binary

8 in binary is 1000. It takes 4 bits to write, and as a full byte it is 00001000.

How to convert 8 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 1000.

DivisionQuotientRemainder
8 ÷ 240
4 ÷ 220
2 ÷ 210
1 ÷ 201

Check it the other way

To verify, read 1000 left to right, giving each digit its place value and adding up the places that hold a 1.

BitPlace valueContributes
123 = 88
022 = 40
021 = 20
020 = 10

Adding the contributions: 8 + 0 + 0 + 0 = 8. The conversion checks out.

8 in every base

FormatValue
Binary1000
Decimal8
Hexadecimal8
Octal10
As a byte (8-bit)00001000

Worth knowing about 8

Eight is the number of bits in a byte, the reason networking standards say octet, and the base of octal, where every digit stands in for exactly three bits.

Convert another number

Binary
 
Hex
 
Octal
 

Nearby numbers

Or browse the full table at numbers in binary.

FAQ

What is 8 in binary?

8 converts to 1000 in binary. Every 1 in the pattern marks a power of two that is part of the total, and every 0 marks one that is skipped. Add the marked powers and the sum is exactly 8. Padded to a byte, it reads 00001000.

How many bits does 8 need?

1000 is 4 bits long, so 8 needs 4 bits at minimum. The count grows by one whenever a number reaches the next power of two. Inside a byte, the leftover positions are filled with zeros, which is why 8 appears as 00001000 in most computer contexts.

What is 8 in hex?

8 written in base 16 is 8. Programmers lean on hex because each digit maps to exactly four bits, turning long binary strings into short codes. For completeness, 8 in octal is 10 and in binary it is 1000. They all name the same quantity.