Number Base Conversion Calculator
Type a number, its base and the base you want to see it in.
The base the number is typed in.
Digits 0–9 and letters A–Z; a leading minus sign is kept.
Result
You entered
Binary
Octal
Decimal
Hex
Show the work
Repeated division by 2
To write a decimal number in binary, divide by the base again and again, keeping each remainder , until the quotient is . Read the remainders from the last to the first.
Using
Repeated division by 8
To write a decimal number in octal, divide by the base again and again, keeping each remainder , until the quotient is . Read the remainders from the last to the first.
Using
Repeated division by 16
To write a decimal number in hexadecimal, divide by the base again and again, keeping each remainder , until the quotient is . Read the remainders from the last to the first, with 10 and up written as letters.
Using
Result
So is in binary, in octal, in decimal and in hex.