✳tools.stBrowse tools
◈ Processed on your device
±

Union and intersection probabilities

Compute union, neither and exclusive events from P(A), P(B), and their overlap.

Free

Enter the probabilities of A, B and both occurring together. Inclusion–exclusion gives the union P(A) + P(B) − P(A and B), with complementary and exclusive outcomes returned separately.

◈ Local processingFree

How to use

  1. Enter your text, values, or image.
  2. Adjust the options and run the tool.
  3. Copy or download your result.

Worked example

Example input

P(A): 0.5
P(B): 0.4
P(A and B): 0.2

Example result

{
  "union": 0.7,
  "neither": 0.3,
  "onlyA": 0.3,
  "onlyB": 0.2,
  "exactlyOne": 0.5
}

Limitations and details

The intersection must be consistent with both event probabilities; independence is not assumed or inferred.

Inputs and options

P(A)
Number · Minimum: 0 · Maximum: 1
P(B)
Number · Minimum: 0 · Maximum: 1
P(A and B)
Number · Minimum: 0 · Maximum: 1

Frequently asked questions

Is this tool free and private?

Yes. All 300 tools are free in this phase. Processing happens in your browser; your input and files are not sent to our servers.

Related tools