Number 240 in binary code

Decimal to Binary Converter
Decimal Number to convert

What is number 240 in binary?

Answer

Decimal number 240 in binary is
11110000

8 bits: 4 ones, 4 zeros · as a byte: 1111 0000

Base 2, unsigned: each place is worth a power of 2 — from 2⁷ = 128 on the left to 2⁰ = 1 on the right.

Divide by 2, keep the remainder
divisionquotientremainder
240 ÷ 21200
120 ÷ 2600
60 ÷ 2300
30 ÷ 2150
15 ÷ 271
7 ÷ 231
3 ÷ 211
1 ÷ 201

↑ Read the remainders from bottom to top: 11110000

See Also

FAQ

What is number 240 in binary?

Decimal number 240 in binary is 11110000

How many ones and zeros are in 240 in binary?

11110000 has 8 bits: 4 ones and 4 zeros. As a byte it is written 1111 0000.

What is 240 in hexadecimal?

240 in hexadecimal is F0 (0xF0): each hex digit stands for 4 bits — 1111 = F, 0000 = 0.