Number Base Converter — Complete Guide
Last updated: · Artur Aleksander Kozak
Number base conversion is fundamental to computer science, electronics, and digital communication. Humans use base 10 (decimal) because we have 10 fingers. Computers use base 2 (binary) because transistors have two states: on and off. Programmers use hexadecimal (base 16) as a convenient shorthand for binary. Web designers use hex codes for colors. Digital systems use octal for file permissions. Understanding these systems demystifies how computers actually store and process information.
History & Background
The decimal system originated in ancient India and spread through Arab mathematicians to Europe (hence "Arabic numerals"). The concept of positional notation — where the position of a digit determines its value — was revolutionary compared to Roman numerals, which used addition and subtraction of fixed symbols.
Binary arithmetic was formalized by Gottfried Wilhelm Leibniz in 1703, partly inspired by the ancient Chinese I Ching. George Boole built on this in 1854 with Boolean algebra. Claude Shannon's 1937 master's thesis showed that Boolean algebra could be implemented using electrical relays — the theoretical foundation of all digital computing. Early electronic computers of the 1940s were binary, and every computer since has followed the same path.
Units & Reference Values
| Unit | Equivalent | Common use |
|---|---|---|
| Binary (Base 2) | Digits: 0, 1 | Computer hardware, data |
| Octal (Base 8) | Digits: 0-7 | Unix file permissions |
| Decimal (Base 10) | Digits: 0-9 | Human everyday use |
| Hexadecimal (Base 16) | Digits: 0-9, A-F | Colors, memory, debugging |
| Roman Numerals | I, V, X, L, C, D, M | Historical and formal use |
Did you know?
- The number 255 in decimal = 11111111 in binary = FF in hexadecimal — the maximum value of a single byte.
- Unix file permissions (like chmod 755) use octal: 7 = rwx (read+write+execute), 5 = r-x.
- Hexadecimal is used in CSS colors: #FF0000 = red (FF=255 red, 00=0 green, 00=0 blue).
- IPv6 addresses are written in hexadecimal: 2001:0db8:85a3:0000:0000:8a2e:0370:7334.
Other Guides
Clothing & Shoe Size Converter BMI Calculator Fuel Consumption Converter Angle Converter Time Unit Converter Power Converter
Home · All Guides · About Us · What's new · Contact · Privacy Policy
Language: Italiano · English · Español · Français · Deutsch · Português · 中文 · 日本語