118 in Binary
118 in binary is 1110110. Unlike the decimal number system where we use the digits 0 to 9 to represent a number, in a binary system, we use only 2 digits that are 0 and 1 (bits). We have used 7 bits to represent 118 in binary. In this article, let us learn how to convert the decimal number 118 to binary.
How to Convert 118 in Binary?
Step 1: Divide 118 by 2. Use the integer quotient obtained in this step as the dividend for the next step. Repeat the process until the quotient becomes 0.
Dividend | Remainder |
---|---|
118/2 = 59 | 0 |
59/2 = 29 | 1 |
29/2 = 14 | 1 |
14/2 = 7 | 0 |
7/2 = 3 | 1 |
3/2 = 1 | 1 |
1/2 = 0 | 1 |
Step 2: Write the remainder from bottom to top i.e. in the reverse chronological order. This will give the binary equivalent of 118.
Therefore, the binary equivalent of decimal number 118 is 1110110.
☛ Decimal to Binary Calculator
Let us have a look at the value of the decimal number 118 in the different number systems.
- 118 in Binary: 118₁₀ = 1110110₂
- 118 in Octal: 118₁₀ = 166₈
- 118 in Hexadecimal: 118₁₀ = 76₁₆
- 1110110₂ in Decimal: 118₁₀
Problem Statements:
What is 118 in Binary? - (Base 2) | (1110110)₂ |
What is 118 in Hexadecimal? - (Base 16) | (76)₁₆ |
What is 118 in Octal? - (Base 8) | (166)₈ |
Cube Root of 118 | 4.904868 |
Is 118 a Prime Number? | No |
Is 118 a Perfect Cube? | No |
Is 118 a Composite Number? | Yes |
Is 118 a Perfect Square? | No |
Square Root of 118 | 10.86278 |
FAQs on 118 in Binary
What is 118 in Binary?
118 in binary is 1110110. To find decimal to binary equivalent, divide 118 successively by 2 until the quotient becomes 0. The binary equivalent can be obtained by writing the remainder in each division step from the bottom to the top.
Find the Value of 9 × 118 in Binary Form.
We know that 118 in binary is 1110110 and 9 is 1001. Using the binary multiplication rules (0 × 0 = 0; 0 × 1 = 0 ; 1 × 0 = 0 and 1 × 1 = 1), we can multiply 1110110 × 1001 = 10000100110 which is 1062 in the decimal number system. [118 × 9 = 1062]
What is the Binary Equivalent of 118 + 2?
118 in binary number system is 1110110 and 2 is 10. We can add the binary equivalent of 118 and 2 using binary addition rules [0 + 0 = 0, 0 + 1 = 1, 1 + 1 = 10 note that 1 is a carry over to the next bit]. Therefore, (1110110)₂ + (10)₂ = (1111000)₂ which is nothing but 120.
☛ Binary to Decimal Calculator
How Many Bits Does 118 in Binary Have?
We can count the number of zeros and ones to see how many bits are used to represent 118 in binary i.e. 1110110. Therefore, we have used 7 bits to represent 118 in binary.
How to Convert 118 to Binary Equivalent?
We can divide 118 by 2 and continue the division till we get 0. Note down the remainder in each step.
- 118 mod 2 = 0 - LSB (Least Significant Bit)
- 59 mod 2 = 1
- 29 mod 2 = 1
- 14 mod 2 = 0
- 7 mod 2 = 1
- 3 mod 2 = 1
- 1 mod 2 = 1 - MSB (Most Significant Bit)
Write the remainders from MSB to LSB. Therefore, the decimal number 118 in binary can be represented as 1110110.
☛ Also Check:
- 231 in Binary - 11100111
- 511 in Binary - 111111111
- 55 in Binary - 110111
- 123 in Binary - 1111011
- 4095 in Binary - 111111111111
- 96 in Binary - 1100000
- 144 in Binary - 10010000
visual curriculum