Skip to main content
DevTools24

Number Systems Calculator

Convert numbers between binary, octal, decimal, and hexadecimal systems. Perform bitwise operations including AND, OR, XOR, NOT, and bit shifts.

Quick Reference

Binary (base 2)
0, 1 only
Prefix: 0b
Octal (base 8)
0-7 only
Prefix: 0o
Decimal (base 10)
0-9
No prefix
Hex (base 16)
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