topic guide

How costs are worked out

How the console's Costs tab turns deliveries, feeding records and invoices into a cost per kg of meat, per tray of eggs and per crop block, with a worked example in shillings. For managers, Board members and bookkeepers who want to trust the figure, or find out why it looks wrong.

Where
Console, Costs tab; a cost line in the weekly flash
Entered by hand
Nothing: worked out from the records
Covers
The last twelve months
Needs
Priced deliveries and complete feeding records

What the Costs tab is

Nobody types a cost into the platform. The Costs tab works each figure out, every time it is opened, from two kinds of record:

  • the phones' records: animals placed and bought, feed given to each house and pen, doses given, deaths and sales, sample weights, eggs laid, harvests;
  • the Money tab: invoice lines, each linked (or not) to the delivery, animals or planting it prices, and money paid without an invoice. See Money, end to end for how to record and link an invoice (Record an invoice).

So a cost is only as good as those records. The tab says so when something is missing. It shows flocks, pigs and crop blocks from the last twelve months, and the monthly pack and the investor pack take their costs from the same calculation. The weekly flash repeats the latest figures as short lines: a running meat flock's cost per kg (full and direct), a laying flock's latest cost per tray, and the pigs' latest cost per kg sold.

The manager, the Forum, the Board and the auditor can open the tab. It is there on a farm that runs the money module.

Direct costs

A direct cost belongs to one flock, one group of pigs or one block, because the records say exactly where it went.

CostWhere it comes fromHow it is valued
Chicks and animals boughtThe purchase invoice line linked to the animals' arrival (Delivery or animals it prices)The amount on that line
FeedEach day's feed given to a house or pen: the daily sheet or FeedingThe item's average cost (below). In a house with several flocks that day, split between them by head.
TreatmentsDoses given from the store on a TreatmentThe item's average cost
A block's inputsSeed, fertiliser and sprays given on Field workThe item's average cost
A block's planting materialThe purchase invoice line linked to the plantingThe amount on that line

Average cost

An item's average cost is what all its priced deliveries cost, divided by how much they brought in. Two deliveries of layer mash, 40 bags for UGX 4,000,000 and 40 bags for UGX 4,400,000, give UGX 8,400,000 over 80 bags: UGX 105,000 a bag, or UGX 2,100 a kg for a 50 kg bag. Every bag used is costed at that figure, whichever delivery it came from.

An item none of whose deliveries is priced has no cost yet. Its feed is still weighed, but costs nothing, and the tab says: "Some feed or medicine was used before its delivery was priced".

Shared costs, and how they are split

Shared costs are the month's spending that does not belong to one animal or block:

  • every purchase invoice line that is not linked to a delivery, animals or a planting;
  • money paid out with no invoice, such as wages;
  • the wear of the farm's equipment, spread over its useful life.

Capital and Owed on the opening day are left out: a water tank is not a cost of this month's eggs. A payment that settles an invoice is not counted again.

Each month's shared costs are split in this order:

  1. Crops first, on a farm that also keeps animals. The Board sets the crops' part in Settings (costing.crop_share_pct, in percent; press the setting's line to open and change it). The blocks share that part by hectare-days: a block's hectares times the days it stood in the month. A farm of crops alone puts all its shared costs on its blocks.
  2. Then between flocks and pigs, by the feed each ate that month, in kg. A pig is not a bird, so head counts are not compared across species.
  3. Then among the flocks, by bird-days: each flock's head on each day of the month, added up. A flock of 1,000 birds all month has 30,000 bird-days in September; a flock of 600 placed on 11 September has 12,000. The first takes 30/42 of the flocks' part.

A flock's Full cost is its direct cost plus its share. Pigs carry their share month by month.

A worked example

A farm keeps one broiler flock in house H1 and a few pigs in pen P1. Everything below is September 2026, and every delivery is priced in Money.

What was recordedFigure
1,000 day-old chicks placed in H1 on 1 September; invoice line linked to themUGX 3,000,000
Broiler feed: 80 bags delivered in two lots, priced UGX 4,000,000 and UGX 4,400,000UGX 105,000 a bag
Feed given to H1 on the daily sheets: 60 bags (3,000 kg)60 x 105,000 = UGX 6,300,000
Vaccine: 1,000 doses delivered, priced UGX 100,000; all given to the flockUGX 100 a dose = UGX 100,000
Pig grower: priced at UGX 80,000 a bag; 15 bags (750 kg) given to P1UGX 1,200,000
Wages paid with no invoice (Labour)UGX 900,000
Power invoice, not linked to anything (Power and water)UGX 300,000
A new water tank (Capital)UGX 5,000,000, left out
On 30 September: 970 birds alive, sample average 1.9 kg1,843 kg live
Pigs sold in September: 4 pigs, 380 kg live in all380 kg

The broiler flock

StepWorkingResult
Direct cost3,000,000 chicks + 6,300,000 feed + 100,000 vaccineUGX 9,400,000
Shared costs900,000 wages + 300,000 power (the tank is capital)UGX 1,200,000
Flocks' part, by feed eaten1,200,000 x 3,000 kg / (3,000 + 750 kg)UGX 960,000
Full cost9,400,000 + 960,000UGX 10,360,000
Live kg0 kg sold + 970 birds x 1.9 kg1,843 kg
Per kg, direct / full9,400,000 / 1,843 and 10,360,000 / 1,843UGX 5,100 / UGX 5,621
Feed conversion3,000 kg feed / (1,843 kg - 1,000 chicks x 0.04 kg)1.66

