OR Calculator

Compute bitwise OR of two numbers and see the result in binary, decimal and hex. Free, private and instant: everything runs in your browser.

Numbers
OR result
Result appears here as you type

What does the OR Calculator do?

Bitwise OR compares two numbers bit by bit and returns 1 where at least one bit is 1. For example 12 OR 10 = 14. Enter two integers in decimal, hex or binary and the calculator lines up every bit and shows the result in all common bases. It is commonly used for setting flags and combining permissions.

How to use the OR Calculator

  1. 1

    Enter your values

    Fill in number a and number b at the top of the OR Calculator.

  2. 2

    Choose the options

    Pick bit width, input format.

  3. 3

    Read the result

    The result updates instantly as you type. Copy it or download it as a text file.

When to use it

  • •Setting flags and combining permissions
  • •Verifying hand-calculated truth tables
  • •Debugging low-level code that manipulates bits

Why use this or calculator

  • 100% free, no signup or login
  • Runs locally: your data never leaves the browser
  • Instant results with clear error messages
  • Works on desktop, tablet and mobile
  • Copy to clipboard or download in one click
  • No watermarks and no usage limits

Frequently asked questions

What is the truth table for OR?+

0 OR 0 = 0, 0 OR 1 = 1, 1 OR 0 = 1, 1 OR 1 = 1.

Is the OR Calculator free?+

Yes. The OR Calculator is 100% free with no signup, no login, no usage limits and no watermark. It works on desktop and mobile browsers.

Is my data uploaded when I use the OR Calculator?+

No. The OR Calculator runs entirely in your browser with JavaScript. Nothing you paste or upload is sent to our servers, logged or stored.

Last updated by the Imaginex AI team.