Binary Calculator

Perform arithmetic and bitwise operations on binary numbers. Results are shown in binary, decimal, hexadecimal, and octal.

Input

= 10 (decimal)
= 6 (decimal)
Step-by-step
  0001010
+ 0000110
  0010000

Results

1010 + 0110 =
10000
binary result
BaseResult
Binary (2)10000
Decimal (10)16
Hex (16)10
Octal (8)20

Binary Reference

DecimalBinaryHex
000000
100011
200102
300113
401004
501015
601106
701117
810008
910019
101010A
111011B
121100C
131101D
141110E
151111F

Convert numbers between binary, decimal, and hexadecimal, or perform arithmetic directly on binary values, with our free binary calculator.

How It Works

Binary (base 2) represents numbers using only 0s and 1s, where each digit's position represents a power of 2. Conversion to decimal sums each binary digit multiplied by its corresponding power of 2.

How to Use This Calculator

  1. Select conversion or arithmetic mode
  2. Enter your binary, decimal, or hex value
  3. Click Calculate to see the converted result or arithmetic answer

Frequently Asked Questions

Why is binary used in computing?

Computer hardware is built on transistors that have two states (on/off), making binary's two digits (0 and 1) a natural fit for digital electronics.

How do I convert binary to hexadecimal?

Since 16 is a power of 2 (2⁴), each hex digit corresponds to exactly 4 binary digits, making conversion straightforward by grouping binary digits in sets of four.

Can this calculator handle negative binary numbers?

Negative binary numbers are typically represented using two's complement in computing; check if your specific calculation requires signed number handling.

What's the largest number I can convert?

Most calculators handle standard integer ranges; very large numbers may require specialized big-number tools.