Convert decimal integers to binary, octal and hexadecimal. Positional number systems use different bases to represent the same integer.
✦ Interactive calculatorFree · No sign-up
Enter the values shown in each labelled field. Invalid values return a specific explanation.
YOUR RESULT
Ready to calculate
Enter your values and choose Calculate.
Results are calculated locally in your browser. Verify critical calculations independently.
How this calculator works
Positional number systems use different bases to represent the same integer. Repeated division and remainder conversion yield the digits for bases 2, 8 and 16.
Worked example
255 decimal = 11111111 binary = 377 octal = FF hexadecimal.
Important limitations
Only signed safe decimal integers are supported.