🔢 Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) simultaneously.
Frequently Asked Questions
How do I convert hexadecimal to decimal?
Multiply each digit by a power of 16 and sum the results. Example: 0xFF = 15×16 + 15 = 255.
What is the relationship between binary and hexadecimal?
One hex digit corresponds to exactly 4 binary bits. Example: 0xA = 1010 in binary. This is why hex is commonly used to represent byte values.
How are negative numbers represented?
This tool handles positive integers only. Negative numbers in binary are typically represented using two's complement, which depends on the architecture and bit width.