The Hamilton’s rule calculator gives the net inclusive fitness effect r·B − C, the indirect fitness gain, the benefit-to-cost ratio needed and the break-even number of relatives for an altruistic act, from the relatedness of the recipients, the benefit to each, the cost to the actor and the number of recipients.
How the calculation works
- Choose the relatedness of the recipients.
- Enter the benefit to each recipient and the cost to the actor.
- Enter the number of recipients and read the net effect and the threshold.
Example
With a relatedness of 0.50000, a benefit of 3 to each of 1 recipient(s) and a cost of 1, the indirect fitness gain is 1.5000 and the net effect is 0.5000. The benefit-to-cost ratio needed is 2.000 and the one entered is 3.000, so the code for altruism favored is 1. Break-even needs 0.667 recipients, and repaying one life needs 2.00.
Why it matters
The calculator helps students of evolution, behavioral ecology and genetics, teachers and curious readers who want to test Hamilton’s rule on examples such as helping at the nest, alarm calls or sharing food, and see how relatedness changes the balance between benefit and cost.
Good to know
Benefit and cost are measured in the same unit of reproductive success, such as the number of offspring gained or lost. The rule in this simple form assumes that effects add up and that the recipients are equally related to the actor. Relatedness values are averages and differ for inbred or haplodiploid species. A result favoring altruism describes selection on the gene and not a conscious choice by the animal.
Related tools
The inbreeding coefficient calculator gives relatedness through pedigrees, the heritability calculator treats the response to selection, the selection coefficient calculator measures fitness differences and the genetic drift calculator covers chance changes in gene frequency.