Probability

Probability Calculator

Use this probability calculator to find probabilities involving two events, repeated independent events, or solve for a missing probability. Enter your values and click Calculate to get the answer with a clear, step-by-step solution.

Calculation Type
The occurrence of A does not change the probability of B.
Enter a decimal from 0 to 1.
Enter a decimal from 0 to 1.
Enter the probability that A and B both occur.
If one event is already known to have occurred, use the Conditional Probability Calculator .
Probability of A on each independent trial.
Enter a positive whole number.
Need the probability of exactly, at most, or at least a specific number of successes? Use the Binomial Distribution Calculator .
Enter probabilities as decimals from 0 to 1. Example results are shown automatically. After changing the values, click Calculate to update the results.
For specialized probability problems, try the Conditional Probability Calculator or Bayes Theorem Calculator .

How to Use the Probability Calculator

This probability calculator helps you find probabilities involving two events, repeated independent events, or solve for an unknown probability from values you already know using a general probability solver option.

Two Events

If your probability problem involves two events A and B:

  1. Choose the Two Events option
  2. Select the relationship between A and B. Here, you need to specify whether the events are independent, mutually exclusive, or General events.
  3. Select the probability you want to find.
  4. Enter P(A) and P(B) as decimals. If you selected General events, you will also be required to enter P(A ∩ B).
  5. Click Calculate.

The calculator will instantly return the correct probability value, a Venn diagram showing the representation of the answer, and a clear, step-by-step solution of how the value was obtained. The two events option will help you compute the following probabilities:

  • Probability that both A and B occurred, P(A ∩ B)
  • Probability of A or B, P(A ∪ B)
  • Probability of A only
  • Probability of B only
  • Probability of exactly one of A or B
  • Probability of Neither A nor B
  • Probability of not A happening
  • Probability of not B happening

Repeated Events

The repeated events option of our probability calculator allows you to calculate the probability that event A occurs every time, A occurs at least once, or A never occurs. This comes in handy when the same independent event can occur several times, and its probability stays the same on every trial.

To use this option of the calculator:

  1. Enter the probability of A on one trial, P(A).
  2. Enter the number of independent trials, n.
  3. Select whether you want to find the probability that A occurs every time, never, or at least once.
  4. Click Calculate.

The calculator will return the correct probability and show you exactly how the value was calculated, step-by-step.

Note. If your question asks for exactly, at most, or at least a specific number of successes, use our Binomial Probability Calculator instead.

Probability Solver

The probability solver option of the calculator helps you find P(A), P(B), P(not A), P(not B), P(A ∩ B), and P(A ∪ B) when related probabilities are known. This option is ideal when you need to find a missing probability, when you are given information about other related probabilities.

To use this option of the calculator:

  1. Select the Probability solver option
  2. Select the probability you want to find
  3. Choose the calculation method that matches the already known information in your question
  4. Enter the known probabilities as decimals
  5. Click calculate

The calculator will instantly return the correct probability, the corresponding Venn diagram, and a clear, step-by-step solution of how to find the probability manually.

What Is a Probability Calculator?

A probability calculator helps you calculate how likely an event or combination of events is to occur. Probability values range from 0 to 1:

  • A probability of 0 means the event cannot occur.
  • A probability of 1 means the event is certain.
  • Values between 0 and 1 describe different levels of likelihood.

For a simple experiment with equally likely outcomes, probability can be defined as: P(A) = number of favorable outcomes (X) / total number of possible outcomes (N)

However, many probability problems involve more than one event. In those cases, the correct calculation depends on whether the events are independent, mutually exclusive, or allowed to overlap.

Our probability calculator is designed primarily for those two-event and repeated-event problems.

Probability of Two Events

Suppose A and B are two events. We may want to know whether both occur, whether at least one occurs, whether exactly one occurs, or whether neither occurs.

Common probability notation includes:

ProbabilityMeaning
P(A)Probability that A occurs
P(B)Probability that B occurs
P(A ∩ B)Probability that both A and B occur
P(A ∪ B)Probability that A or B or both occur
P(not A)Probability that A does not occur
P(not B)Probability that B does not occur

Before calculating a two-event probability, the most important step is to determine how A and B are related.

Independent, Mutually Exclusive, and General Events

