25 in Binary
Decimal 25 equals 11001 in binary.
25 in all number bases
Decimal25
Hexadecimal0x19
Binary0001 1001
Octal31
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
25Hex
0x19Binary
0b11001Octal
0o31How 25 converts from decimal to binary
Divide by 2 repeatedly and keep each remainder, then read the remainders from bottom to top:
25÷ 2 =12remainder1
12÷ 2 =6remainder0
6÷ 2 =3remainder0
3÷ 2 =1remainder1
1÷ 2 =0remainder1
Result (remainders bottom to top): 11001
This tool runs entirely in your browser - nothing you enter is uploaded or stored.