Skip to main content

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.

Tool workspace

Your input stays in this browser.

The result updates after you stop typing.

Ready

You can run the tool again after any change.

Options

Ready for a result

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

  1. Provide values for this tool.
  2. Enter binary data or choose a file.
  3. Set amount and shift type.
  4. 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.