Probability and Randomness
This tool calculates the sample proportion (p-hat or p̂), a key value in statistics representing the fraction of a sample that has a particular characteristic.
Explore how the P-hat Calculator is used in different real-world scenarios. Click on an example to load the data.
In a pre-election poll, 550 out of 1000 surveyed voters said they would vote for Candidate A.
Sample Size (n): 1000
Successes (x): 550
A factory samples 200 light bulbs from a production line and finds that 15 are defective.
Sample Size (n): 200
Successes (x): 15
In a clinical trial for a new drug, 80 out of 120 patients showed a positive response.
Sample Size (n): 120
Successes (x): 80
An e-commerce site shows a new button design to 500 users, and 300 of them click it.
Sample Size (n): 500
Successes (x): 300