The marginal value theorem calculator gives the optimal time to stay in a patch, the best long-term gain rate and the cost of staying too long or leaving too early for a forager that moves between patches, from the maximum gain, the time to gain half of it and the travel time.
How the calculation works
- Enter the maximum gain G and the time to gain half h.
- Enter the travel time between patches and a residence time to compare.
- Read the optimal time, the best rate and the loss.
Example
With a patch gain of 100 kJ, a half-gain time of 5 min and a travel time of 10 min, the forager should leave after 7.071 min, taking 58.6 % of the patch gain, 58.579 kJ. The best rate is 3.4315 kJ/min, equal to the instantaneous rate at leaving, 3.4315 kJ/min. Staying 15 min gives 3.0000 kJ/min, which is 87.4 % of the best rate.
Why it matters
The calculator helps behavioral ecology students and researchers, birdwatchers, naturalists and also anyone who studies optimal stopping in search tasks such as picking berries, fishing spots or browsing, and wants to check how long to stay at a source before moving on.
Good to know
The formula uses a gain curve of the form G·t / (t + h), where gain rises quickly and then slows. Other curves give other optimal times, so choose the model according to the patch. Times are in minutes and gains in kilojoules, but any units work if they are used consistently. The theorem assumes identical patches, no risk and a forager with perfect knowledge. Real animals use noisy cues and often stay a little longer than predicted.
Related tools
The Holling functional response calculator models consumption by density, the Michaelis-Menten calculator has the same saturating shape, the logistic growth calculator models a population and the Lotka-Volterra calculator models predators and prey.