Number Base Converter
Convert between decimal, binary, octal, hex, and any base (2-36)
Frequently Asked Questions
What number bases does this converter support? +
This converter supports all standard bases including binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). It also supports any custom base from 2 to 36, using digits 0-9 and letters A-Z.
How do I convert a hexadecimal number to decimal? +
Select "Hexadecimal (16)" from the input base dropdown, type your hex number (e.g., FF or 1A3), and the decimal equivalent will appear instantly in the results below. You'll also see the binary and octal representations.
What is the largest number I can convert? +
The converter uses JavaScript's built-in parseInt for conversion, so it works accurately for integers up to 2^53 - 1 (about 9 quadrillion). That's more than enough for virtually all practical use cases.
What are common uses for number base conversion? +
Number base conversion is essential in programming (hex colors, binary flags, memory addresses), networking (IP addresses, subnet masks), digital electronics (binary logic), and computer science education. Hex is widely used for colors (#FF0000) and memory addresses.
Does the converter work with negative numbers? +
The converter handles positive integers. For negative numbers, enter the absolute value and note the sign separately. Two's complement representation for negative binary numbers is a different concept typically handled at the hardware level.