# P-hat Calculator

Enter the sample size and the number of occurrences into the calculator to determine the p-hat.

## P-Hat Formula

The following formula is used to calculate p-hat (p^).

p^ = X / n

• Where p^ is the probability
• X is the number of occurrences of an event
• n is the sample size

## FAQ

What is p-hat?

P-hat, also denoted p^, is a term used in statistics to describe the probability of an event occurring base on a sample size. In other words, if p is the probability of the entire population, p^ is the probability of just a subset or sample of that population.

## P-hat Example

How to calculate p-hate?

1. First, determine the sample size.

Determine the size of the sample you wish to analyze. For this example we will say this is a sample size of 100.

2. Next, determine the number of occurrences in the sample.

Measure how many occurrences of an event or parameter are found in the sample. For this example we will say this is 10.

3. Finally, calculate p-hat.

Calculate p^ using the formula. We find, p^=10/100 = .10