Developer Tools
OR Calculator
Compute the bitwise OR of two numbers and see the result in decimal, binary, hex, and octal instantly.
Last updated: May 29, 2026
Client-Side Processing
Input Data Stays on Device
Instant Local Execution
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is OR Calculator?
OR Calculator computes the bitwise OR operation — the result bit is 1 whenever at least one of the corresponding input bits is 1. OR is commonly used to set specific bits in a value (by ORing with a bitmask), combine flag values, and merge feature flags.
How to Use OR Calculator
1
Select input base.
2
Enter two numbers.
3
The OR result appears in all bases.
Common Use Cases
- Setting specific bits in a register using a bitmask.
- Combining permission flags or feature flags.
- Merging two packed bitfield values.
Example Input and Output
12 OR 10 (decimal).
A=12, B=10
A: 12 (1100₂)
B: 10 (1010₂)OR result
OR: 14 (1110₂)Privacy
All calculations run locally in the browser.
Frequently Asked Questions
What does bitwise OR do?
Bitwise OR compares each bit position. The result bit is 1 when at least one input bit is 1. It is used to set specific bits while leaving others unchanged.
Is my data uploaded?
No. All calculation runs in your browser.
Related Tools
Bitwise Calculator
Calculate all bitwise operations — AND, OR, XOR, NAND, NOR, XNOR — with decimal, binary, hex, and octal input and output.
AND Calculator
Calculate the bitwise AND of two numbers with decimal, binary, hex, and octal input/output — includes a visual bit-by-bit breakdown.
NOR Calculator
Calculate the bitwise NOR (NOT OR) of two numbers — result in decimal, binary, hex, and octal with a visual bit diagram.
Number Base Converter
Convert numbers between binary, decimal, hexadecimal, octal, and any custom base — with bit grouping, signed integers, and step-by-step explanation.
Checksum Calculator
Calculate CRC-32, Adler-32, MD5, SHA-1, SHA-256, SHA-384, and SHA-512 checksums from text, hex, or Base64 input.
301 Redirect Code Generator
Generate redirect code for Apache (.htaccess), Nginx, IIS (web.config), PHP, HTML meta refresh, and JavaScript. Supports 301, 302, 307, and 308 status codes.

