11 100 101 000 110 100 100 000 000 000 014 Converted to 32 Bit Single Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 11 100 101 000 110 100 100 000 000 000 014(10) to 32 bit single precision IEEE 754 binary floating point representation standard (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

What are the steps to convert decimal number
11 100 101 000 110 100 100 000 000 000 014(10) to 32 bit single precision IEEE 754 binary floating point representation (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

1. Divide the number repeatedly by 2.

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.


  • division = quotient + remainder;
  • 11 100 101 000 110 100 100 000 000 000 014 ÷ 2 = 5 550 050 500 055 050 050 000 000 000 007 + 0;
  • 5 550 050 500 055 050 050 000 000 000 007 ÷ 2 = 2 775 025 250 027 525 025 000 000 000 003 + 1;
  • 2 775 025 250 027 525 025 000 000 000 003 ÷ 2 = 1 387 512 625 013 762 512 500 000 000 001 + 1;
  • 1 387 512 625 013 762 512 500 000 000 001 ÷ 2 = 693 756 312 506 881 256 250 000 000 000 + 1;
  • 693 756 312 506 881 256 250 000 000 000 ÷ 2 = 346 878 156 253 440 628 125 000 000 000 + 0;
  • 346 878 156 253 440 628 125 000 000 000 ÷ 2 = 173 439 078 126 720 314 062 500 000 000 + 0;
  • 173 439 078 126 720 314 062 500 000 000 ÷ 2 = 86 719 539 063 360 157 031 250 000 000 + 0;
  • 86 719 539 063 360 157 031 250 000 000 ÷ 2 = 43 359 769 531 680 078 515 625 000 000 + 0;
  • 43 359 769 531 680 078 515 625 000 000 ÷ 2 = 21 679 884 765 840 039 257 812 500 000 + 0;
  • 21 679 884 765 840 039 257 812 500 000 ÷ 2 = 10 839 942 382 920 019 628 906 250 000 + 0;
  • 10 839 942 382 920 019 628 906 250 000 ÷ 2 = 5 419 971 191 460 009 814 453 125 000 + 0;
  • 5 419 971 191 460 009 814 453 125 000 ÷ 2 = 2 709 985 595 730 004 907 226 562 500 + 0;
  • 2 709 985 595 730 004 907 226 562 500 ÷ 2 = 1 354 992 797 865 002 453 613 281 250 + 0;
  • 1 354 992 797 865 002 453 613 281 250 ÷ 2 = 677 496 398 932 501 226 806 640 625 + 0;
  • 677 496 398 932 501 226 806 640 625 ÷ 2 = 338 748 199 466 250 613 403 320 312 + 1;
  • 338 748 199 466 250 613 403 320 312 ÷ 2 = 169 374 099 733 125 306 701 660 156 + 0;
  • 169 374 099 733 125 306 701 660 156 ÷ 2 = 84 687 049 866 562 653 350 830 078 + 0;
  • 84 687 049 866 562 653 350 830 078 ÷ 2 = 42 343 524 933 281 326 675 415 039 + 0;
  • 42 343 524 933 281 326 675 415 039 ÷ 2 = 21 171 762 466 640 663 337 707 519 + 1;
  • 21 171 762 466 640 663 337 707 519 ÷ 2 = 10 585 881 233 320 331 668 853 759 + 1;
  • 10 585 881 233 320 331 668 853 759 ÷ 2 = 5 292 940 616 660 165 834 426 879 + 1;
  • 5 292 940 616 660 165 834 426 879 ÷ 2 = 2 646 470 308 330 082 917 213 439 + 1;
  • 2 646 470 308 330 082 917 213 439 ÷ 2 = 1 323 235 154 165 041 458 606 719 + 1;
  • 1 323 235 154 165 041 458 606 719 ÷ 2 = 661 617 577 082 520 729 303 359 + 1;
  • 661 617 577 082 520 729 303 359 ÷ 2 = 330 808 788 541 260 364 651 679 + 1;
  • 330 808 788 541 260 364 651 679 ÷ 2 = 165 404 394 270 630 182 325 839 + 1;
  • 165 404 394 270 630 182 325 839 ÷ 2 = 82 702 197 135 315 091 162 919 + 1;
  • 82 702 197 135 315 091 162 919 ÷ 2 = 41 351 098 567 657 545 581 459 + 1;
  • 41 351 098 567 657 545 581 459 ÷ 2 = 20 675 549 283 828 772 790 729 + 1;
  • 20 675 549 283 828 772 790 729 ÷ 2 = 10 337 774 641 914 386 395 364 + 1;
  • 10 337 774 641 914 386 395 364 ÷ 2 = 5 168 887 320 957 193 197 682 + 0;
  • 5 168 887 320 957 193 197 682 ÷ 2 = 2 584 443 660 478 596 598 841 + 0;
  • 2 584 443 660 478 596 598 841 ÷ 2 = 1 292 221 830 239 298 299 420 + 1;
  • 1 292 221 830 239 298 299 420 ÷ 2 = 646 110 915 119 649 149 710 + 0;
  • 646 110 915 119 649 149 710 ÷ 2 = 323 055 457 559 824 574 855 + 0;
  • 323 055 457 559 824 574 855 ÷ 2 = 161 527 728 779 912 287 427 + 1;
  • 161 527 728 779 912 287 427 ÷ 2 = 80 763 864 389 956 143 713 + 1;
  • 80 763 864 389 956 143 713 ÷ 2 = 40 381 932 194 978 071 856 + 1;
  • 40 381 932 194 978 071 856 ÷ 2 = 20 190 966 097 489 035 928 + 0;
  • 20 190 966 097 489 035 928 ÷ 2 = 10 095 483 048 744 517 964 + 0;
  • 10 095 483 048 744 517 964 ÷ 2 = 5 047 741 524 372 258 982 + 0;
  • 5 047 741 524 372 258 982 ÷ 2 = 2 523 870 762 186 129 491 + 0;
  • 2 523 870 762 186 129 491 ÷ 2 = 1 261 935 381 093 064 745 + 1;
  • 1 261 935 381 093 064 745 ÷ 2 = 630 967 690 546 532 372 + 1;
  • 630 967 690 546 532 372 ÷ 2 = 315 483 845 273 266 186 + 0;
  • 315 483 845 273 266 186 ÷ 2 = 157 741 922 636 633 093 + 0;
  • 157 741 922 636 633 093 ÷ 2 = 78 870 961 318 316 546 + 1;
  • 78 870 961 318 316 546 ÷ 2 = 39 435 480 659 158 273 + 0;
  • 39 435 480 659 158 273 ÷ 2 = 19 717 740 329 579 136 + 1;
  • 19 717 740 329 579 136 ÷ 2 = 9 858 870 164 789 568 + 0;
  • 9 858 870 164 789 568 ÷ 2 = 4 929 435 082 394 784 + 0;
  • 4 929 435 082 394 784 ÷ 2 = 2 464 717 541 197 392 + 0;
  • 2 464 717 541 197 392 ÷ 2 = 1 232 358 770 598 696 + 0;
  • 1 232 358 770 598 696 ÷ 2 = 616 179 385 299 348 + 0;
  • 616 179 385 299 348 ÷ 2 = 308 089 692 649 674 + 0;
  • 308 089 692 649 674 ÷ 2 = 154 044 846 324 837 + 0;
  • 154 044 846 324 837 ÷ 2 = 77 022 423 162 418 + 1;
  • 77 022 423 162 418 ÷ 2 = 38 511 211 581 209 + 0;
  • 38 511 211 581 209 ÷ 2 = 19 255 605 790 604 + 1;
  • 19 255 605 790 604 ÷ 2 = 9 627 802 895 302 + 0;
  • 9 627 802 895 302 ÷ 2 = 4 813 901 447 651 + 0;
  • 4 813 901 447 651 ÷ 2 = 2 406 950 723 825 + 1;
  • 2 406 950 723 825 ÷ 2 = 1 203 475 361 912 + 1;
  • 1 203 475 361 912 ÷ 2 = 601 737 680 956 + 0;
  • 601 737 680 956 ÷ 2 = 300 868 840 478 + 0;
  • 300 868 840 478 ÷ 2 = 150 434 420 239 + 0;
  • 150 434 420 239 ÷ 2 = 75 217 210 119 + 1;
  • 75 217 210 119 ÷ 2 = 37 608 605 059 + 1;
  • 37 608 605 059 ÷ 2 = 18 804 302 529 + 1;
  • 18 804 302 529 ÷ 2 = 9 402 151 264 + 1;
  • 9 402 151 264 ÷ 2 = 4 701 075 632 + 0;
  • 4 701 075 632 ÷ 2 = 2 350 537 816 + 0;
  • 2 350 537 816 ÷ 2 = 1 175 268 908 + 0;
  • 1 175 268 908 ÷ 2 = 587 634 454 + 0;
  • 587 634 454 ÷ 2 = 293 817 227 + 0;
  • 293 817 227 ÷ 2 = 146 908 613 + 1;
  • 146 908 613 ÷ 2 = 73 454 306 + 1;
  • 73 454 306 ÷ 2 = 36 727 153 + 0;
  • 36 727 153 ÷ 2 = 18 363 576 + 1;
  • 18 363 576 ÷ 2 = 9 181 788 + 0;
  • 9 181 788 ÷ 2 = 4 590 894 + 0;
  • 4 590 894 ÷ 2 = 2 295 447 + 0;
  • 2 295 447 ÷ 2 = 1 147 723 + 1;
  • 1 147 723 ÷ 2 = 573 861 + 1;
  • 573 861 ÷ 2 = 286 930 + 1;
  • 286 930 ÷ 2 = 143 465 + 0;
  • 143 465 ÷ 2 = 71 732 + 1;
  • 71 732 ÷ 2 = 35 866 + 0;
  • 35 866 ÷ 2 = 17 933 + 0;
  • 17 933 ÷ 2 = 8 966 + 1;
  • 8 966 ÷ 2 = 4 483 + 0;
  • 4 483 ÷ 2 = 2 241 + 1;
  • 2 241 ÷ 2 = 1 120 + 1;
  • 1 120 ÷ 2 = 560 + 0;
  • 560 ÷ 2 = 280 + 0;
  • 280 ÷ 2 = 140 + 0;
  • 140 ÷ 2 = 70 + 0;
  • 70 ÷ 2 = 35 + 0;
  • 35 ÷ 2 = 17 + 1;
  • 17 ÷ 2 = 8 + 1;
  • 8 ÷ 2 = 4 + 0;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

2. Construct the base 2 representation of the positive number.

Take all the remainders starting from the bottom of the list constructed above.

11 100 101 000 110 100 100 000 000 000 014(10) =


1000 1100 0001 1010 0101 1100 0101 1000 0011 1100 0110 0101 0000 0001 0100 1100 0011 1001 0011 1111 1111 1100 0100 0000 0000 1110(2)


3. Normalize the binary representation of the number.

Shift the decimal mark 103 positions to the left, so that only one non zero digit remains to the left of it:


11 100 101 000 110 100 100 000 000 000 014(10) =


1000 1100 0001 1010 0101 1100 0101 1000 0011 1100 0110 0101 0000 0001 0100 1100 0011 1001 0011 1111 1111 1100 0100 0000 0000 1110(2) =


1000 1100 0001 1010 0101 1100 0101 1000 0011 1100 0110 0101 0000 0001 0100 1100 0011 1001 0011 1111 1111 1100 0100 0000 0000 1110(2) × 20 =


1.0001 1000 0011 0100 1011 1000 1011 0000 0111 1000 1100 1010 0000 0010 1001 1000 0111 0010 0111 1111 1111 1000 1000 0000 0001 110(2) × 2103


4. Up to this moment, there are the following elements that would feed into the 32 bit single precision IEEE 754 binary floating point representation:

Sign 0 (a positive number)


Exponent (unadjusted): 103


Mantissa (not normalized):
1.0001 1000 0011 0100 1011 1000 1011 0000 0111 1000 1100 1010 0000 0010 1001 1000 0111 0010 0111 1111 1111 1000 1000 0000 0001 110


5. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


Exponent (unadjusted) + 2(8-1) - 1 =


103 + 2(8-1) - 1 =


(103 + 127)(10) =


230(10)


6. Convert the adjusted exponent from the decimal (base 10) to 8 bit binary.

Use the same technique of repeatedly dividing by 2:


  • division = quotient + remainder;
  • 230 ÷ 2 = 115 + 0;
  • 115 ÷ 2 = 57 + 1;
  • 57 ÷ 2 = 28 + 1;
  • 28 ÷ 2 = 14 + 0;
  • 14 ÷ 2 = 7 + 0;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;

7. Construct the base 2 representation of the adjusted exponent.

Take all the remainders starting from the bottom of the list constructed above.


Exponent (adjusted) =


230(10) =


1110 0110(2)


8. Normalize the mantissa.

a) Remove the leading (the leftmost) bit, since it's allways 1, and the decimal point, if the case.


b) Adjust its length to 23 bits, by removing the excess bits, from the right (if any of the excess bits is set on 1, we are losing precision...).


