Bit operations

Bit shift calculator

Shift signed, arbitrary-precision integers without 32-bit coercion or silent partial parsing.

Input

Shift an integer

Up to 4,096 digits, plus an optional sign.
0–4,096 positions
Signed arbitrary-precision behavior

Negative results use a leading minus sign. Right shifts are arithmetic, so negative values round toward negative infinity. This tool does not assume a fixed-width two’s-complement representation.

Exact output

Shifted value

Computed with BigInt.

Decimal
480
Binary
111100000
Hexadecimal
1E0
Octal
740

Arbitrary-precision bit shift calculator page loaded