Binary Calculator - Calculator See


Binary Calculator

Perform binary arithmetic (+, -, ×, ÷), bitwise operations (AND, OR, XOR), and convert between binary, decimal, and hexadecimal.

Calculator Inputs

Digits 0 and 1 only.
Operation.
Digits 0 and 1 only.

Calculated Results

Binary Result (Base 2)
11001 (Base 2)
Decimal Equivalent (Base 10) 25
Hexadecimal Equivalent (Base 16) 0x19
Bit Length 5 Bits
Values calculate live as you adjust inputs.

About Binary Calculator

The binary number system represents numeric values using base 2 positional notation with two symbols (0 and 1), forming the digital language of computers and microprocessors.

What is Binary Calculator?

The binary number system represents numeric values using base 2 positional notation with two symbols (0 and 1), forming the digital language of computers and microprocessors.

How to Use This Calculator

  1. Enter two binary numbers composed only of 0s and 1s.
  2. Select your mathematical operation (+, -, ×, ÷).
  3. View the resulting binary string along with decimal and hex conversions.

The Mathematical Formula & Variables

Binary to Decimal: sum of bit * 2^position from right to left

Variables Definition

Symbol / Variable Name Description
Base 2 Binary Logic 0+0=0, 0+1=1, 1+1=10 (0 with carry 1).

Step-by-Step Worked Example

Scenario: Add 10101 (decimal 21) and 100 (decimal 4).

  1. 21 + 4 = 25 in decimal.
  2. Convert 25 to binary: 16 + 8 + 1 = 11001â‚‚.

Result: 10101â‚‚ + 100â‚‚ = 11001â‚‚ (25)

Frequently Asked Questions

How many bits are in a byte?

There are 8 bits in one byte. A half-byte (4 bits) is known as a nibble, which corresponds directly to one hexadecimal digit.