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

0.80.950.80.880.96

Number of pigs needed:


              

Sample Size for Two Independent Means

0.80.950.80.880.96

Number of pigs needed per group:


              

Sample Size for Two Paired Means

0.80.950.80.880.96

Total pairs needed:


              

Sample Size for One Proportion

0.80.950.80.880.96

Sample size needed:


              

Sample Size for Two Proportions

0.80.950.80.880.96

Sample size per group:


              

Sample size to detect a disease pathogen

0950204080
0990204080
8095808896

Number of samples needed:


              

Sample size to estimate prevalence at the animal level

8095808896

Number of samples needed:


              

How many pigs to test (PRRSV)?

8095808896
100100204080
serum

Samples needed:


                    

Source article: Osemeke et al. (2023). Frontiers article

FOF Sampling (PRRSV)

Inputs

0610204080

Results & Details

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

03102040

Results


                    
Source article: Moraes et. al., 2025 (in press)

Udder Wipes (UW) sampling for IAV

Inputs

03102040

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.

Price Trends Over Time