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
- Enter two binary numbers composed only of 0s and 1s.
- Select your mathematical operation (+, -, ×, ÷).
- 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).
- 21 + 4 = 25 in decimal.
- 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.