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.

Sample size (n)
Total number of observations.
Number of occurrences (x)
Number of successes/occurrences.
Results
Calculated as x ÷ n.
Did we solve your problem today?

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.

P hat (sample proportion) =
= x ÷ n

Where x is the number of successes and n is the sample size.

= P hat (sample proportion estimate)
x
= Number of successes (events of interest)
n
= Sample size (total observations)
Example: calculate p hat
x=42, n=120 → p̂ = 42 ÷ 120 = 0.35

So the p hat value is 0.35 (35%).

P hat in stats (as a percent)
p̂% = (x ÷ n) × 100

If you want a percent, multiply p̂ by 100.

How to Calculate P Hat

  1. 1

    Enter the number of successes (x).

  2. 2

    Enter the sample size (n).

  3. 3

    Divide x by n to get p̂ (p hat).

  4. 4

    Optionally multiply by 100 to express p̂ as a percentage.

Frequently Asked Questions

How do you find p hat in statistics?

Divide the number of successes by the sample size: p̂ = x ÷ n.

How to calculate p hat statistics?

Use the p hat formula p̂ = x/n, where x is successes and n is total observations.

How to find the p hat value?

Count successes (x) and divide by total sample size (n).

Is this a find p hat calculator?

Yes—enter x and n and the p hat calculator outputs p̂ immediately.

What range can p hat be?

p̂ is a proportion, so it usually falls between 0 and 1 (inclusive).

What if n is 0?

p̂ is undefined when n = 0 because you can’t divide by zero. Use a valid sample size.

What’s the difference between p and p hat?

p is the true (unknown) population proportion, while p̂ is the sample-based estimate.

Explore more calculators
Browse by category to find related tools.