Precision livestock feeding is the single biggest lever on farm profitability. Underfeed an animal and you sacrifice milk yield, growth rate or egg production; overfeed and you waste money on surplus nutrients that are excreted rather than converted to product. This livestock feed calculator bridges the gap between published nutritional standards and day-to-day ration planning, covering seven common livestock classes — dairy cows, beef cattle, sheep (ewes), dairy goats, growing pigs, laying hens and broiler chickens.
How it works
The calculator implements the core formulas from three major nutritional standards:
- NRC 2001 (dairy cattle) and NRC 1996 (beef cattle) for ruminant ME and CP requirements
- AFRC 1993 for small ruminants (sheep and goats)
- NRC 2012 (swine) and NRC 1994 (poultry) for pigs and chickens
Metabolic body weight and maintenance requirements
For all ruminants and pigs, maintenance requirements scale with metabolic body weight (MBW):
MBW = BW^0.75
where BW is live body weight in kg. This power-law relationship captures the fact that larger animals have a lower surface-area-to-volume ratio and therefore lower heat loss per unit of body weight. Maintenance ME (MJ/day) is calculated as:
ME_maint = k x BW^0.75
with species-specific coefficients k (e.g. 0.53 MJ/kg^0.75 for cattle, 0.42 for sheep).
Production allowances
Productive output is layered on top of maintenance. For a dairy cow:
- Additional DMI per kg milk: approx. 0.45 kg DM
- Additional ME per kg milk: approx. 5.14 MJ (4% fat-corrected milk basis)
- Additional CP per kg milk: approx. 56 g
For gain-type animals the ME and CP cost of depositing muscle and fat are added. A finishing pig depositing 0.8 kg/day of live weight requires roughly 25 MJ of additional ME beyond maintenance.
As-fed conversion
Because feeds contain different amounts of water, DM requirements are converted to an as-fed quantity:
As-fed (kg) = DM required (kg) / DM fraction
Fresh grass silage at 25% DM requires four times as many as-fed kg to deliver the same DM as a dry concentrate at 88% DM.
Feed cost
Daily cost = as-fed quantity x (price per tonne / 1000). The calculator scales this to weekly and annual figures for the whole herd or flock, making it straightforward to compare ingredient prices.
Worked example
A 600 kg dairy cow producing 25 kg of milk per day:
| Nutrient | Maintenance | Production | Total |
|---|---|---|---|
| DMI (kg/day) | 13.2 | 11.25 | 24.5 |
| ME (MJ/day) | 60.2 | 128.5 | 188.7 |
| CP (g/day) | 67 | 1,400 | 1,467 |
Fed on grass silage (25% DM, 10.5 MJ ME/kg DM, 140 g CP/kg DM), 24.5 kg of DM requires 98 kg of silage as-fed. That silage supplies 257 MJ ME — a large surplus. However, CP supplied is 3,430 g, which comfortably covers the 1,467 g requirement. In practice a farmer would blend silage with a smaller amount of concentrate to optimise cost and reduce surplus nitrogen.
Formula note
All coefficients are drawn from peer-reviewed NRC and AFRC tables, which are the accepted international reference standards for livestock nutrition. The laying hen formula uses the NRC 1994 equation:
ME_day = 0.439 x BW^0.75 + 2.07 x egg_mass_kg
CP_day = 4.5 x BW^0.75 + 0.20 x egg_mass_g
where egg mass is calculated as eggs-per-day multiplied by 62 g (the average mass of a large commercial egg). These are average-condition estimates; always combine with forage analysis for precision ration formulation.