Octal Calculator

Perform mathematical and bitwise operations with octal (base 8) numbers. Supports addition, subtraction, multiplication, division, and bitwise operations (AND, OR, XOR, NOT, shifts). Results shown in octal, decimal, binary, and hexadecimal.

Decimal to Octal:
Divide by 8, record remainders from bottom to top

Octal to Decimal:
Sum of (digit × 8^position)

Octal digits: 0-7 only
Example: Convert 64 to octal

64 ÷ 8 = 8 remainder 0
8 ÷ 8 = 1 remainder 0
1 ÷ 8 = 0 remainder 1

Octal: 100

Verify: (1×64) + (0×8) + 0 = 64 ✓