# Decimal to binary number calculator

Fractional decimal values that are dyadic convert to finite fractional binary values and are displayed in full precision. Fractional decimal values that are non-dyadic convert to infinite repeating fractional binary values, which are truncated — not rounded — to the specified number of bits. The converter is set up so that you can explore properties of decimal to binary and binary to decimal conversion. A decimal integer or dyadic fractional value converted to binary and then back to decimal matches the original decimal value; a non-dyadic value converts back only to an approximation of its original decimal value.

Increasing the number of bits of precision will make the converted number closer to the original. You can study how the number of digits differs between the decimal and binary representations of a number. Large binary integers have about log 2 10 , or approximately 3. Dyadic decimal fractions have the same number of digits as their binary equivalents. Non-dyadic decimal values, as already noted, have infinite binary equivalents.

This converter also converts between bases other than binary and decimal. Skip to content Decimal to Binary Enter a decimal number e. For example, when converting decimal This means that the decimal input has 2 digits in its integer part and 3 digits in its fractional part, and the binary output has 6 digits in its integer part and 3 digits in its fractional part.

Fractional decimal values that are dyadic convert to finite fractional binary values and are displayed in full precision. Fractional decimal values that are non-dyadic convert to infinite repeating fractional binary values, which are truncated — not rounded — to the specified number of bits. The converter is set up so that you can explore properties of decimal to binary and binary to decimal conversion.

A decimal integer or dyadic fractional value converted to binary and then back to decimal matches the original decimal value; a non-dyadic value converts back only to an approximation of its original decimal value. Increasing the number of bits of precision will make the converted number closer to the original. You can study how the number of digits differs between the decimal and binary representations of a number. Large binary integers have about log 2 10 , or approximately 3.

Dyadic decimal fractions have the same number of digits as their binary equivalents. Non-dyadic decimal values, as already noted, have infinite binary equivalents.