The pigs

StepWorkingResult
Pigs' part of shared costs1,200,000 - 960,000UGX 240,000
September's pig cost1,200,000 feed + 0 treatments + 0 bought + 240,000 sharedUGX 1,440,000
Per kg sold1,440,000 / 380 kgUGX 3,789

If the farm also had crops and the Board had set costing.crop_share_pct to 20, the crops would take UGX 240,000 first, and the remaining UGX 960,000 would be split by feed: UGX 768,000 to the flock, UGX 192,000 to the pigs.

Per kg, per tray, per block

WhatFigure on the tabHow
Meat flocks (broilers)Direct, Full, Live kg, Per kg, direct / full, Feed conversionCost over the live kg: the live weight recorded on its sales, plus, while the flock runs, its latest sample average times its head now. Feed conversion is feed kg over kg gained, a day-old chick taken as 0.04 kg.
Laying flocksMonth by month: Trays laid, Cost, Per tray, Feed per tray (kg)The month's feed, treatments and share of shared costs, over the eggs laid (every grade) divided by 30. The chicks are not spread over the laying months.
PigsMonth by month: Cost, Live kg sold, Per kg soldPig feed, treatments, pigs bought and their share of shared costs, over the live kg of pigs sold that month. A month with no sale has no figure per kg.
A seasonal crop (maize, beans, cassava...)Cost, Per hectare, Harvested, Cost per unit ("per kg", or "each" for a crop counted rather than weighed)The whole season: planting material, inputs from the store and its share of shared costs, over its hectares and over what it yielded.
A perennial (cocoa, coffee, avocado, oil palm, plantain and matooke...)Establishment, then month by monthUntil it bears, its costs add up as establishment, also shown per hectare. Once bearing, each month's cost over that month's harvest: per kg, or each for a crop counted in bunches, such as plantain.

For example, a laying flock that cost UGX 4,050,000 in September and laid 27,000 eggs laid 900 trays: UGX 4,500 a tray.

Fodder, seedlings and processing

  • Fodder grown on the farm (Napier grass, for example) and fed from the store is costed like bought feed, at what its blocks' direct costs come to per kg ever harvested: their seed, manure and fertiliser.
  • Seedlings from the farm's nursery are costed the same way, per seedling lifted. A block planted with them carries that cost.
  • Processing is not costed. The tab stops at the harvest: a block's cost per kg or per bunch. What a run made (palm oil, dry cocoa) and its extraction are on the Stock tab (The stock ledger).

When money is not in anyone's costs

Rather than guess, the tab leaves some amounts out and says so at the top. Each note tells you what to record.

The note saysWhyWhat to do
"... of shared costs is not in any flock's or the pigs' costs. The farm keeps both, and no feed was recorded that month to divide it by"Flocks and pigs, and no feed recorded that month, so there is nothing to split byRecord the feed given on the daily sheets and with Feeding. The month is worked out again at once.
"... of shared costs is in no one's costs. The farm keeps animals and crops, and the Board has not set the crops' part"No costing.crop_share_pct on a farm with animals and crops. The whole month's shared costs are held back, from the animals too.The Board sets the percentage in Settings.
"... of shared costs is in no one's costs: nothing was kept that month to carry them (no flock, no pigs, no crop block)"A month with shared spending and nothing to carry it: a broiler house between batches on a farm that keeps no pigs or cropsNothing is missing. The amount is shown so it is not lost: read it with the flocks before and after.
"... kg of feed went to places with no animals recorded in them"Feed given to a house or pen where the record has no flock or pigs that dayCheck the pen code on the feeding records, and that the animals' moves are recorded.
"Some feed or medicine was used before its delivery was priced"An item with no priced delivery at allRecord the invoice in Money (Record an invoice) and link the line to the delivery.

What makes costs wrong or incomplete

Before trusting a figure, check this list.

  • Unpriced deliveries. Feed and medicine used with no priced delivery cost nothing.
  • Invoice lines not linked. A feed invoice not linked to its delivery leaves the feed without a cost, and puts the money into shared costs instead. Chicks not linked to their arrival become a shared cost too, spread over every flock and the pigs.
  • Missing feeding records. A flock's feed cost is only the feed recorded for its house. If one species' feed is recorded and the other's is not, the one recorded carries all the shared costs that month.
  • Profit and loss. The Costs tab also shows income against spending month by month, as invoiced, with the equipment's wear (never capital); and each crop season's harvest at what the farm sold that product for, less the block's full cost.
  • Equipment. A machine's cost is spread over its useful life a month at a time and shared as the running costs are: a pump bought for 1,200,000 over 12 months adds 100,000 a month.
  • Supplies. Bedding, disinfectant and the like (items of kind Other) used in a house are a direct cost of the animals there, shown as supplies. They never count as feed eaten.
  • No sample weights. A running broiler flock's live kg is its latest sample average times its head. Weigh a sample now and then on the daily sheet.
  • Sales without a live weight. A flock's or pig's sale counts in live kg only with its weight. A weight per head outside what the stage can weigh is refused on the day: check the scale and the number.
  • Deaths and sales not recorded. Bird-days and the feed split between flocks follow the head the record shows.
Top