Workjigs
Language: English
Search
Tools / Livestock feed

Least cost feed formulation: cheapest mix, batch sheet

A feed formulation calculator for your own ingredient matrix: enter the requirements for ration formulation and get the cheapest mix with the reasons behind it and a batch sheet for the mixer.

What the tool does

Spreadsheet solvers and the Pearson square give a mix but rarely say why. The tool solves the whole model and explains the answer.

How to use it

  1. Name the nutrients and units you use.
  2. Paste or enter the ingredients with price, dry matter, contents and limits.
  3. Enter the requirements and any ratios.
  4. Read the mix, the shadow prices and the unused ingredients, then export the formula sheet or the batch.

Optional Korean ingredient library

The optional Korean library includes nine ingredients with crude protein (as fed) and dry matter from RDA / National Institute of Animal Science, Korean Standard Feed Composition Table 2022. The official publisher states KOGL Type 1. Its terms allow commercial use and modification with attribution. Licence and source checked 2026-10-23. Prices and all other nutrients must be entered. No requirements are built in. Official source. KOGL Type 1 terms. Use your own analyses and the requirements of your breed guide or nutritionist.

How it was checked

The solver was compared with HiGHS on 400 random feed problems: same feasibility, same cost and same shadow prices. Before every release it is run on published examples: the four-ingredient grower feed (corn, soybean meal, wheat bran, limestone; CP 18 %, ME 2 900 kcal/kg, Ca 0.9 to 1.1 %) gives 63.27 / 22.33 / 12.28 / 2.12 % at 30.38 per 100 kg, cheaper than the rounded mix in the article; the FAO catfish model gives 474.0073 baht per 100 kg; a Pearson square of hay and silage to 11 % protein gives 13.8 / 86.2 %.

Limits

Scale rounding may violate nutrient, ratio and ingredient limits. A nonmultiple batch is rounded to the nearest achievable total. It is not a new optimal formulation. The tool does not model animal performance, digestibility, ruminant models such as NASEM or CNCPS, several mixes at once or variable ingredient analyses. It is a calculation from your values, not veterinary or nutritional advice.

Last checked 2026-10-20

Checked against published examples

Worked examples from public sources, entered into this tool. The same values are checked automatically before every release.

SourceQuantityPublishedThis toolDifference
Formulating animal feed rations with a Pearson Square, Figure 14b13.8 %13.79 %0.07 %
4c86.2 %86.21 %0.01 %
5a138 lb138 lb0 %
5b862 lb862 lb0 %
Least cost feed formulation: cheapest mix, batch sheet · Sample grower feed

Frequently asked questions

What does a least cost feed formulation example look like?

Use example ingredients A at 0.20 per kg with 10 % crude protein and B at 0.40 per kg with 30 %, both at 100 % dry matter. With only a 15 % minimum crude protein requirement, the tool returns 75 % A and 25 % B at 0.25 per kg, containing 15 % crude protein. These are invented inputs to explain the calculation, not a ration for an animal.

Why does the cheapest ration omit an ingredient I entered?

An ingredient that is switched on is available to the solver, not compulsory in the mix. If it costs too much for what it adds, the solver uses none of it, and the tool shows the price at which that ingredient would start to enter. Set a minimum inclusion only when you really need it in the formula. That changes the problem; it does not fix the solver.

Why does a least cost poultry feed result not prove the diet is suitable?

The result meets the minimums, maximums and ratios you typed, and nothing more. The tool holds no requirement tables for any species, so a model with only a protein minimum leaves energy, calcium, amino acids and the rest unconstrained. Have a nutritionist supply the requirements and check the analysis before the cheapest mix is used as a diet.

Why does a rounded feed batch differ from the optimal percentages?

The batch sheet rounds each ingredient to the weighing step you enter, so the rounded weights no longer match the optimal percentages exactly. The tool shows the nutrient analysis of the rounded batch and warns if the rounded total differs from the batch size. Read that analysis, not the unrounded optimum, and use a finer step if a limit is missed.

Embed this tool

Copy this code to put the tool on your own website, free of charge. Keep the Workjigs link. The tool runs in the visitor's browser, and files are not uploaded.

Workjigs