Hexadecimal Bitwise Operations Calculator

This calculator performs bitwise operations on two hexadecimal numbers and displays the result in hexadecimal format.

Input Parameters

Calculation Results

Calculation Formula

Please add calculation formula here

Where:

Result:

Result will be displayed here

Hexadecimal Bitwise Operations Calculator Calculator Usage Guide

Learn how to use the Hexadecimal Bitwise Operations Calculator calculator and its working principles

How to Use the Calculator

  1. Enter two hexadecimal numbers in the input fields. Hexadecimal numbers can contain digits (0-9) and letters (A-F, a-f).
  2. Select a bitwise operation from the dropdown menu:
    • AND: Performs a bitwise AND operation on the two hexadecimal numbers.
    • OR: Performs a bitwise OR operation on the two hexadecimal numbers.
    • XOR: Performs a bitwise XOR operation on the two hexadecimal numbers.
    • NOT: Performs a bitwise NOT operation on the first hexadecimal number.
    • LEFT SHIFT: Shifts the bits of the first hexadecimal number to the left by a specified number of positions.
    • RIGHT SHIFT: Shifts the bits of the first hexadecimal number to the right by a specified number of positions.
  3. If you select a shift operation (LEFT SHIFT or RIGHT SHIFT), enter the number of positions to shift in the "Shift Amount" field.
  4. Click the "Calculate" button to perform the operation and display the result.
  5. Click the "Reset" button to clear all input fields and results.

Bitwise Operations Explained

Bitwise AND (AND) compares each bit of the first number with the corresponding bit of the second number. If both bits are 1, the resulting bit is 1; otherwise, it is 0.

Bitwise OR (OR) compares each bit of the first number with the corresponding bit of the second number. If at least one of the bits is 1, the resulting bit is 1; otherwise, it is 0.

Bitwise XOR (XOR) compares each bit of the first number with the corresponding bit of the second number. If the bits are different, the resulting bit is 1; otherwise, it is 0.

Bitwise NOT (NOT) inverts each bit of the number. 0 becomes 1, and 1 becomes 0.

Bitwise LEFT SHIFT (LEFT SHIFT) shifts the bits of the number to the left by a specified number of positions. Each shift adds a 0 at the right end.

Bitwise RIGHT SHIFT (RIGHT SHIFT) shifts the bits of the number to the right by a specified number of positions. Each shift moves the leftmost bit to the rightmost position.