Mantissa (normalized) =


1. 000 1100 0001 1010 0101 1100 0101 1000 0011 1100 0110 0101 0000 0001 0100 1100 0011 1001 0011 1111 1111 1100 0100 0000 0000 1110 =


000 1100 0001 1010 0101 1100


9. The three elements that make up the number's 32 bit single precision IEEE 754 binary floating point representation:

Sign (1 bit) =
0 (a positive number)


Exponent (8 bits) =
1110 0110


Mantissa (23 bits) =
000 1100 0001 1010 0101 1100


Decimal number 11 100 101 000 110 100 100 000 000 000 014 converted to 32 bit single precision IEEE 754 binary floating point representation:

0 - 1110 0110 - 000 1100 0001 1010 0101 1100


How to convert decimal numbers from base ten to 32 bit single precision IEEE 754 binary floating point standard

Follow the steps below to convert a base 10 decimal number to 32 bit single precision IEEE 754 binary floating point:

  • 1. If the number to be converted is negative, start with its the positive version.
  • 2. First convert the integer part. Divide repeatedly by 2 the base ten positive representation of the integer number that is to be converted to binary, until we get a quotient that is equal to zero, keeping track of each remainder.
  • 3. Construct the base 2 representation of the positive integer part of the number, by taking all the remainders of the previous dividing operations, starting from the bottom of the list constructed above. Thus, the last remainder of the divisions becomes the first symbol (the leftmost) of the base two number, while the first remainder becomes the last symbol (the rightmost).
  • 4. Then convert the fractional part. Multiply the number repeatedly by 2, until we get a fractional part that is equal to zero, keeping track of each integer part of the results.
  • 5. Construct the base 2 representation of the fractional part of the number by taking all the integer parts of the previous multiplying operations, starting from the top of the constructed list above (they should appear in the binary representation, from left to right, in the order they have been calculated).
  • 6. Normalize the binary representation of the number, by shifting the decimal point (or if you prefer, the decimal mark) "n" positions either to the left or to the right, so that only one non zero digit remains to the left of the decimal point.
  • 7. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary, by using the same technique of repeatedly dividing by 2, as shown above:
    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1
  • 8. Normalize mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal sign if the case) and adjust its length to 23 bits, either by removing the excess bits from the right (losing precision...) or by adding extra '0' bits to the right.
  • 9. Sign (it takes 1 bit) is either 1 for a negative or 0 for a positive number.

