What number base conversion is for
Number systems like binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) show up constantly in programming — from memory addresses and CSS colors (hex) to Unix file permissions (octal) and internal data representations (binary).
How it works
Type the number in the selected source base (for example FF in hexadecimal or 11111111 in binary) and instantly see its representation in the other three bases.
Frequently asked questions
Why is FF in hexadecimal equal to 255 in decimal?
Because each hex digit represents 4 bits (16 possible values, 0 to F), and F=15, so FF = 15×16 + 15 = 255.
Can I enter negative numbers?
No — this tool only works with non-negative integers.