Binary Fraction Calculator
Add, subtract, multiply, or divide binary fractions with BinaryCon. Enter values such as 101.1 and 10.01, choose an operation, and get the binary result with decimal verification and an exact rational calculation.
What Is a Binary Fraction Calculator?
A Binary Fraction Calculator performs arithmetic on base-2 numbers that may contain digits on both sides of a binary point. It can be used for addition, subtraction, multiplication, and division.
For example, binary 101.1 represents decimal 5.5, while
10.01 represents decimal 2.25.
How Binary Fractions Work
Bits to the left of the binary point represent positive powers of 2. Bits to the right represent negative powers of 2.
| Position | Power | Decimal Value |
|---|---|---|
| 2³ | 8 | 8 |
| 2² | 4 | 4 |
| 2¹ | 2 | 2 |
| 2⁰ | 1 | 1 |
| 2⁻¹ | 1/2 | 0.5 |
| 2⁻² | 1/4 | 0.25 |
| 2⁻³ | 1/8 | 0.125 |
Binary Fraction Addition
Binary fractions can be added by aligning their binary points and adding each bit position using normal binary addition rules.
Binary Fraction Subtraction
Binary fraction subtraction follows the same positional method as binary integer subtraction. Align the binary points and borrow when necessary.
Binary Fraction Multiplication
Binary fraction multiplication can be handled by temporarily removing the binary points, multiplying the resulting binary integers, and then restoring the correct number of fractional places.
Binary Fraction Division
Binary fraction division is similar to ordinary binary division, but the fractional scaling must also be considered.
A division result may have a terminating binary representation or may repeat indefinitely.
Why Some Results Repeat
A fraction has a finite binary representation only when its reduced denominator is a power of two.
Addition, subtraction, and multiplication of finite binary fractions normally remain finite. Division can introduce denominators that are not powers of two, which may create repeating binary expansions.
Binary Fraction Arithmetic Examples
| Calculation | Binary Result |
|---|---|
0.1 + 0.01 |
0.11 |
1.1 + 0.1 |
10 |
101.1 + 10.01 |
111.11 |
101.1 − 10.01 |
11.01 |
1.1 × 10 |
11 |
1.1 × 10.1 |
11.11 |
11 ÷ 10 |
1.1 |
How This Calculator Keeps Calculations Accurate
Instead of immediately converting inputs into ordinary floating-point numbers, the calculator converts each finite binary fraction into an exact rational value.
The numerator and denominator are stored using integer arithmetic. Addition, subtraction, multiplication, and division are then performed on those exact fractions before the final binary representation is generated.
Binary Fraction Addition vs Decimal Addition
The numerical operation is the same regardless of representation. The difference is the base used to express place values.
Can Binary Fractions Have Leading or Trailing Zeros?
Yes. Leading and trailing zeros do not change the value when they are placed appropriately.
Common Binary Fraction Calculator Mistakes
Not aligning binary points
For addition and subtraction, positions must be aligned by the binary point.
Using digit 2
Binary numbers contain only digits 0 and 1.
Assuming division always terminates
Binary division can produce an infinite repeating fractional expansion.
Dividing by zero
Division by binary zero is undefined and is rejected by the calculator.
Related BinaryCon Tools
Binary Fraction Calculator FAQs
Can you add binary fractions?
What is 0.1 + 0.01 in binary?
0.1₂ + 0.01₂ = 0.11₂, equivalent to decimal 0.5 + 0.25 = 0.75.
What is 101.1 + 10.01 in binary?
111.11₂.
What is 101.1 − 10.01 in binary?
11.01₂.