Calculadora de Desplazamiento de Bits

Realiza operaciones de desplazamiento bit a bit (<<, >>, >>>) con vista binaria.

Calculator


Input (8)32-bit Binary
0000 0000 0000 0000 0000 0000 0000 1000
Result (0)32-bit Binary
0000 0000 0000 0000 0000 0000 0000 0000

Cómo funciona

<< Left Shift

Shifts bits to the left. New bits on the right are filled with 0. Each shift left effectively multiplies the number by 2.

>> Signed Right Shift

Shifts bits to the right. The leftmost bit (sign bit) is copied to fill the new empty spaces, preserving the sign of the number.

>>> Zero-fill Right Shift

Shifts bits to the right. New bits on the left are always filled with 0s. This results in a 32-bit unsigned integer.

Visualize Bitwise Shift Operations in Real Time

Enter a decimal number, pick a shift operation — left shift, signed right shift, or unsigned right shift — and set the number of bit positions to move. The calculator immediately shows the result in decimal alongside a formatted 32-bit binary representation, making it easy to understand how bits move and how overflow or sign extension affects the output.

Left, right & zero-fill shift

Why Use This Tool?

Three shift operations
Supports left shift (<<), arithmetic right shift (>>), and unsigned zero-fill right shift (>>>) to cover all common bitwise scenarios in JavaScript and similar languages.
32-bit binary display
Results are shown as a grouped 32-bit binary string so you can see exactly which bit positions changed after each shift operation.
Instant result updates
The result recalculates live as you change any input, making it fast to explore how different shift amounts scale or halve values.
Useful for low-level programming
Bit shifts are used in graphics programming, flag manipulation, cryptography, and performance-critical code where multiply or divide by powers of two matters.

Cómo funciona este Calculadora de Desplazamiento de Bits

La herramienta Calculadora de Desplazamiento de Bits funciona completamente en tu navegador para que puedas obtener resultados inmediatos sin configuraciones complejas. Realiza operaciones de desplazamiento bit a bit (<<, >>, >>>) con vista binaria.

Todo el procesamiento se realiza del lado del cliente, lo que ayuda a proteger tu privacidad y evita cargas innecesarias al servidor. Puedes usarla de forma gratuita, repetir procesos las veces que necesites y copiar el resultado al instante.

Cómo usar este Calculadora de Desplazamiento de Bits

1

Cargar entrada

Sube tu archivo o ingresa tu texto en el campo de entrada.

2

Procesar

La herramienta procesa tus datos directamente en tu navegador.

3

Copiar resultado

Copia o descarga el resultado.

Ejemplo de Uso

Left-shifting 8 by 2 positions multiplies it by 4, yielding 32.

Entrada
Number: 8, Operation: <<, Shift: 2
Salida
Result: 32 (binary: 0000 0000 0000 0000 0000 0000 0010 0000)

Preguntas Frecuentes

¿Se suben mis datos?
No. Todo el procesamiento se realiza localmente en tu navegador. Tus datos no salen de tu dispositivo.
¿Esta herramienta es gratuita?
Sí, esta herramienta es completamente gratuita y no tiene límites de uso.

Herramientas relacionadas

El Calculadora de Desplazamiento de Bits es mantenido por CodeItBro. Nuestro objetivo es ofrecer las mejores herramientas gratuitas para desarrolladores en la web. Si tienes comentarios o sugerencias, visita nuestra página de contacto.

Destacado En

CodeItBro - Free dev tools + practical guides to help you ship faster | Product HuntCodeItBro - Free Online Developer Tools badgeCodeItBro badge