# Probability Calculator

This **Probability** calculator helps you measure the likelihood of an event occurring

## What is Probability?

Probability is a measure of the likelihood of an event occurring. It is calculated by dividing the number of ways an event can occur by the total number of possible outcomes. The probability of an event is represented by a number between 0 and 1, where 0 indicates that the event is impossible and 1 indicates that the event is certain to occur.

## Here is an example of how to calculate probability:

Suppose you are flipping a fair coin, which has two possible outcomes: heads or tails. The probability of getting heads on a single flip of the coin is 1/2, because there is only one way to get heads (by flipping the coin and getting heads) out of a total of two possible outcomes (heads or tails).

Another example is rolling a six-sided die, which has six possible outcomes: 1, 2, 3, 4, 5, and 6. The probability of rolling a 1 on a single roll of the die is 1/6, because there is only one way to roll a 1 (by rolling the die and getting a 1) out of a total of six possible outcomes (1, 2, 3, 4, 5, and 6).

In general, the probability of an event occurring can be calculated using the following formula:

`Probability = number of ways the event can occur / total number of possible outcomes`

For example, suppose you are drawing a card from a standard deck of 52 playing cards. The probability of drawing a queen is 4/52, because there are four queens in the deck (one of each suit) and a total of 52 possible cards that can be drawn.

Probability is a fundamental concept in statistics and probability theory. It is used to model and analyze the likelihood of different events occurring, and to make predictions and decisions based on this likelihood.