Bit Shift Calculator
Shift a value left (<<), arithmetic right (>>) or logical right (>>>) within 8, 16, 32 or 64 bits.
Runs in your browserInteger → Decimal / hex / binary
Loading tool…
How to use the Bit Shift Calculator
- Enter values in decimal (including negatives), hex with 0x, binary with 0b or octal with 0o.
- Bits shifted beyond the chosen width are discarded.
Privacy and limitations
- Your data is processed on your device and is not uploaded to any server.
Related converters
Bitwise CalculatorCalculate AND, OR, XOR, NOT, NAND, NOR, XNOR and bit shifts at 8, 16, 32 or 64 bits with decimal, hex and binary results.Two’s Complement ConverterConvert signed integers to and from two’s complement binary and hex at 8, 16, 32 or 64 bits.Bitwise NOT CalculatorInvert every bit of a value (one’s complement) at a chosen width and see the signed and unsigned result.Bitwise XOR CalculatorCompute A XOR B (exclusive or) to toggle bits or compare values, shown in decimal, hex and binary.Bitwise OR CalculatorCompute A OR B bit by bit to combine flags, with results in signed and unsigned decimal, hex and binary.Bitwise AND CalculatorCompute A AND B bit by bit to apply masks and test flags, shown in decimal, hex and padded binary.