P-Hat Calculator
Use our p hat calculator to calculate p̂ (p hat) instantly from successes and sample size. Includes the p hat formula, examples, and a simple explanation of how to calculate p hat in statistics.
What is P Hat?
P hat (written as p̂) is the sample proportion. It’s used in statistics to estimate the true population proportion (p) based on data from a sample.
If you’re asking how do you find p hat in statistics, you take the number of successes in the sample and divide by the total sample size. The result is the p hat value (a proportion between 0 and 1).
This page includes a find p hat calculator and a clear explanation of how to calculate p hat statistics for confidence intervals, hypothesis tests, and basic proportion problems.
P Hat Formula
To calculate p hat, divide the number of successes by the sample size.
Where x is the number of successes and n is the sample size.
So the p hat value is 0.35 (35%).
If you want a percent, multiply p̂ by 100.
How to Calculate P Hat
- 1
Enter the number of successes (x).
- 2
Enter the sample size (n).
- 3
Divide x by n to get p̂ (p hat).
- 4
Optionally multiply by 100 to express p̂ as a percentage.
Frequently Asked Questions
Divide the number of successes by the sample size: p̂ = x ÷ n.
Use the p hat formula p̂ = x/n, where x is successes and n is total observations.
Count successes (x) and divide by total sample size (n).
Yes—enter x and n and the p hat calculator outputs p̂ immediately.
p̂ is a proportion, so it usually falls between 0 and 1 (inclusive).
p̂ is undefined when n = 0 because you can’t divide by zero. Use a valid sample size.
p is the true (unknown) population proportion, while p̂ is the sample-based estimate.