Skip to content

Bit Shift Calculator

Result

Calculated result 32 Based on the values entered.
↗ Math

Bit Shift Calculator Shift the bits of an integer left or right by a chosen number of positions and see the result in decimal and binary. A left shift multiplies by powers of two; a right shift divides (rounding toward zero). — free online calculator.

Formula

Rule: Shift Value left by Shift bits for a left shift, or right by Shift bits for a right shift.
  • Bit Shift Calculator calculates its result from Value, Shift, Direction. It uses the formula Calculated with the verified ST Calculator runtime.. Change any input to recalculate the result instantly.
  • The main inputs are Value, Shift, Direction. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Bit Shift

Inputs
  • Value: 8
  • Shift: 2
  • Direction: left

Using Value = 8, Shift = 2, Direction = left, the calculated result is 32.

Sample result: Calculating…

Frequently asked questions

What does the Bit Shift calculate?

Bit Shift Calculator Shift the bits of an integer left or right by a chosen number of positions and see the result in decimal and binary. A left shift multiplies by powers of two; a right shift divides (rounding toward zero). — free online calculator.

Which values should I enter?

Enter Value, Shift, Direction using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: Rule: Shift Value left by Shift bits for a left shift, or right by Shift bits for a right shift..

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026