# Calculator:Farming/Herbs

Jump to navigation Jump to search
Note: This calculator was recently updated. If there are issues or errors, please leave a message on the Talk page.

This calculator determines expected yield, cost, and profit of planting and picking herbs on a per run basis. Per patch calculations are listed below the main table.

• All prices are based on Grand Exchange prices, including seeds, herbs, and compost.
• The price of goutweed, whilst not having a specific Grand Exchange value, has an inherent value based on the exchange value of the herbs it provides when exchanging goutweed with Sanfew. The expected value is obtained based on the probabilities listed.
• Expected chance of disease leading to death based on ${\displaystyle (1-P)^{n-2}}$, where ${\displaystyle P}$ is the probability of disease per stage and ${\displaystyle n}$ is the number of growth cycles the crop requires to fully grow.
• Expected chance of disease leading death whilst using Resurrect Crops is based on ${\displaystyle \left(1-\left(1-P\right)^{n-1}\right)\left(1-R\right)+\left(\sum _{i=2}^{n-1}{\binom {n-1}{i}}p^{i}\left(1-P\right)^{\left(n-1\right)-i}\right)R}$ where ${\displaystyle P}$ is the probability of disease per stage, ${\displaystyle n}$ is number of stages a crop has to grow, and ${\displaystyle R}$ is the chance for Resurrect Crop to succeed.
• Expected yield based on negative binomial distribution of ${\displaystyle {\frac {HarvestLives}{(1-ChancetoSave)}}}$
• Rounding down is used on all base chances as is expected with RuneScript.[1]
• Composting experience is not included in the total run experience.
1. ^ Jagex. Mod Kieren's Twitter account. 8 September 2017. Mod Kieren: "On each stage! The division is always rounded down."
Templates used Module:Herb Farming calculator
module=Herb Farming calculator
form = HerbCalcForm
result = HerbCalcResult
param = playername|Player name||hs|farmingLevel,20,1;magicLevel,7,1;
param = farmingLevel|Farming Level|1|int|1-99
param = patchCount|Total herb patches|1|int|1-9
param = weissDiseaseFreePatch|Weiss disease-free patch|no|check|yes,no
param = trollheimDiseaseFreePatch|Trollheim disease-free patch|no|check|yes,no
param = hosidiusDiseaseFreePatch|50% Hosidius favour disease-free patch|no|check|yes,no
param = compostType|Compost|None|select|None,Compost,Supercompost,Ultracompost
param = useBottomlessCompostBucket|Bottomless bucket|no|check|yes,no
param = useMagicSecateurs|Magic secateurs|no|check|yes,no
param = useFarmingCape|Farming cape|no|check|yes,no
param = animaType|Anima Seed|None|select|None,Attas,Iasor
param = kandarinDiary|Kandarin Diary|None|select|None,5% — Medium Kandarin Diary,10% — Hard Kandarin Diary,15% — Elite Kandarin Diary
param = kourendHardDiary|Kourend Hard Diary|no|check|yes,no
param = useResurrectCrops|Use Resurrect Crops?|false|toggleswitch||magicLevel
param = magicLevel|Magic level|78|int|78-99

 Please input the data and submit the form.