binary calculator. Get instant, accurate results. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Reviewed for accuracy by Manoj Kumar, Mathematics Educator
Binary Calculator - Operations
Calculator
Adjust values & calculate
Enter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: Binary: base-2 number system (0 and 1)
Your Result
Worked example — 10110 (22)
Formula
Binary: base-2 number system (0 and 1)
Perform arithmetic and bitwise operations on binary numbers. Convert between binary and decimal.
Worked Examples
Example 1: Binary add
Problem:1010 + 1100
Solution:10 + 12 = 22 = 10110
Result:10110 (22)
Frequently Asked Questions
How does binary addition work?
Same as decimal but carry at 2 instead of 10. 0+0=0, 0+1=1, 1+1=10 (carry 1), 1+1+1=11 (carry 1).
What are bitwise AND, OR, and XOR operations?
AND outputs 1 only when both bits are 1. OR outputs 1 when at least one bit is 1. XOR outputs 1 only when bits differ. These are the building blocks of all digital logic in processors.
How do I convert binary to decimal?
Multiply each bit by its positional power of 2 and sum the results. For 1101: (1×8)+(1×4)+(0×2)+(1×1) = 8+4+0+1 = 13. Binary Calculator - Operations shows the decimal equivalent automatically.
When would I use binary arithmetic?
Binary operations are essential for embedded systems programming, network mask calculations (subnetting), bit flags in game engines, cryptography, and understanding how CPUs perform arithmetic at the hardware level.
Essential site storage stays on. Analytics, performance, and marketing cookies remain off until you choose. Calculator inputs stay on your device, and we do not sell your personal data.
We use essential cookies only. Analytics cookies require your consent.