The relationship between the two events determines how we find their overlap, P(A ∩ B).

Independent Events

Two events are independent when the occurrence of one event does not change the probability of the other. For example, suppose you roll a fair die twice. Getting a 6 on the first roll does not change the probability of getting a 6 on the second roll. Thus, the two events are independent.

For independent events, P(A ∩ B) = P(A) × P(B)

Mutually Exclusive Events

Mutually exclusive events cannot occur at the same time. In other words, if two events are mutually exclusive, the occurrence of one completely rules out and prevents the occurrence of the other.

For example, on one roll of a die:

  • A = rolling a 2
  • B = rolling a 5

A single roll cannot be both 2 and 5, so the events are mutually exclusive.

For mutually exclusive events A and B, P(A ∩ B) = 0 because A and B cannot happen at the same time.

General Events

General events may overlap, but we should not assume that they are independent. In this case, P(A ∩ B) must be known or calculated from other information.

For instance, a college student may belong to a study group and also use the tutoring center. The events can occur together, so their overlap may be greater than 0.

If your problem gives a conditional probability such as P(A|B) instead of the intersection, use the Conditional Probability Calculator instead.

How to Find the Probability of A and B

The probability that both A and B occur is called the intersection and is written: P(A ∩ B)

How you calculate it depends on the relationship between the events. If the two events are independent: P(A ∩ B) = P(A) x P(B). However, if the events are mutually exclusive (dependent), P(A ∩ B) = 0

Therefore, for general events, the joint probability must be known or obtained from additional information.

Example 1: Probability of Two Independent Events

A university survey found that the probability a randomly selected student uses the campus recreation center in a given week is 0.40. The probability that the same student attends a university-sponsored lecture is 0.30. Assume the events are independent. Find the probability that the student does both.

Solution

Let:

  • A = student uses the recreation center
  • B = student attends the lecture

From the question, we know that:

  • P(A) = 0.40
  • P(B) = 0.30
  • A and B are independent

We want to find P(A ∩ B).

Since the events are independent:

P(A ∩ B) = P(A) x P(B)

Substituting the values into the formula, we get:

P(A ∩ B) = 0.40 × 0.30

= 0.12

Therefore, P(A ∩ B) = 0.12. This implies that the probability that the student both uses the recreation center and attends the lecture is 0.12.

How to Find the Probability of A or B

The probability that A or B or both occur is called the union and is written:

P(A ∪ B)

For events that may overlap, use the addition rule:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

We subtract P(A ∩ B) because the overlap is included once in P(A) and once again in P(B).

If A and B are mutually exclusive, their intersection is 0. The formula then becomes:

P(A ∪ B) = P(A) + P(B)

Example 2: Mutually Exclusive Events

A college randomly selects one student from a graduating class. The probability that the student receives the economics department award is 0.08, while the probability of receiving the mathematics department award is 0.06. Assume the rules allow a student to receive only one of these two awards.

Find the probability that the selected student receives either award.

Let:

  • A = student receives the economics award
  • B = student receives the mathematics award

From the question:

  • P(A) = 0.08
  • P(B) = 0.06
  • A and B are mutually exclusive

Since the events cannot occur together:

P(A ∩ B) = 0

Now calculate the union:

P(A ∪ B) = P(A) + P(B)

= 0.08 + 0.06

= 0.14

Therefore:

P(A ∪ B) = 0.14

The probability that the selected student receives either award is 0.14.

How to Calculate General Overlapping Events

When A and B may overlap and independence cannot be assumed, you need P(A ∩ B).

Once the intersection is known, the calculator can find all the related probabilities.

Suppose:

  • P(A) = probability of A
  • P(B) = probability of B
  • P(A ∩ B) = probability of both

Then:

A only

P(A only) = P(A) − P(A ∩ B)

B only

P(B only) = P(B) − P(A ∩ B)

Exactly one

P(exactly one) = P(A only) + P(B only)

A or B

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Neither

P(neither) = 1 − P(A ∪ B)

Example 3: General Overlapping Events

A university survey found that 46% of students participate in a study group and 38% use the tutoring center. In addition, 20% do both.

Find the probability that a randomly selected student does exactly one of these activities.

Let:

  • A = student participates in a study group
  • B = student uses the tutoring center

