Probability Calculator

Probability Calculator

Calculate single-event, joint intersection P(A ∩ B), union P(A ∪ B), and complement probabilities.

Joint Probability Results
Union P(A ∪ B)
0.7
Intersection P(A ∩ B)
0.2
Complement P(A')
0.5

At a Glance

Category
Probability
Best For
Students learning basic probability rules
Privacy
100% in your browser: nothing you enter is uploaded
Time Required
Under a minute
Cost
Free
Updated
November 2026

Quick Overview

What This Tool Does

Applies the multiplication rule for independent events and the addition rule for unions.

Who Should Use It

Probability and statistics students, and anyone reasoning about chance.

When to Use It

Combining the chances of two unrelated events.

Why It Is Useful

The rules are simple but easy to mix up; the calculator keeps them straight.

Key Features & Capabilities

Joint probability

The chance both events occur.

Union probability

The chance at least one occurs.

Complement

The chance event A does not occur.

How to Use This Tool

1

Enter P(A)

Type a probability between 0 and 1. Tip: Use 0.5 for a fair coin flip.

2

Enter P(B)

Type the probability of the second event. Tip: Events must be independent.

3

Read P(A and B)

It is the product of the two probabilities. Tip: It is never larger than either one.

4

Read P(A or B)

It is P(A) + P(B) − P(A and B). Tip: It is never smaller than either one.

Worked Real-World Example

A coin and a card

Event A has probability 0.5 and an independent event B has probability 0.4.

Sample Inputs
P(A)0.5
P(B)0.4
P(A and B)0.2 (P(A or B) = 0.7)
Calculation Breakdown
Both happen: 0.5 × 0.4 = 0.2
At least one happens: 0.5 + 0.4 − 0.2 = 0.7
Complement of A: 1 − 0.5 = 0.5
Neither happens: (1 − 0.5) × (1 − 0.4) = 0.3
There is a 20% chance both happen and a 70% chance at least one does.

How It Works (Math & Calculation Logic)

Inputs are limited to the range 0 to 1. P(A and B) = P(A) × P(B). P(A or B) = P(A) + P(B) − P(A and B). P(not A) = 1 − P(A). Results are rounded to four decimals. The events are assumed independent.

Formula / AlgorithmP(A∩B) = P(A)P(B) P(A∪B) = P(A) + P(B) − P(A∩B)
Variable & Logic Definitions
P(A), P(B)Event probabilities - Between 0 and 1

How to Interpret Your Results

Typical Benchmarks

Probabilities range from 0 (impossible) to 1 (certain).

Evaluating Your Output

P(A and B) is at most min(P(A), P(B)).

Recommended Next Action

Check independence before using the multiplication rule.

Frequently Asked Questions

What does independent mean?
Knowing one event happened does not change the probability of the other.
How do I find P(A and B)?
Multiply P(A) by P(B) for independent events.
How do I find P(A or B)?
Add the two and subtract P(A and B).
What is the complement?
The probability the event does not happen: 1 minus P.
What if the events are not independent?
Use conditional probability; see the Bayes theorem page.

Complementary QuickForma Utilities