Bit Shift Calculator

The bit shift calculator lets you perform logical bit shift operations to the left and right on inputs from different numeral systems.

Clear
Result10110044 in decimal
Original101111
Equivalent to× 4exact
Bits used6
Hexadecimal2C

Shifting from 0 to 8 places

nLeft binaryLeft decimalRight binaryRight decimal
0101111101111
110110221015
210110044102
310110008811
41011000017600
510110000035200
6101100000070400
7101100000001,40800
81011000000002,81600

The rule

a << n multiplies by 2ⁿ, a >> n divides by 2ⁿ

Shifting is fast multiplication

Moving every bit one place left doubles the value, exactly as moving a decimal digit left multiplies by ten. Shifting right halves it, discarding any remainder — so 7 >> 1 is 3, not 3.5. Compilers routinely replace multiplication and division by powers of two with shifts, because a shift costs a single cycle.