Number Base Converter
Convert between Binary, Decimal, Hexadecimal, and Octal instantly
Frequently Asked Questions
What are number bases?
A number base (or radix) defines how many unique digits are used. Decimal uses 0-9 (base 10), binary uses 0-1 (base 2), octal uses 0-7 (base 8), and hexadecimal uses 0-9 and A-F (base 16).
Why is binary important in computing?
Computers use transistors that have two states: on (1) and off (0). Binary is the fundamental language of all digital systems. Every piece of data in a computer is ultimately represented in binary.
What is hexadecimal used for?
Hexadecimal is widely used in programming for memory addresses, colour codes (like #FF5733), and representing binary data compactly. Each hex digit represents exactly 4 binary digits (bits).
How do negative numbers work in binary?
Computers typically use two's complement to represent negative numbers. In this system, the most significant bit indicates the sign. This converter handles negative numbers by showing the sign separately.
What is ASCII?
ASCII (American Standard Code for Information Interchange) maps numbers 0-127 to characters. For example, 65 is 'A', 97 is 'a', and 48 is '0'. This converter shows the ASCII character for decimal values in that range.