Number Base Converter
Convert numbers between binary, decimal, hexadecimal, octal, and any base from 2 to 36.
Binary Base 2
Octal Base 8
Decimal Base 10
Hexadecimal Base 16
Number Systems Explained
Computers process data in binary (base 2) — only 1s and 0s. Humans commonly use decimal (base 10). Programmers frequently work with hexadecimal (base 16) since one hex digit represents exactly 4 bits, and octal (base 8) which represents 3 bits per digit.
Quick Reference
| Decimal | Binary | Hex | Octal |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 8 | 1000 | 8 | 10 |
| 15 | 1111 | F | 17 |
| 16 | 10000 | 10 | 20 |
| 255 | 11111111 | FF | 377 |