Number Base Conversion Explained: Binary, Octal, Decimal & Hexadecimal
Computers think in binary, humans in decimal, and colors and memory addresses often use hexadecimal. Base conversion is foundational to understanding the low level.
Why multiple bases
- Binary (0/1) is the circuit's native language
- Octal/hex are compact forms of binary
- Decimal is human habit
- Hex is common for color values (#RRGGBB) and memory addresses
Conversion thinking
Decimal to others uses 'divide by base, take remainder'; others to decimal uses 'expand by weight and sum.' Once you know the principles, a tool handles bulk conversion more efficiently.
Convert online
FreeToolset's base converter does real-time binary/octal/decimal/hex conversion.
๐ก When you see a color like #ff8800, try splitting it into three hex bytes for more intuitive color tuning.