| Decimal | Binary | Octal | Hex |
|---|
Frequently Asked Questions
Decimal (base-10) uses digits 0–9. Binary (base-2) uses 0 and 1, used in computer hardware. Octal (base-8) uses 0–7, used in Unix file permissions. Hexadecimal (base-16) uses 0–9 and A–F, widely used for colors, memory addresses, and byte values.
Hex is compact and maps cleanly to binary — each hex digit represents exactly 4 binary bits. This makes it easy to express memory addresses, color codes (e.g., #FF5733), bitmasks, and byte values without the verbose length of binary.
Multiply each binary digit by 2 raised to its position power (starting from 0 on the right) and sum the results. For example, 1011₂ = 1×8 + 0×4 + 1×2 + 1×1 = 11₁₀. This tool does this calculation instantly for any number.
Base-64 is an encoding scheme (not a number system) used to represent binary data as ASCII text — commonly seen in data URIs, email attachments, and API tokens. Use the Base64 Encoder/Decoder tool on GlintKit for those conversions.