Converting...
Convert numbers between different numeral systems including binary, octal, decimal, and hexadecimal. Essential for programmers, computer science students, and anyone working with different number representations.
Uses digits: 0, 1
Example: 1010 = 10₁₀
Uses digits: 0-7
Example: 12 = 10₁₀
Uses digits: 0-9
Standard counting system
Uses: 0-9, A-F
Example: A = 10₁₀
Number bases are different ways to represent numbers. Binary (base 2) uses only 0s and 1s, while hexadecimal (base 16) uses 0-9 and A-F.
Binary represents how computers store data, hexadecimal is compact for representing large binary numbers, and octal was popular in older computer systems.
In hex, A=10, B=11, C=12, D=13, E=14, F=15. So FF in hex equals 255 in decimal (15×16 + 15 = 255).
JavaScript can safely handle integers up to 2^53-1 (9,007,199,254,740,991). Larger numbers may lose precision in conversion.