From the question, we know that:

  • P(A) = 0.46
  • P(B) = 0.38
  • P(A ∩ B) = 0.20

Since the events may overlap and the joint probability is given, these are general events.

First, find A only:

P(A only) = P(A) − P(A ∩ B)

= 0.46 − 0.20

= 0.26

Next, find B only:

P(B only) = P(B) − P(A ∩ B)

= 0.38 − 0.20

= 0.18

Exactly one event occurs when either A only or B only occurs.

Therefore:

P(exactly one) = 0.26 + 0.18

= 0.44

So:

P(exactly one) = 0.44

The probability that the student participates in exactly one of the two activities is 0.44.

Understanding the Venn Diagrams

The Venn diagrams in the calculator show which part of the sample space belongs to each probability.

For two events, the circles represent A and B, while the surrounding rectangle represents the full sample space.

The shaded region changes depending on the probability selected:

ProbabilityShaded region
P(A ∩ B)Only the overlap between A and B
P(A ∪ B)Both circles, including their overlap
A onlyPart of A outside B
B onlyPart of B outside A
Exactly oneA only and B only, but not the overlap
NeitherArea outside both A and B
Not AEverything outside A
Not BEverything outside B

These diagrams are particularly useful when deciding whether a probability question is asking for AND, OR, exactly one, or neither.

A and B vs. A or B

The words and and or describe different regions of a probability problem.

A and B

“A and B” means both events occur.

It is represented by:

P(A ∩ B)

The intersection is the overlapping part of A and B in a Venn diagram.

A or B

“A or B” means A occurs, B occurs, or both occur.

It is represented by:

P(A ∪ B)

In probability, or normally includes the possibility that both events occur unless the problem specifically says “but not both.”

What Does Exactly One of A or B Mean?

Exactly one means that either A occurs or B occurs, but not both.

You can find it by adding the A-only and B-only regions:

P(exactly one) = P(A only) + P(B only)

An equivalent formula is:

P(exactly one) = P(A) + P(B) − 2P(A ∩ B)

Suppose:

  • P(A) = 0.50
  • P(B) = 0.40
  • P(A ∩ B) = 0.15

Then:

P(exactly one) = 0.50 + 0.40 − 2(0.15)

= 0.90 − 0.30

= 0.60

Therefore:

P(exactly one) = 0.60

How to Find the Probability of Neither A nor B

“Neither A nor B” means that A does not occur and B does not occur.

First find the probability that A or B occurs:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Then use the complement rule:

P(neither) = 1 − P(A ∪ B)

For example, if:

P(A ∪ B) = 0.72

then:

P(neither) = 1 − 0.72

= 0.28

Therefore:

P(neither) = 0.28

Complement Probability

The complement of an event is the probability that the event does not occur.

For event A:

P(not A) = 1 − P(A)

Similarly:

P(not B) = 1 − P(B)

If P(A) = 0.64:

P(not A) = 1 − 0.64

= 0.36

Therefore:

P(not A) = 0.36

An event and its complement always add up to 1.

Probability of Repeated Independent Events

Repeated-event probability applies when the same type of event is observed several times under independent conditions.

Two requirements are important:

  • each trial must be independent;
  • the probability of A must remain the same on every trial.

The calculator can find the probability that A occurs every time, never occurs, or occurs at least once.

A Occurs Every Time

If A has probability P(A) and there are n independent trials:

P(A every time) = [P(A)]ⁿ

A Never Occurs

First find the complement:

P(not A) = 1 − P(A)

Then:

P(A never occurs) = [1 − P(A)]ⁿ

A Occurs at Least Once

“At least once” is easiest to calculate using the complement of never occurring:

P(at least one A) = 1 − [1 − P(A)]ⁿ

Example 4: Probability an Event Occurs Every Time

A university’s online system successfully processes a particular type of submission with probability 0.80 on any independent attempt. Assume three submissions are processed independently.

Find the probability that all three submissions are processed successfully.

From the question:

  • P(A) = 0.80
  • n = 3

We want A to occur on every trial.

Use:

P(A every time) = [P(A)]³

= 0.80³

= 0.512

Therefore:

P(A every time) = 0.512

The probability that all three submissions are successfully processed is 0.512.

Example 5: Probability an Event Never Occurs

