Quantcast
Processing math: 100%

Binary to Integer

Last modified by
on
Jun 26, 2023, 8:30:47 PM
Created by
on
Jun 27, 2022, 8:27:36 PM
=Binary to Integer
(b)Binary
Tags
UUID
9525dcfd-f657-11ec-8155-bc764e203090

The Binary to Integer Calculator accepts an binary value and returns the given integer converted to binary.

INSTRUCTIONS: Enter the following:

  • (b) This is a base 2 binary

Integer Value:  The calculator returns the integer string equal to the value of the input binary.

The Math / Science

Binary numbers are comprised of zeros (0) and ones (1).  The position of the zero or one indicate the exponent of two added to the value, making binary a base 2 number system

The first value in a binary string is multiplied by 20  (1)
The second value in a binary string is multiplied by 21 (2)
The third value in a binary string is multiplied by 22 (4)
The forth value in a binary string is multiplied by 23 (8), and so on.

In this way, the binary number of 1011 is:

            1 • 20 + 1 • 21 + 0 • 22 + 1 • 23 = 11 in base 10 numbers which we commonly use.

The power of binary is demonstrated in the Pick a Number from 1 to 31 game.  Based on five yes or no questions, you can mathematically determine a number between 1 and 31.  It's binary!  Click on the link and try it.


Computer Science Calculators


String Manipulation Equations:


This equation, Binary to Integer, is used in 1 page
  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.