Number Base Converter
Convert between binary, octal, decimal and hexadecimal. Live conversion as you type.
DEC
HEX
BIN
OCT
Bit Visualizer
Common Values
00x00 / 0b0
10x01 / 0b1
1270x7F / 01111111
1280x80 / 10000000
2550xFF / 11111111
2560x100 / 100000000
655350xFFFF (16-bit max)
42949672950xFFFFFFFF (32-bit max)
Advertisement
Frequently Asked Questions
Multiply each bit by 2 raised to its position (counting from right, starting at 0), then add them up. Example: 1101 = 1×8 + 1×4 + 0×2 + 1×1 = 13.
Each hex digit represents exactly 4 bits (a nibble), so a byte is always exactly 2 hex digits. This makes hex a compact, human-readable representation of binary data — much shorter than writing out all the binary digits. Used extensively in memory addresses, color codes, and binary protocols.
A bit is a single binary digit (0 or 1). A nibble is 4 bits (one hex digit). A byte is 8 bits (two hex digits, values 0–255). A word is typically 16 or 32 bits depending on the architecture.