Example: convert the negative number -25.347 from decimal system (base ten) to 32 bit single precision IEEE 754 binary floating point:

  • 1. Start with the positive version of the number:

    |-25.347| = 25.347

  • 2. First convert the integer part, 25. Divide it repeatedly by 2, keeping track of each remainder, until we get a quotient that is equal to zero:
    • division = quotient + remainder;
    • 25 ÷ 2 = 12 + 1;
    • 12 ÷ 2 = 6 + 0;
    • 6 ÷ 2 = 3 + 0;
    • 3 ÷ 2 = 1 + 1;
    • 1 ÷ 2 = 0 + 1;
    • We have encountered a quotient that is ZERO => FULL STOP
  • 3. Construct the base 2 representation of the integer part of the number by taking all the remainders of the previous dividing operations, starting from the bottom of the list constructed above:

    25(10) = 1 1001(2)

  • 4. Then convert the fractional part, 0.347. Multiply repeatedly by 2, keeping track of each integer part of the results, until we get a fractional part that is equal to zero:
    • #) multiplying = integer + fractional part;
    • 1) 0.347 × 2 = 0 + 0.694;
    • 2) 0.694 × 2 = 1 + 0.388;
    • 3) 0.388 × 2 = 0 + 0.776;
    • 4) 0.776 × 2 = 1 + 0.552;
    • 5) 0.552 × 2 = 1 + 0.104;
    • 6) 0.104 × 2 = 0 + 0.208;
    • 7) 0.208 × 2 = 0 + 0.416;
    • 8) 0.416 × 2 = 0 + 0.832;
    • 9) 0.832 × 2 = 1 + 0.664;
    • 10) 0.664 × 2 = 1 + 0.328;
    • 11) 0.328 × 2 = 0 + 0.656;
    • 12) 0.656 × 2 = 1 + 0.312;
    • 13) 0.312 × 2 = 0 + 0.624;
    • 14) 0.624 × 2 = 1 + 0.248;
    • 15) 0.248 × 2 = 0 + 0.496;
    • 16) 0.496 × 2 = 0 + 0.992;
    • 17) 0.992 × 2 = 1 + 0.984;
    • 18) 0.984 × 2 = 1 + 0.968;
    • 19) 0.968 × 2 = 1 + 0.936;
    • 20) 0.936 × 2 = 1 + 0.872;
    • 21) 0.872 × 2 = 1 + 0.744;
    • 22) 0.744 × 2 = 1 + 0.488;
    • 23) 0.488 × 2 = 0 + 0.976;
    • 24) 0.976 × 2 = 1 + 0.952;
    • We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit = 23) and at least one integer part that was different from zero => FULL STOP (losing precision...).
  • 5. Construct the base 2 representation of the fractional part of the number, by taking all the integer parts of the previous multiplying operations, starting from the top of the constructed list above:

    0.347(10) = 0.0101 1000 1101 0100 1111 1101(2)

  • 6. Summarizing - the positive number before normalization:

    25.347(10) = 1 1001.0101 1000 1101 0100 1111 1101(2)

  • 7. Normalize the binary representation of the number, shifting the decimal point 4 positions to the left so that only one non-zero digit stays to the left of the decimal point:

    25.347(10) =
    1 1001.0101 1000 1101 0100 1111 1101(2) =
    1 1001.0101 1000 1101 0100 1111 1101(2) × 20 =
    1.1001 0101 1000 1101 0100 1111 1101(2) × 24

  • 8. Up to this moment, there are the following elements that would feed into the 32 bit single precision IEEE 754 binary floating point:

    Sign: 1 (a negative number)

    Exponent (unadjusted): 4

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

  • 9. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary (base 2), by using the same technique of repeatedly dividing it by 2, as already demonstrated above:

    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1 = (4 + 127)(10) = 131(10) =
    1000 0011(2)

  • 10. Normalize the mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal point) and adjust its length to 23 bits, by removing the excess bits from the right (losing precision...):

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

    Mantissa (normalized): 100 1010 1100 0110 1010 0111

  • Conclusion:

    Sign (1 bit) = 1 (a negative number)

    Exponent (8 bits) = 1000 0011

    Mantissa (23 bits) = 100 1010 1100 0110 1010 0111

  • Number -25.347, converted from the decimal system (base 10) to 32 bit single precision IEEE 754 binary floating point =
    1 - 1000 0011 - 100 1010 1100 0110 1010 0111