Math

Bit Shift Calculator

Logical left or right shift of a non-negative integer (mode 0 = left, 1 = right).

Result (decimal)

Result (binary)

This free Bit Shift Calculator covers Logical left or right shift of a non-negative integer (mode 0 = left, 1 = right).

Left shift multiplies by 2^k; right shift divides by 2^k (floor). Other math tools are linked below.

Bit Shift Calculator — how it works

Logical left or right shift of a non-negative integer (mode 0 = left, 1 = right). Typical inputs are a, Shift k and Mode (0 left, 1 right). How it works beside the form states the identity the Bit Shift Calculator applies.

FAQ

How do I use the Bit Shift Calculator?

Open the Bit Shift Calculator, fill a, Shift k and Mode (0 left, 1 right), and read the result. Left shift multiplies by 2^k; right shift divides by 2^k (floor).

What formula does the Bit Shift Calculator use?

The Bit Shift Calculator uses the identity in How it works. In words: Left shift multiplies by 2^k; right shift divides by 2^k (floor).

More tools in Math and popular picks.