Numbers, Units & Calculators
shift right for Bit Calculator
Calculate a result with Bit shift right from the values you enter. Enter the required values, adjust the options, and review the calculated result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
shift right for Bit Calculator shifts every input byte right with logical or arithmetic behavior.
It returns shifted binary data or a file result. The calculation runs in your browser. Processing runs in the browser.
Instructions
- Provide values for this tool.
- Enter binary data or choose a file.
- Set amount and shift type.
- Inspect the resulting bytes.
Example
Input: AB
Settings: shift right for Bit Calculator: Amount: 1; type: logical.
Result: It returns shifted binary data or a file result.
Limits
- shift right for Bit Calculator: Logical shifts fill left bits with zero.
- shift right for Bit Calculator: Arithmetic shifts preserve the most significant bit.
- shift right for Bit Calculator: It does not rotate bits across bytes.