Free · Probability theory and odds calculators 🎲
Sample Proportion from Successes & Trials
Calculate the observed success fraction p-hat from counts, or recover a compatible whole-number count.
- Formula & worked example
- Private in your browser
- No signup
Calculator inputs
Loading calculator…
How to use this calculator
- Enter the known values in the units shown. Results update as you type.
- Where results are editable, change one to solve backwards. Lock a value to hold it fixed.
- Use the worked example to check the method. Reset restores the starting fields.
Private by default
Inputs and results stay in this browser tab. Bookify does not upload or store the values you enter.
Formula and method
Forty successes in 100 observations give p-hat = 40/100 = 0.4, equivalent to 40%. Enter 0.4 in the fraction field.
Sample proportion p̂ = success count / total count
Worked example
Enter these known values and leave the other values blank.
- Total observation count
- 100
- Success count
- 40
- Sample proportion as a fraction
- 0.4
Assumptions and limitations
- Counts are whole numbers, total count is positive, and successes range from zero to the total.
- The proportion field uses a fraction from zero to one, not a percent. Inverse inputs must produce whole counts.
- This describes observed data. It does not estimate a confidence interval, correct sampling bias or guarantee the population proportion.
Common questions
Do I enter 40 or 0.4 for forty percent?
Enter 0.4 in the proportion field. The success and total fields hold counts.
Can the sample proportion be zero or one?
Yes. No successes gives zero; every observation being a success gives one.
References
Bookify requires whole-number counts and a success count no greater than the total.
Related calculators
Explore probability theory and odds calculators 🎲 or browse all statistics calculators.