A number base (radix) is the count of distinct digits used in a number system. The decimal (base-10) system we use every day has 10 digits, 0-9. Computers use the binary (base-2) system because hardware can only reliably distinguish two states (on/off); octal (base-8) and hexadecimal (base-16) act as "shortcuts" for writing binary numbers compactly (each octal digit maps to 3 bits, each hex digit to 4 bits).
How do you convert decimal to binary? (division method)
The "Convert" tab above lists these steps automatically; precision never degrades even with very large numbers, thanks to BigInt.
How do you convert binary to decimal? (positional weight method)
What is bit grouping (nibble / byte), and why does it matter?
Binary numbers get long, so for readability they're split into groups of 4 (nibble) or 8 (byte). For example, writing 1111 1111 instead of 11111111 makes it visually clear that this is a single byte (8 bits). This tool automatically shows every result grouped by both nibble and byte.
How do you convert negative and decimal numbers to other bases?
Example conversion table
| Decimal | Binary | Octal | Hex |
|---|