Enter the number to be shifted and the number of positions to shift into the calculator to determine the result of the shift left operation.

Shift Left Formula

The following formula is used to calculate the shift left operation in a calculator.

SL = N << S

 

Variables:

  • SL is the result of the shift left operation
  • N is the number to be shifted
  • S is the number of positions to shift

To calculate the shift left operation, take the number to be shifted and shift it to the left by the specified number of positions. This operation effectively multiplies the number by 2 raised to the power of the number of positions shifted.

How to Calculate Shift Left?

The following steps outline how to calculate the Shift Left using the formula SL = N << S.


  1. First, determine the value of N (the number to be shifted).
  2. Next, determine the value of S (the number of positions to shift).
  3. Next, use the formula SL = N << S to calculate the result of the shift left operation.
  4. Finally, calculate the Shift Left value.
  5. After inserting the values of N and S and performing the shift left operation, check your answer with the calculator above.

Example Problem:

Use the following variables as an example problem to test your knowledge.

N (the number to be shifted) = 10

S (the number of positions to shift) = 2