256 in Binary — What is 256 in Binary?

256 in binary is 100000000. 256 = 2^8, so its binary form is a 1 followed by 8 zero(s). In octal 256 is 400 and in hexadecimal it is 100. The bit pattern uses 9 bits and fits in 2 bytes....

256 IN ALL BASES

256 IN BINARY

100000000

9 bits · 2 bytes · 1 one

Binary (base 2)

100000000

Octal (base 8)

400

Decimal (base 10)

256

Hexadecimal (base 16)

100

BCD

0010 0101 0110

Bit length

9

Byte count

2

Count of 1s

1

Count of 0s

8

Is power of 2

Yes ✓

Nearest 2ⁿ

2^8

HOW TO CONVERT 256 TO BINARY

Method: divide by 2, collect remainders

1

256 ÷ 2 = 128 remainder 0

2

128 ÷ 2 = 64 remainder 0

3

64 ÷ 2 = 32 remainder 0

4

32 ÷ 2 = 16 remainder 0

5

16 ÷ 2 = 8 remainder 0

6

8 ÷ 2 = 4 remainder 0

7

4 ÷ 2 = 2 remainder 0

8

2 ÷ 2 = 1 remainder 0

9

1 ÷ 2 = 0 remainder 1

Read remainders bottom to top: 100000000

VERIFY: BINARY BACK TO DECIMAL

1×2^8 + 0×2^7 + 0×2^6 + 0×2^5 + 0×2^4 + 0×2^3 + 0×2^2 + 0×2^1 + 0×2^0

= 256 = 256

FUN FACT

256 = 2^8 is the number of values in one byte (0-255). In binary, 256 = 100000000 — 9 bits, one more than a byte. Each RGB color channel has 256 values (0-255).

BIT VISUALIZER

BIT PATTERN

Byte 2

0
15
0
14
0
13
0
12
0
11
0
10
0
9
1
8

Byte 1

0
7
0
6
0
5
0
4
0
3
0
2
0
1
0
0

POWERS OF 2 REFERENCE

n2ⁿBinaryHex
0111
12102
241004
3810008
4161000010
53210000020
664100000040
71281000000080
8256100000000100
95121000000000200
10102410000000000400
153276810000000000000008000
16655361000000000000000010000
Created with❤️byeaglecalculator.com

HOW TO CONVERT

  1. 1

    Divide 256 by 2 repeatedly, collecting remainders: 256 div 2 = 128 remainder 0 -> 128 div 2 = 64 remainder 0 -> 64 div 2 = 32 remainder 0 -> 32 div 2 = 16 remainder 0 -> 16 div 2 = 8 remainder 0 -> 8 div 2 = 4 remainder 0 -> 4 div 2 = 2 remainder 0 -> 2 div 2 = 1 remainder 0 -> 1 div 2 = 0 remainder 1. Read remainders bottom to top: 100000000.

  2. 2

    Verify: 1*2^8 + 0*2^7 + 0*2^6 + 0*2^5 + 0*2^4 + 0*2^3 + 0*2^2 + 0*2^1 + 0*2^0 = 256 = 256. Each bit position represents a power of 2, starting at 2^0 = 1 on the right.

  3. 3

    256 in other bases: octal = 400, hexadecimal = 100. 256 = 2^8, so its binary form is a 1 followed by 8 zero(s).

  4. 4

    The bit pattern uses 9 bits and fits in 2 bytes. When stored as a full byte: 0000000100000000.

WORKED EXAMPLE

256 decimal to binary: 256 div 2 = 128 remainder 0 -> 128 div 2 = 64 remainder 0 -> 64 div 2 = 32 remainder 0 -> 32 div 2 = 16 remainder 0 -> 16 div 2 = 8 remainder 0 -> 8 div 2 = 4 remainder 0 -> 4 div 2 = 2 remainder 0 -> 2 div 2 = 1 remainder 0 -> 1 div 2 = 0 remainder 1 -> read bottom to top: 100000000. Verify: 1*2^8 + 0*2^7 + 0*2^6 + 0*2^5 + 0*2^4 + 0*2^3 + 0*2^2 + 0*2^1 + 0*2^0 = 256. Octal: 400, Hex: 100.

FREQUENTLY ASKED QUESTIONS

RELATED

MORE NUMBER THEORY CALCULATORS

Was this calculator helpful?

Last updated: April 29, 2026 · Formula verified by EagleCalculator team · Eagle-eyed accuracy for every calculation.