# Binary number system calculator

Want to calculate with decimal operands? You must convert them first. This is an arbitrary-precision binary calculator. It can addsubtractmultiplyor divide two binary numbers. It can operate on very large integers and very small fractional values — and combinations of both. This calculator is, by design, very simple. You can use it to explore binary numbers in their most basic form.

Similarly, you can change the operator and keep the operands as is. Besides the result of the operation, the number of digits in the operands and the result is displayed. For example, when calculating 1. This means that operand 1 has one digit binary number system calculator its integer part and four digits in its fractional part, operand 2 has three digits in its integer part and six digits in its fractional part, and the result has four digits in its integer part and ten digits in its fractional part.

Addition, subtraction, binary number system calculator multiplication always produce a finite result, but division may in fact, in most cases produce an infinite repeating fractional value. Infinite results are truncated — not rounded — to the specified number of bits.

For divisions that represent dyadic fractionsthe result will be finiteand displayed in full precision — regardless of the setting for the number of fractional bits. Although this calculator implements pure binary arithmetic, you can use it to explore floating-point arithmetic. For example, say you wanted to know why, using IEEE double-precision binary floating-point arithmetic, There binary number system calculator two sources of imprecision in such a calculation: Decimal to floating-point conversion introduces inexactness because a decimal operand may not have an exact floating-point equivalent; limited-precision binary arithmetic introduces inexactness because a binary calculation may produce more bits than binary number system calculator be stored.

In these cases, **binary number system calculator** occurs. My decimal to binary converter will tell you that, in pure binary, To work through this example, you had to act like a computer, as tedious as that was. First, you had to convert the operands to binary, rounding them if necessary; then, you had to multiply them, and round the result. For practical reasons, the size of the inputs — and the number of fractional bits in an infinite division result — is limited.

If you exceed these limits, you will get an error message. But within these limits, all results will be accurate in the case of division, results are accurate through the truncated bit position.

Skip to content Operand 1 Enter a binary number e.