Last updated: March 2, 2026 by Dr. David Park

Bayes' Theorem Explained

Formula

P(A|B) = P(B|A) * P(A) / [P(B|A) * P(A) + P(B|not A) * P(not A)]

Bayes' theorem describes how to update the probability of a hypothesis based on new evidence. It combines prior knowledge with observed data to calculate a posterior probability.

This theorem is foundational in medical testing, spam filtering, machine learning, and any domain where beliefs must be updated with new information.

Common use cases:

  • Medical diagnostic test interpretation
  • Spam email classification
  • Bayesian inference in machine learning

Frequently Asked Questions

DD

Dr. David Park

Applied Mathematician, PhD Mathematics

David holds a PhD in Applied Mathematics from MIT. He has published research on numerical methods and computational algorithms used in engineering and scientific calculators.

Share & Embed

Was this calculator helpful?

Related Calculators