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.
String Manipulation Utilities
- String Compare: Examines two given strings to see if they are equal to each other.
- Palindrome Check: Evaluates if a given word or sentence is a palindrome.
- Reverse String: Takes a given string of alphanumeric characters and reverses its order.
- Remove Vowels Consonants Numbers Whitespace: Removes all vowels, consonants, numbers, or whitespace from a string of text.
- String to Comma-Separated List: Takes any string and split it into a comma-separated list with options for spaces, bracket types, and capital letters.
- Word Count: Counts the number of words in a given string regardless of punctuation and new lines.
- Character Count: Counts the number of occurrences of each character in a string of text.
- Regex Remove: Takes a regex expression and compares it to a sample string to see which patterns should be removed from the string.
- Affine Cipher Encrypt: Encrypts ciphertext using an Affine Cipher algorithm given the ciphertext and two keys.
- Affine Cipher Decrypt: Decrypts ciphertext using an Affine Cipher algorithm given the ciphertext and two keys.
- Caesar Cipher Encrypt: Encrypts non-numeric data by shifting the letters forward or backward on the alphabet by a constant amount.
- Caesar Cipher Decrypt: Dencrypts non-numeric data by shifting the letters forward or backward on the alphabet by a constant amount.
- String Alphabet Position Sum: Takes a string and converts each character to an integer corresponding to its position in the alphabet and then sums those positions.