Binary Calculator — Convert, add, bitwise operations

Binary Calculator

Convert between binary, decimal & hex; perform addition, AND, OR, XOR. See bit distribution and representation.

Step 1: First Number

Binary rules

Binary digits: 0/1 only. Decimal: 0-9. Hex: 0-9 A-F. Invalid characters are ignored.

Step 2: Operation

8

Bitwise operations

AND, OR, XOR are performed bit by bit on two numbers. For conversion, only first number is used.

Binary Calculation Results

Summary
Base comparison
Bit breakdown

Result (decimal · binary · hex)

42 · 101010 · 0x2A
Based on 1010 (binary) – conversion
Binary
101010
Decimal
42
Hexadecimal
2A
Bit length
8

Value in different bases

Base Representation

Bit values (MSB left)

Bitwise breakdown

Each bar represents a bit (0 or 1).

Need help with binary or bitwise calculations?

Our team of digital experts can assist with programming, low-level debugging, or educational material.

Get Expert Help