All Calculators
๐Ÿ’ป

Binary Calculator

Base Converter

About Binary & Number Systems

Number Bases

  • Binary (base 2) โ€” Only 0 and 1. Foundation of all digital computing. Every number is a sum of powers of 2.
  • Octal (base 8) โ€” Digits 0โ€“7. Common in Unix file permissions (e.g., chmod 755).
  • Decimal (base 10) โ€” The familiar system. Digits 0โ€“9.
  • Hexadecimal (base 16) โ€” Digits 0โ€“9 and Aโ€“F. Used heavily in memory addresses, colors (#FF5733), and debugging.

Bitwise Operations

  • AND โ€” 1 only if both bits are 1. Used for masking bits.
  • OR โ€” 1 if either bit is 1. Used for setting bits.
  • XOR โ€” 1 if bits are different. Used for toggling and encryption.
  • NOT โ€” Flips all bits. One's complement.
  • << / >> โ€” Shift bits left/right. Equivalent to ร—2 or รท2.

Binary, octal, decimal, and hex arithmetic plus bitwise AND, OR, XOR, NOT operations.