30 in Binary
Decimal 30 equals 11110 in binary.
30 in all number bases
Decimal30
Hexadecimal0x1E
Binary0001 1110
Octal36
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
30Hex
0x1EBinary
0b11110Octal
0o36How 30 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
30÷ 2 =15remainder0
15÷ 2 =7remainder1
7÷ 2 =3remainder1
3÷ 2 =1remainder1
1÷ 2 =0remainder1
Result (remainders bottom to top): 11110
This tool runs entirely in your browser - nothing you enter is uploaded or stored.