Binary Calculator

Your details

Limit the result to this many bits, matching common integer types (byte = 8, short = 16, int = 32). Choose "Unlimited" for arbitrary-precision arithmetic.
A binary value using only the digits 0 and 1.
Use only digits valid for the chosen base: 0-1 for binary, 0-7 for octal, 0-9 for decimal, 0-9 and a-f for hex.
Result (binary)
00010000
Signed interpretation16 (positive, same as unsigned)
Result (decimal, unsigned)16
Result (octal)20
Result (hexadecimal)10

Result: 00010000 in binary (8-bit).

  • 1010 + 110 = 00010000 in binary (8-bit).
  • That is 16 in decimal, 020 in octal, and 0x10 in hex.
  • Each hex digit packs exactly four binary bits, so one byte (8 bits) maps neatly to two hex characters.

Next stepUse the base converter below to translate any single value between binary, octal, decimal, and hex.

= Powered by OnlyCalculators