Production Calculators
Select a sub-calculator below to estimate different aspects of swine production.
Statistical Concepts
Key ideas to understand before calculating sample sizes.
Terms in Simple Language
Confidence Level
How sure we are that our numbers represent the whole population.
Margin of Error
How close our sample estimate is expected to be to the true population value.
Power
The ability of a study to detect a true difference when one exists.
Effect Size
The magnitude of the difference between groups (e.g., average weight difference).
Variation
The greater the variability or deviation of observed values from the mean, the more samples we need.
Prevalence
The fraction (or %) of animals that have a certain condition or disease at a given time.
Clustering
The degree of spread of a pathogen in a room. A clustering of 0% means infected pigs are randomly distributed, while 100% clustering means all infections are concentrated within the smallest possible number of litters.
Sample Size for One Mean
Number of pigs needed:
Sample Size for Two Independent Means
Number of pigs needed per group:
Sample Size for Two Paired Means
Total pairs needed:
Sample Size for One Proportion
Sample size needed:
Sample Size for Two Proportions
Sample size per group:
Sample size to detect a disease pathogen
Number of samples needed:
Sample size to estimate prevalence at the animal level
Number of samples needed:
How many pigs to test (PRRSV)?
FOF Sampling (PRRSV)
Inputs
Results & Details
Results:
Source articles: Osemeke et al. (2022). PMC10099699 and Osemeke et al. (2023). PMID: 35816833
Processing Fluids Sampling (PRRSV)
Inputs
Results & Details
Results:
Source article: Lopez, et al. (2021). Vet. Micro.
Nasal Wipes (NW) sampling for IAV
Inputs
Results
Source article: Moraes et.al. 2025 (in press)
Family Oral Fluids (FOF) sampling for IAV
Inputs
Results
Source article: Moraes et. al., 2025 (in press)
Udder Wipes (UW) sampling for IAV
Inputs
Results
Source article: Moraes et. al., 2025 (in press)
Weekly Commodity Prices
Below you can see the most recent prices for corn, soybeans, hogs, etc. from a CSV or API. Hover over lines to see exact values and dates.