The conditional probability formula calculates the probability of an event given that another event has occurred.