Base Converter
Convert numbers between different number systems (binary, decimal, hexadecimal, etc.)
The Base Converter tool allows you to easily convert numbers between different numeral systems, including binary, octal, decimal, hexadecimal, and more. Simply select the source base, enter your number, and instantly see its representation in all supported bases. This tool is perfect for students, programmers, engineers, and anyone working with different number systems. It supports bases from 2 (binary) up to 36, and provides helpful tips and validation to ensure accurate conversions.

- Select Source Base
Choose the number system from which you want to convert (e.g. decimal, binary, hexadecimal)
- Enter Number
Enter a valid number for the selected base
- View Conversions
See your number in all available bases
Tips and Tricks
Binary system (base 2) uses only 0 and 1, while hexadecimal (base 16) uses 0-9 and A-F
Decimal system (base 10) is our standard number system that uses digits 0-9
Higher bases (like Base32 and Base36) use letters for larger numbers
The converter automatically validates the input based on the selected base
In hexadecimal and higher bases, letters are not case-sensitive (a-f or A-F)
FAQ
- How does the base converter work?
- Select the source base, enter your number, and instantly see its representation in all supported bases.
- What bases are supported?
- The base converter supports bases from 2 (binary) up to 36.
- What is the maximum number of digits allowed for each base?
- Each base supports up to 36 unique symbols (0–9 and A–Z). The maximum input length may vary depending on the tool or platform.
- What is the formula to convert a number from decimal to hexadecimal
- Repeatedly divide the decimal number by 16, noting the remainders, until the quotient is 0. Then, read the remainders in reverse order, converting any remainders 10-15 to their hexadecimal equivalents A-F.
- What is the formula to convert a number from hexadecimal to decimal
- Multiply each hexadecimal digit by its corresponding power of 16, then sum the results.
- What is the formula to convert a number from binary to decimal
- Multiply each binary digit by its corresponding power of 2, then sum the results.
- What is the formula to convert a number from decimal to binary
- Repeatedly divide the decimal number by 2, noting the remainders, until the quotient is 0. Then, read the remainders in reverse order.
- What is the formula to convert a number from binary to hexadecimal
- Group the binary digits into groups of 4, starting from the right, and convert each group to its hexadecimal equivalent.
- What is the formula to convert a number from hexadecimal to binary
- Convert each hexadecimal digit to its binary equivalent (0-9 to 0000-1001, A-F to 1010-1111), then concatenate the results.
- What is the formula to convert a number from octal to decimal
- Multiply each octal digit by its corresponding power of 8, then sum the results.