๐ป TechnologybeginnerOffline
Binary Calculator
Bitwise AND, OR, XOR, NOT, SHIFT and base conversions for binary.
Inputs
Enter your values below.
Result
Your answer appears here.
Enter values and press Calculate โ the result appears here.
How it works
The formula behind this calculator.
binary to decimal: ฮฃ(bit ร 2^position)
- bit
- 0 or 1
- position
- Index from right, starting at 0
Each binary digit is a power of 2, doubled as you go left. 8-bit values range 0โ255.
Example: 1010 = 1ยท8 + 0ยท4 + 1ยท2 + 0ยท1 = 10
Ref: Positional numeral system, base 2
Tips
- ๐ก Every binary digit (bit) is a power of 2, doubled as you go left.
- ๐ก Group binary into 4 bits per hex digit for compact display: 1010 = A, 1101 = D.