Probability Calculator Online – Free | 8gwifi.org

Probability Calculator

Calculate probabilities using basic rules, conditional probability, and Bayes' theorem

Calculation Type

Basic Probability: P(A) = Favorable Outcomes / Total Outcomes
Conditional Probability: P(A|B) - Probability of A given B has occurred
Bayes' Theorem: Update probability based on new evidence
Initial probability of event A
Probability of evidence B given A is true
Probability of evidence B given A is false
Multiple Events: AND, OR, NOT operations

Results

Select calculation type and enter values

Understanding Probability

Probability measures the likelihood of an event occurring, expressed as a value between 0 (impossible) and 1 (certain), or 0% to 100%.

Basic Probability Rules

1. Basic Probability
P(A) = Number of Favorable Outcomes / Total Number of Outcomes

Example: Rolling a die, P(rolling a 3) = 1/6 ≈ 0.167 or 16.7%

2. Complement Rule
P(NOT A) = P(¬A) = 1 - P(A)

The probability an event doesn't occur is 1 minus the probability it does occur.

3. Addition Rule (OR)
P(A OR B) = P(A) + P(B) - P(A AND B)

For mutually exclusive events: P(A OR B) = P(A) + P(B)

Example: Drawing a heart OR a king from a deck

4. Multiplication Rule (AND)
P(A AND B) = P(A) × P(B|A)

For independent events: P(A AND B) = P(A) × P(B)

Example: Flipping heads AND rolling a 6

Conditional Probability

The probability of event A given that event B has occurred:

P(A|B) = P(A AND B) / P(B)

Example: Probability of rain given cloudy sky

Bayes' Theorem

Update probabilities based on new evidence:

P(A|B) = [P(B|A) × P(A)] / P(B)

Where:

  • P(A|B): Posterior probability (what we want to find)
  • P(B|A): Likelihood (probability of evidence given hypothesis)
  • P(A): Prior probability (initial belief)
  • P(B): Marginal probability of evidence

Full Bayes' Formula:

P(A|B) = [P(B|A) × P(A)] / [P(B|A) × P(A) + P(B|¬A) × P(¬A)]

Key Concepts

Concept Definition
Independent Events One event doesn't affect the other: P(A AND B) = P(A) × P(B)
Mutually Exclusive Events cannot both occur: P(A AND B) = 0
Exhaustive Events Cover all possibilities: P(A₁) + P(A₂) + ... = 1
Joint Probability Both events occur: P(A AND B)

Real-World Applications

Medical Testing (Bayes' Theorem)

Problem: Disease affects 1% of population. Test is 90% accurate (sensitivity). False positive rate is 5%.

Question: If you test positive, what's the probability you have the disease?

Solution: P(Disease|Positive) = (0.90 × 0.01) / [(0.90 × 0.01) + (0.05 × 0.99)] ≈ 0.154 or 15.4%

Other Applications
  • Weather Forecasting: Probability of rain given cloud conditions
  • Spam Filtering: Probability email is spam given certain words
  • Quality Control: Probability of defect given inspection results
  • Sports: Win probabilities based on current score/time
  • Insurance: Risk assessment and premium calculation
  • Machine Learning: Classification and prediction algorithms

Common Probability Distributions

  • Uniform: All outcomes equally likely (fair die)
  • Binomial: Number of successes in fixed trials
  • Normal: Bell curve, continuous outcomes
  • Poisson: Count of events in fixed interval
Tip: Always check if events are independent before using multiplication rule. Independence means P(A|B) = P(A), i.e., knowing B doesn't change probability of A.

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.

Probability Calculator: FAQ

Independent vs mutually exclusive?

Independent events don’t affect each other (P(A∩B)=P(A)P(B)); mutually exclusive events cannot occur together (P(A∩B)=0). They are different concepts.

Conditional probability vs Bayes’ theorem?

Conditional: P(A|B)=P(A∩B)/P(B). Bayes reverses conditioning: P(A|B)=P(B|A)P(A)/P(B), useful for updating beliefs given evidence.

Permutation vs combination?

Permutations count ordered arrangements; combinations count unordered selections. Use permutations when order matters, combinations when it does not.

Common pitfalls?

Confusing OR with exclusive OR, assuming independence without justification, and double‑counting overlapping outcomes in unions.