A student has a 0.30 probability of receiving a particular optional survey question on each of four independent practice quizzes.

Find the probability that the student never receives the question.

From the question:

  • P(A) = 0.30
  • n = 4

First, find the probability that A does not occur on one quiz:

P(not A) = 1 − 0.30

= 0.70

For four independent quizzes:

P(A never occurs) = 0.70⁴

= 0.2401

Therefore:

P(A never occurs) = 0.2401

The probability that the student never receives the question in the four quizzes is 0.2401.

Example 6: Probability of At Least One Event

Suppose a student has a 0.15 probability of being selected for a classroom presentation in each of five independent class meetings.

Find the probability that the student is selected at least once.

From the question:

  • P(A) = 0.15
  • n = 5

First, find the probability of not being selected in one meeting:

P(not A) = 1 − 0.15

= 0.85

Next, find the probability of never being selected:

P(A never occurs) = 0.85⁵

= 0.443705

Use the complement rule:

P(at least one A) = 1 − 0.443705

= 0.556295

Therefore:

P(at least one A) = 0.556295

The probability that the student is selected at least once during the five meetings is approximately 0.556295.

If you need the probability of exactly 2 successes, at most 3 successes, or another specific number of successes, use our Binomial Distribution Calculator.

How to Use the Probability Solver

The probability solver works backward from probabilities you already know.

Instead of selecting the relationship between A and B first, choose the probability you want to find. The calculator then asks for the information needed to solve for that value.

It can solve for:

  • P(A)
  • P(B)
  • P(not A)
  • P(not B)
  • P(A ∩ B)
  • P(A ∪ B)

This is useful when a homework or exam problem gives the union but asks for the intersection, or gives a complement and asks for the original probability.

Example 7: Find P(A ∪ B)

Suppose:

  • P(A) = 0.52
  • P(B) = 0.36
  • P(A ∩ B) = 0.18

Find P(A ∪ B).

Use the addition rule:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

= 0.52 + 0.36 − 0.18

= 0.70

Therefore:

P(A ∪ B) = 0.70

Example 8: Find P(A ∩ B) When the Union Is Known

At a university, suppose:

  • P(A) = 0.48
  • P(B) = 0.41
  • P(A ∪ B) = 0.72

Find P(A ∩ B).

Start with:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Rearrange the formula:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B)

Substituting:

P(A ∩ B) = 0.48 + 0.41 − 0.72

= 0.17

Therefore:

P(A ∩ B) = 0.17

Example 9: Find P(A) From Other Known Probabilities

Suppose:

  • P(A ∪ B) = 0.68
  • P(B) = 0.35
  • P(A ∩ B) = 0.14

Find P(A).

Recall:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

Solving for P(A) gives:

P(A) = P(A ∪ B) − P(B) + P(A ∩ B)

Substituting:

P(A) = 0.68 − 0.35 + 0.14

= 0.47

Therefore:

P(A) = 0.47

Independent Events vs. Mutually Exclusive Events

Independent and mutually exclusive do not mean the same thing.

Independent events can occur together. One event simply does not change the probability of the other.

For independent events:

P(A ∩ B) = P(A)P(B)

Mutually exclusive events cannot occur together.

Therefore:

P(A ∩ B) = 0

For events with probabilities greater than 0, mutually exclusive events are generally not independent. If one occurs, you immediately know the other did not occur.

This distinction is important because selecting the wrong relationship leads to the wrong intersection and therefore incorrect values for the union, exactly one, and neither.

When Should I Use Conditional Probability Instead?

Use conditional probability when the question tells you that another event has already occurred.

Look for wording such as:

  • “given that”
  • “assuming that B occurred”
  • “among students who…”
  • “of those who…”

For example:

What is the probability that a student passes given that the student attended tutoring?

This is a conditional probability, written P(A|B).

Use our Conditional Probability Calculator for these problems.

When Should I Use Bayes’ Theorem?

Bayes’ theorem is useful when you want to reverse a conditional probability using prior information and new evidence.

For example, you may know P(B|A) but want to find P(A|B).

In that case, use our Bayes Theorem Calculator.

Probability vs. Probability Distribution

The calculator on this page works with probability rules involving events.

A probability distribution is different. It describes how probabilities are assigned across possible values of a random variable.

