Number Systems Calculator
Convert numbers between binary, octal, decimal, and hexadecimal systems. Perform bitwise operations including AND, OR, XOR, NOT, and bit shifts.
Input
Output
Result appears here
Quick Reference
Binary (base 2)
0, 1 only
Prefix: 0b
0, 1 only
Prefix: 0b
Octal (base 8)
0-7 only
Prefix: 0o
0-7 only
Prefix: 0o
Decimal (base 10)
0-9
No prefix
0-9
No prefix
Hex (base 16)
0-9, A-F
Prefix: 0x
0-9, A-F
Prefix: 0x
Number Systems & Bitwise Operations - Technical Details
Understanding number systems is essential for low-level programming, networking, and debugging. Bitwise operations are used for flags, permissions, masks, and optimization in systems programming.
Command-line Alternative
# Convert in terminal (bash)\necho $((2#1010)) # binary to decimal\nprintf '%x\\n' 255 # decimal to hex\nprintf '%d\\n' 0xFF # hex to decimal\necho $((16#FF)) # hex to decimal