Convert between binary, octal, decimal and hexadecimal
Built & maintained by Pappu Venkata Subbi Reddy, founder of Clacify
Clacify's Number Base Converter converts numbers between all four common numeral systems: binary (base 2, used in computer logic), octal (base 8, used in Unix permissions), decimal (base 10, standard), and hexadecimal (base 16, used in memory addresses, HTML colours, and machine code). Enter any number in any base and all four representations update instantly.
Multiply each binary digit by 2 raised to its position power (starting from 0 on the right) and sum them. Example: 1101₂ = 1×8 + 1×4 + 0×2 + 1×1 = 8+4+0+1 = 13₁₀. For hexadecimal to decimal: 1F₁₆ = 1×16 + 15×1 = 31₁₀.
Hexadecimal (base 16, digits 0–9 and A–F) compactly represents binary data — every 4 binary digits map exactly to one hex digit. This makes reading memory addresses, colour codes, and machine code much easier: 00101111₂ = 2F₁₆ (2 characters instead of 8). HTML colours use hex: #FF5733 means R=255, G=87, B=51.