# Bit shift right
> Supported in: Batch, Streaming
Shift the given value a number of bits right.
**Expression categories:** Binary
## Declared arguments
* **Expression:** The value to shift right.
*Expression\*
* **Number of bits:** The number of bits to shift right by.
*Literal\*
**Type variable bounds:** *E accepts Byte | Integer | Long | Short*
**Output type:** *E*
## Examples
### Example 1: Base case
**Argument values:**
* **Expression:** 1
* **Number of bits:** 1
**Output:** 0
***
### Example 2: Base case
**Argument values:**
* **Expression:** 12345678910
* **Number of bits:** 5
**Output:** 385802465
***
### Example 3: Null case
**Argument values:**
* **Expression:** `number`
* **Number of bits:** 1
| number | **Output** |
| ----- | ----- |
| *null* | *null* |
***
### Example 4: Edge case
**Argument values:**
* **Expression:** 2147483647
* **Number of bits:** 100
**Output:** 134217727
***
### Example 5: Edge case
**Argument values:**
* **Expression:** -2147483648
* **Number of bits:** 10
**Output:** -2097152
***
### Example 6: Edge case
**Argument values:**
* **Expression:** 1
* **Number of bits:** -10
**Output:** 0
***