Bit Shift Calculator: Online Left & Right Bitwise Operations

Perform Bit Shift Calculations

Enter a decimal number or a binary number (prefix with 0b, e.g., 0b1011).
Enter the number of bits to shift.

Instantly perform bit shift operations on binary or decimal numbers. Understand left shift (<<) and right shift (>>) for efficient data manipulation, bitwise calculations, and low-level programming. Simplify complex binary operations with our free online tool.

Formula:

The Bit Shift Calculator performs fundamental bitwise operations on a given number.

  • Left Shift (N << P): Shifts the bits of number N to the left by P positions. This operation is equivalent to multiplying N by 2P. New bits on the right are filled with zeros.
  • Right Shift (N >> P): Shifts the bits of number N to the right by P positions. This operation is equivalent to integer division of N by 2P. For positive numbers, new bits on the left are filled with zeros.

Where:

  • N = The input number (decimal or binary)
  • P = The number of bit positions to shift

Computing and Tools

<b>90 Day </b>: Instantly Find Dates 90 Days From Today or Any Given Date

Go to Calculator

<b>Labor Force Participation Demographic Gap </b>: Compare Workforce Engagement Rates

Go to Calculator

1/4 Mile ET : Estimate Your Quarter Mile Elapsed Time

Go to Calculator

12 Volt Wire Size : Optimize Your DC Circuit Design

Go to Calculator

16:9 Aspect Ratio : Find Widescreen Dimensions

Go to Calculator

180 Day : Easily Find Dates 180 Days Forward or Back

Go to Calculator