Skip to content

34 in Binary

Decimal 34 equals 100010 in binary.

34 in all number bases

Decimal34
Hexadecimal0x22
Binary0010 0010
Octal42

Try another value

Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.

Input base:
Decimal34
Hex0x22
Binary0b100010
Octal0o42

How 34 converts from decimal to binary

Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:

34÷ 2 =17remainder0
17÷ 2 =8remainder1
8÷ 2 =4remainder0
4÷ 2 =2remainder0
2÷ 2 =1remainder0
1÷ 2 =0remainder1

Result (remainders bottom to top): 100010

This tool runs entirely in your browser - nothing you enter is uploaded or stored.

Want to learn the method behind this tool? Read How to Convert Decimal to Binary - the full step-by-step guide.