How to use it
- Type the number and say which base it is in.
- Read the binary, octal, decimal and hexadecimal forms.
- Optionally choose another base from 2 to 36.
How it works
The digits are read one at a time and combined with exact integer arithmetic (BigInt), so very large numbers do not lose precision. For bases above 10 the letters a–z stand for 10–35, and uppercase or lowercase is accepted.
Examples
- 255 in decimal is 11111111 in binary and FF in hexadecimal.
Limitations
- Whole numbers only: fractions such as 0.5 are not supported.
- Negative numbers are shown with a minus sign, not as two’s complement as a computer would store them.
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email contact@tools.gift.