Fitness Calculator
Calculate absolute and relative biological fitness from survival and reproductive data.
Fitness Components
Fitness Formula
W = Survival × Fecundity × Mating Success
w = W / Wmax (relative fitness)
Fitness Values
Component Breakdown
What Is Biological Fitness?
In evolutionary biology, fitness is a measure of an organism's reproductive success — how many surviving, breeding offspring it contributes to the next generation. It is the central currency of natural selection: genotypes that leave more descendants increase in frequency, while those that leave fewer decline. This fitness calculator turns the abstract concept of "survival of the fittest" into concrete, reproducible numbers you can compare across individuals or genotypes.
Fitness is not about being strong, fast, or healthy in everyday terms. A peacock with a cumbersome tail or a salmon that dies after spawning can both be extremely fit if their traits maximize the number of offspring that themselves survive to reproduce. Biologists usually decompose total fitness (often written W) into multiplicative life-history components: the probability of surviving to reproductive age, the fecundity (number of offspring produced), and the mating success (probability of securing a mate). Because these stages happen in sequence, a failure at any one stage drives overall fitness toward zero — which is exactly why the calculator multiplies, rather than adds, the components.
This tool supports three complementary workflows. The Components mode builds absolute and relative fitness from survival, fecundity, and mating success. The Relative mode compares any observed fitness value to a reference genotype to extract the selection coefficient. The Offspring mode takes raw offspring counts from several individuals and reports the mean, variance, standard deviation, coefficient of variation, and mean relative fitness — the kind of population data that field ecologists and quantitative geneticists collect.
The Fitness Formula
The core engine of the fitness calculator in Components mode is a multiplicative model. Each percentage input is divided by 100 to become a probability, and fecundity is left as a raw count. Absolute fitness (W) is the expected number of offspring an individual contributes, while relative fitness (w) rescales that value against the maximum possible — an individual with 100% survival and 100% mating success.
Because the maximum uses the same fecundity, relative fitness simplifies to the product of the survival probability and the mating-success probability: w = s × m. The selection coefficient (scoeff) is then 1 − w, quantifying how strongly selection acts against the genotype relative to the fittest.
| Quantity | Expression |
|---|---|
| Absolute fitness (W) | s × f × m |
| Relative fitness (w) | W ÷ (1 × f × 1) = s × m |
| Selection coefficient | 1 − w |
Absolute and Relative Fitness
Where:
- W= Absolute fitness (expected offspring contribution)
- w= Relative fitness, scaled to the maximum possible (0–1)
- s= Survival probability (survival rate % ÷ 100)
- f= Fecundity (offspring produced per individual)
- m= Mating success probability (mating success % ÷ 100)
Relative Fitness and Selection Coefficients
Evolution is driven by differences in fitness, not absolute numbers, so the most useful quantity is usually relative fitness. The Relative mode of the calculator takes two numbers — an observed fitness for the genotype of interest and a reference fitness for a baseline genotype (commonly the most successful one, set to 100) — and computes w = observed ÷ reference. It also reports that ratio as a percentage of the reference.
The companion output is the selection coefficient, s = 1 − w. A selection coefficient of 0 means the genotype is just as fit as the reference and selection does not act against it. A coefficient near 1 means the genotype is strongly disfavored and approaching elimination. If the observed value exceeds the reference, the relative fitness rises above 1 and the selection coefficient becomes negative, indicating positive selection favoring the focal genotype.
These selection coefficients feed directly into population-genetic predictions. The change in allele frequency per generation under selection, the equilibrium frequency of a deleterious allele balanced by mutation, and the expected time to fixation all hinge on s. By converting raw fitness measurements into a clean coefficient, the relative fitness calculator bridges field observations and theoretical models such as the Hardy-Weinberg framework and Wright-Fisher dynamics.
Offspring-Count Statistics
When you have measured the number of offspring produced by several individuals, the Offspring mode summarizes the entire distribution. Enter the counts as a comma-separated list and the calculator returns the mean offspring number, the variance, the standard deviation, the coefficient of variation (CV), and the mean relative fitness.
The mean is the arithmetic average of the counts. Variance is computed as the population variance — the average squared deviation from the mean, dividing by the sample size N rather than N−1. The standard deviation is the square root of that variance, and the CV expresses the spread as a percentage of the mean (CV = SD ÷ mean × 100), letting you compare variability across groups with different averages.
To translate raw counts into fitness, the tool finds the maximum count, divides every individual's count by that maximum, and averages the results to give the mean relative fitness. The individual with the most offspring receives a relative fitness of exactly 1, and everyone else falls between 0 and 1. The variance in offspring number is itself biologically important: it sets the opportunity for selection (Crow's index, I = variance ÷ mean²), an upper bound on how fast selection can change a population.
How to Use the Fitness Calculator
Choose the mode that matches your data. In Components mode, enter survival rate as a percentage, fecundity as offspring per individual, and mating success as a percentage; the calculator returns absolute fitness, relative fitness, each component, and the selection coefficient. In Relative mode, type a reference fitness and an observed fitness to get the ratio and selection coefficient. In Offspring mode, paste a comma-separated list of offspring counts to obtain full distribution statistics.
A few practical pointers improve accuracy. Survival and mating success must be entered on a 0–100 scale because the code divides them by 100; entering 0.8 instead of 80 would understate fitness a hundredfold. Fecundity should be the realized number of offspring, not the number of eggs or seeds produced, since pre-recruitment mortality is captured separately by the survival term. When comparing genotypes, hold the reference constant so that selection coefficients stay on the same scale.
The results are most informative when read together. A high absolute fitness with a low relative fitness signals that a rival genotype is doing even better; a near-zero selection coefficient means the genotype is essentially neutral. Used this way, the biological fitness calculator supports coursework in evolution and ecology, study design for selection experiments, and quick sanity checks on published reproductive-success data.
Worked Examples
Components mode: survival, fecundity, and mating success
Problem:
An individual has an 80% survival rate, produces 5 offspring, and has a 70% mating success. Find its absolute fitness, relative fitness, and selection coefficient.
Solution Steps:
- 1Convert percentages: s = 80 ÷ 100 = 0.8 and m = 70 ÷ 100 = 0.7; fecundity f = 5.
- 2Absolute fitness W = s × f × m = 0.8 × 5 × 0.7 = 2.8.
- 3Relative fitness w = W ÷ (1 × f × 1) = 2.8 ÷ 5 = 0.56 (equivalently s × m = 0.8 × 0.7).
- 4Selection coefficient = 1 − w = 1 − 0.56 = 0.44.
Result:
Absolute fitness = 2.8000, relative fitness = 0.5600, selection coefficient = 0.4400.
Relative mode: comparing an observed genotype to a reference
Problem:
A reference genotype has a fitness value of 100 and the genotype under study has an observed fitness of 85. What is the relative fitness and selection coefficient?
Solution Steps:
- 1Relative fitness w = observed ÷ reference = 85 ÷ 100 = 0.85.
- 2Express as a percentage of the reference: 0.85 × 100 = 85.00%.
- 3Selection coefficient s = 1 − w = 1 − 0.85 = 0.15.
- 4As a percentage, selection acts against the genotype by 0.15 × 100 = 15.00%.
Result:
Relative fitness = 0.8500 (85.00% of reference); selection coefficient = 0.1500 (15.00%).
Offspring mode: distribution statistics from counts
Problem:
Five individuals produced offspring counts of 10, 8, 12, 9, and 11. Find the mean, variance, standard deviation, CV, and mean relative fitness.
Solution Steps:
- 1Mean = (10 + 8 + 12 + 9 + 11) ÷ 5 = 50 ÷ 5 = 10.00.
- 2Variance (population, ÷N) = (0 + 4 + 4 + 1 + 1) ÷ 5 = 10 ÷ 5 = 2.00; SD = √2.00 ≈ 1.41.
- 3CV = SD ÷ mean × 100 = 1.41 ÷ 10 × 100 ≈ 14.14%.
- 4Max count = 12, so relative fitnesses = (0.833, 0.667, 1.000, 0.750, 0.917); mean ≈ 0.8333.
Result:
Mean = 10.00, variance = 2.00, SD = 1.41, CV ≈ 14.14%, mean relative fitness ≈ 0.8333.
Tips & Best Practices
- ✓Enter survival rate and mating success as percentages (0–100); the calculator divides them by 100 internally.
- ✓Use realized offspring counts for fecundity, since survival captures pre-reproductive mortality separately.
- ✓Keep the reference fitness fixed when comparing several genotypes so selection coefficients stay comparable.
- ✓A near-zero selection coefficient means the genotype is effectively neutral; a value near 1 means strong selection against it.
- ✓In Offspring mode, separate counts with commas and avoid trailing text so every value is parsed correctly.
- ✓Compare the coefficient of variation across groups to judge relative variability when their mean offspring numbers differ.
- ✓Remember absolute fitness can be high while relative fitness is low if a competing genotype performs even better.
- ✓A negative selection coefficient (relative fitness above 1) indicates positive selection favoring the focal genotype.
Frequently Asked Questions
Sources & References
Last updated: 2026-06-05
Help us improve!
How would you rate the Fitness Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
Formula Source: Standard Mathematical References
by Various