# Calculator:Farming/Herbs

Templates used Calculator:Template/Farming/Herbs

This calculator determines expected yield, cost and profit (or lack there-of) of planting and picking herbs on a per patch basis. It assumes:

• All Prices are based on the Grand Exchange Market Watch, including seeds, herbs, composts and potions.
• The cost of a Juju farming potion is based on the cheapest per dose item available. It does not take into account visiting more than one Herb Patch per Dose, costs can be reduced this way.
• If any of the Master farmer outfits are chosen, cleaned herbs are harvested and taken into account for profit calculations.
• 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. An expected value can be 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 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 and as described by Jagex Moderators[1].
1. ^ Jagex. Mod Kieren's Twitter account. 8 September 2017. Mod Kieren: "On each stage! The division is always rounded down."

## Herbs

template=Calculator:Template/Farming/Herbs
form=HerbForm
result=HerbResult
param = playername|Name||hs|FarmingLevel_Input,20,1
param = FarmingLevel_Input|Farming Level|1|int|1-99|
param = Compost_Input|Compost|None|select|None,Compost,Supercompost,Ultracompost
param = Leprechaun_Input|Leprechaun Auto-compost|no|check|yes,no
param = Secateurs_Input|Magic Secateurs|no|check|yes,no
param = Scroll_Input|Scroll of Life|no|check|yes,no
param = Potion_Input|Juju Farming Potion|no|check|yes,no
param = Disease_Input|Disease-free Patch|no|check|yes,no
param = Aura_Input|Aura|None|select|None,Basic (3%),Greater (5%),Master (7%),Supreme (10%),Legendary (15%)
param = Outfit_Input|Elite Farming Outfit|None|select|None,Crop Farmer Outfit,Master Farmer Outfit
 Please input the data and submit the form.