Number Base Converter
Convert numbers between binary, octal, decimal and hexadecimal.
Assumptions used in this calculation
- Integer only: Only whole numbers are supported; fractional binary/hex/octal values are not converted.
About this calculator
Converting between binary, octal, decimal and hexadecimal by hand means repeatedly dividing by the target base and tracking remainders, or grouping binary digits into chunks of 3 or 4, both of which are tedious and easy to mis-tally for anything longer than a few digits, common when working with programming, networking or computer-science coursework. This calculator takes a number in any one of the four bases, parses it according to the base you specify, and re-renders it in all four simultaneously, binary, octal, decimal and hexadecimal, so you see every representation of the same value at once. Hexadecimal input accepts digits 0-9 plus letters A-F (case-insensitive) for the values 10 through 15, matching standard hex notation, and only whole numbers are supported since fractional values don't have a single clean representation across all four bases. That eliminates the manual remainder-tracking and digit-grouping that base conversion by hand requires.
Worked example
Decimal 255
Result: Binary 11111111, Hex FF
Was this helpful?

