Calculator tool
Enter a non-negative decimal integer and select a target base. Binary (base 2) uses only 0s and 1s. Hexadecimal (base 16) uses 0–9 and A–F. Octal (base 8) uses 0–7. The calculator also shows the number of bits for binary outputs.
Review the inputs carefully and treat the output as an estimate. For decisions involving money, taxes, health, law, or security, compare the result with trusted professional guidance when needed.
Why are binary and hex commonly used in computing?
Computers store data in binary (base 2). Hexadecimal is a compact way to represent binary — each hex digit corresponds to exactly 4 bits.
What is the maximum input?
JavaScript integers are safe up to 2^53 − 1. Very large numbers may lose precision.
Hex Calculator
Convert numbers between hexadecimal, decimal, binary, and octal number bases.
Open toolScientific Calculator
Calculate square roots, trig functions, logarithms, and more.
Open toolConversion Calculator
Convert between common measurement units including length, temperature, area, and volume.
Open tool