Skip to content

Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table

0 or 1
0 or 1

Result

Calculated result 1 Based on the values entered.
↗ Math

Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table: 0,0→0 | 0,1→1 | 1,0→1 | 1,1→1. Fundamental to digital circuits. — free online calculator.

Formula

OR: Output 1 if A=1 OR B=1 (or both)
  • Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table calculates its result from A (0 or 1), B (0 or 1). It uses the formula OR: Output 1 if A=1 OR B=1 (or both). Change any input to recalculate the result instantly.
  • The main inputs are A, B. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table

Inputs
  • A: 1 0 or 1
  • B: 0 0 or 1

Using A (0 or 1) = 1, B (0 or 1) = 0, the calculated result is 1.

Sample result: Calculating…

Frequently asked questions

What does the Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table calculate?

Logical OR Gate OR logic gate. Output 1 if any input is 1, else 0. Truth table: 0,0→0 | 0,1→1 | 1,0→1 | 1,1→1. Fundamental to digital circuits. — free online calculator.

Which values should I enter?

Enter A, B using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: OR: Output 1 if A=1 OR B=1 (or both).

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 7, 2026