Here is a left logical shift calculator or zero fill left shift calculator. Enter a number to convert to 32 bit binary, plus the number of spaces to shift to the left, and the tool will return the result after the logical shift.
Left Logical Shift Calculator
Using the Left Logical Shift Calculator
To use the left logical shift calculator, enter a number to shift left in the "Number to Shift" field in the tool. Then, in the "Steps" field, enter how many digits to shift the number to the left.
Once happy with the inputs, click the "Calculate Left Logical Shift" button.
The result will show up in the "Shifted Number" field, already left shifted, zero-filled, and converted to integer:
Left Logical Shift Example
Behind the scenes, the tool is using a 32-bit binary number representation of your input. It then shifts it the number of spaces you'd like to move, adding a '0' to the end of the number.
Let's walk through the screenshotted example a step at a time to see how it works:
4<<2 = 16\\(steps)\\ 100\ (4)<<2=\\ 1000\ (8)<<1=\\ 10000\ (16)
Other Binary Calculator
Try our other binary math calculators: