Computers and Software calculators

Number base converter

Convert a number between binary, octal, decimal and hexadecimal.

Enter your details
Current base of the number

For hexadecimal you can use the letters A–F.

Result
–

Advertisement
About this calculator

How is it calculated?

The number is first converted to decimal (each digit is multiplied by the base raised to its position and the results are added). It is then written in the target base by repeated division.

Example

255 (decimal) = 11111111 (binary) = FF (hex).