To calculate a left shift by 3 bits, follow these steps:
Get your number in a binary format, e.g., 0000 0101.
Shift your bit string 3 positions to the left, discarding the digits falling out of scope, and filling up from the right with 0's: 0010 1000.
And that's it; you performed a shift of 3 bits to the left.
Read more