Binary, Hex & Decimal Converter
Convert numbers between binary, decimal, hexadecimal, and octal instantly.
Number Base Converter
Your Result
About Number Bases
Different number systems ("bases") represent the same value using different digit counts. Decimal (base 10) is what we use every day. Binary (base 2) uses only 0 and 1, and is the foundation of digital computing. Hexadecimal (base 16) uses digits 0-9 and letters A-F, and is common in programming and color codes. Octal (base 8) uses digits 0-7.
This tool converts any value from one base to all the others simultaneously.
Frequently Asked Questions
Why is hexadecimal used in programming?
Hex is a compact way to represent binary data, since each hex digit represents exactly 4 binary bits, making it easier for humans to read than long strings of 1s and 0s.
What characters are valid in hexadecimal?
Digits 0-9 and letters A through F (representing 10-15), the calculator accepts both upper and lower case letters.
Can I convert negative numbers?
This calculator is designed for non-negative whole numbers, negative numbers in different bases require additional conventions like two's complement not covered here.