For example:

  • the binomial distribution models the number of successes in a fixed number of independent trials;
  • the Poisson distribution models counts of events over an interval;
  • the normal distribution models many continuous measurements.

If your problem specifies a probability distribution, use the appropriate calculator from our Probability Distribution Calculators collection.

Using Combinations and Permutations in Probability

Some probability questions require you to count the number of possible outcomes before calculating the probability.

Use a Combination Calculator when order does not matter.

Use a Permutation Calculator when order matters.

Once you know the number of favorable and possible outcomes, you can use those counts to set up the required probability.

Common Probability Mistakes

Most errors in two-event probability problems come from choosing the wrong rule rather than performing the arithmetic incorrectly.

Watch for these common mistakes:

  • Assuming events are independent without being told. If independence is not justified, do not automatically multiply P(A) and P(B).
  • Confusing independent with mutually exclusive. Independent events can occur together, while mutually exclusive events cannot.
  • Adding P(A) and P(B) without subtracting the overlap. For overlapping events, use P(A ∪ B) = P(A) + P(B) − P(A ∩ B).
  • Treating “or” as exactly one. In probability, A or B normally includes the case where both occur.
  • Using the grand total for a conditional probability. Once an event is given, the relevant sample space changes.
  • Using the repeated-events formulas when trials are dependent. These formulas require independent trials with the same probability on each trial.
  • Entering percentages in this calculator. Enter probabilities as decimals. For example, enter 35% as 0.35.

Frequently Asked Questions

What is a probability calculator?

A probability calculator finds the likelihood of events occurring using the probability values you provide. This calculator can find probabilities involving two events, repeated independent events, and solve for missing probabilities with step-by-step solutions.

What does P(A ∩ B) mean?

P(A ∩ B) is the probability that both A and B occur. It is called the intersection or joint probability of A and B.

What does P(A ∪ B) mean?

P(A ∪ B) is the probability that A occurs, B occurs, or both occur. It is called the union of A and B.

How do I calculate the probability of A and B?

If A and B are independent, multiply their probabilities:

P(A ∩ B) = P(A)P(B)

If they are mutually exclusive, P(A ∩ B) = 0. For other events, the intersection must be known or calculated from additional information.

How do I calculate the probability of A or B?

Use:

P(A ∪ B) = P(A) + P(B) − P(A ∩ B)

If the events are mutually exclusive, P(A ∩ B) = 0, so you can simply add P(A) and P(B).

What is the difference between independent and mutually exclusive events?

Independent events do not affect each other’s probabilities and can occur together. Mutually exclusive events cannot occur at the same time.

How do I find the probability of neither A nor B?

First calculate P(A ∪ B). Then use the complement rule:

P(neither) = 1 − P(A ∪ B)

How do I calculate the probability of at least one event?

For n independent trials with probability P(A) on each trial:

P(at least one A) = 1 − [1 − P(A)]ⁿ

This works by subtracting the probability that A never occurs from 1.

What values can a probability have?

A probability must be between 0 and 1. A value of 0 represents an impossible event, while 1 represents a certain event.

Can I enter percentages in the probability calculator?

No. Enter probabilities as decimals from 0 to 1. For example, enter 60% as 0.60.

Does this calculator find conditional probability?

The Two Events calculator focuses on intersections, unions, complements, and related event probabilities. For probabilities such as P(A|B) or P(B|A), use our Conditional Probability Calculator.

When should I use the binomial distribution instead of repeated events?

Use the repeated-events option when you need the probability that an event occurs every time, never, or at least once. If your problem asks for exactly, at most, more than, or at least a specific number of successes, use the Binomial Distribution Calculator.

Cite

Choose APA, MLA, Chicago, or Harvard, then copy the citation.

Mburu, J.. (2026, September 11). Probability Calculator. StatCalc.net. Retrieved September 11, 2026, from https://statcalc.net/probability-calculator/

Joseph Mburu

About This Calculator

Prepared by Joseph Mburu · Updated on

Joseph is an applied statistician and data analyst with over 6 years of experience helping students, researchers, and professionals solve statistics and data analysis problems. He holds a degree in Applied Statistics and a Master’s degree in Data…

We aim to keep our calculators accurate, easy to use, and helpful for learning. Always check that your inputs match the assumptions of the method you are using.