You cannot tell whether a dairy cow makes money from a month of records. Her profit is decided across a whole lactation, including the months she eats and gives nothing, and the calculation that reveals it is short: litres sold, total cost, cost per litre, and the price your buyer pays. Everything else on this page is those four numbers done carefully.
How to Calculate Dairy Farming Profit From Four Numbers
The arithmetic is smaller than the spreadsheet most people build. Four inputs, then three divisions, and the answer arrives.
| Input | Where it comes from | Common error |
|---|---|---|
| Litres sold | Daily milk record | Counting litres produced |
| Total cost | Every line, one cycle | Leaving out the cow |
| Milking days | Calving dates | Assuming 365 |
| Farm gate price | Your own buyer | Using a retail price |
Two of those four are the ones people get wrong, and both push the answer the same way, upward. Litres produced is not litres sold, because the calf drinks some and the household drinks some. And nobody milks for 365 days a year.
Keep those five lines where you can see them. The rest of this page explains which figures belong in each, using Ugandan measurements, and shows what happens when they change. For the input prices themselves, the companion page on what each dairy cost line actually runs to in Uganda does the pricing, and both sit under the farm business section.
Why a Dairy Cow Is Costed Over a Lactation and Not a Month
A batch of broilers finishes in weeks and the accounting period is obvious. A dairy cow has no obvious period, so most farmers pick the month, and the month lies in both directions.
Take a cow at peak yield in her second month of lactation. Her monthly milk cheque looks excellent, her feed bill looks ordinary, and her margin looks like a business. Now take the same cow two months after drying off. Zero revenue, full feed bill, and a monthly loss so large it looks like the enterprise has collapsed. Neither month tells you anything, because the cow is halfway through a production unit.
The production unit is the lactation, from calving to drying off, and the financial unit is the calving cycle, from one calving to the next. The cycle includes the dry period. Cost her over the cycle and the answer holds. Cost her over a month and you will either expand on a fantasy or quit on a mirage.
Ugandan figures make the point concrete. A study of 450 smallholder dairy households across six central districts recorded an average calving interval of 14.4 months, which is roughly 438 days. Lactation length measured in Ankole cattle in Uganda was 255 days. So a typical cycle is 255 days of milk followed by roughly 183 days of nothing. If you cost the 255 and ignore the 183, your cost per litre is understated by a wide margin.
Cost Per Litre of Milk: The Division That Runs a Dairy Herd
Cost per litre is the single most useful number in dairy, for one reason: it is directly comparable to the price on offer. Yield per cow is not comparable to anything. A cow giving 12 litres on a bought ration can be less profitable than one giving 5 litres on grown fodder, and only cost per litre shows it.
The division is total cycle cost divided by litres sold in that cycle. Total cycle cost means every line, including the feed eaten during the dry period, the breeding service that produced the calving, the share of the cow's own purchase price that this cycle used up, and the labour, even where the labour is yours and unpaid.
Once you have it, three things become possible that were not possible before. You can compare this cow to that cow. You can compare your farm to the price your buyer offers and know instantly whether to sell, process or stop. And you can price a change before you make it: if a bag of concentrate raises cost per litre by less than it raises yield per litre, buy it, and if not, do not.
Counting Litres Properly: Peak Yield Against Lactation Yield
The number farmers quote is almost always peak daily yield, measured in the best week of the lactation. The number the calculation needs is total litres across the whole lactation, which is a good deal lower, because yield climbs after calving, holds, then falls away.
Work it from Ugandan measurements rather than from a seller's claim. Zero grazing in central Uganda produced 6.5 litres per cow per day from Holstein Friesian crossbreds and 2.6 litres from local breed cows. Friesian type stock in Uganda has been reported up to about 8.75 litres a day and Ankole cattle at about 2.2 to 3.58 litres. Local breed lactation yields have been put at roughly 500 to 1,500 kg, with about 2,000 kg also appearing in the same body of work. Budget against the measured end rather than the published one: farm records from three extensive Ugandan systems give 435 to 564 kg over a lactation of 180 to 210 days, below that stated floor. The wide span is real, feeding places you inside it, and a plan built on the top of it is a plan built on potential.
Then subtract. The calf takes milk, especially in the first weeks, and the household takes milk daily. A deduction of roughly 10 to 15 percent from total production before you count litres sold is a reasonable planning allowance, and your own bucket record will replace it within one lactation. For what drives the litres themselves, the guides to milk production per cow and lifting milk production carry the husbandry.
The Dry Period Is a Divisor, Not a Gap in the Feed Budget
Most dairy calculations treat the dry period as a pause. It is not a pause, it is a cost with no revenue against it, and the correct way to handle it is to leave it inside the numerator while the litres stay in the denominator.
Two honest caveats. No Ugandan measurement of crossbred lactation length surfaced in this research, only the 255 day Ankole figure. A Ugandan measurement on 100 pure Friesian cows under zero grazing has since come in lower, at roughly 207 to 241 days on elephant grass and stovers, so the feeding level is the condition that sets it. Plan across roughly 210 to 300 milking days, from the lower end if your cows are high grade and fed on forage alone, and record your own dates. And a deliberately long dry period is sometimes the right husbandry call rather than a failure, which is a decision for a vet and not for a spreadsheet.
Calving Interval and Annual Milk Yield Per Cow
Everything above is per cycle. To get to a year, you need the calving interval, and this is where a small management change produces free milk.
Litres a year equal litres per lactation multiplied by 365 divided by the calving interval in days. At the Ugandan average of 438 days, a cow producing 1,658 litres per lactation gives you about 1,382 litres a year. Tighten the interval to 395 days, which is about 13 months, and the same cow at the same daily yield gives about 1,532 litres a year.
| Calving interval | Litres a year | Change |
|---|---|---|
| 13 months | About 1,532 | Target |
| 14.4 months | About 1,382 | Ugandan average |
| 16 months | About 1,244 | Late service |
| 18 months | About 1,121 | Missed heats |
That is 150 extra litres a year for tightening the interval by six weeks, and at a Ugandan farm gate price of 900 to 1,320 shillings a litre it is worth roughly 135,000 to 198,000 shillings a year per cow. The feed bill barely changes. The Ugandan survey behind the 14.4 month figure also recorded 1.4 services per conception and an average age at first calving of 36.4 months, so heat detection and prompt service are where this money sits. Bull service dominates in Uganda, with over 90 percent of farmers using it and only 7.2 percent using artificial insemination, and insemination cost about five times what natural service cost in that survey, so the choice has a real price attached. Whatever you use, the interval is the number to record.
Fixed and Variable Costs on a Dairy Farm, and Where the Cow Belongs
Split the cost lines before you total them, because the split tells you which lever to pull.
Variable costs rise and fall with litres and with animals: feed and conserved forage, acaricide and veterinary treatment, breeding service, milk transport, cleaning materials, and labour where it is paid by the task. Fixed costs sit there whether the cow milks or not: the shed, the fencing, the water tank, the containers, and the cow herself.
The cow is the line that confuses people, and she belongs in fixed costs as a depreciating asset. She is not consumed in one cycle, so charging her whole purchase price to one lactation destroys that lactation's margin and flatters every one after it. She also does not last forever, so charging nothing is worse. On Ugandan farms this is not theoretical: in one study of smallholder herds, cows with chronic udder infection were slaughtered on 40 percent of farms, which means the asset left the farm early and took its remaining value with it.
Why the split matters for decisions. If your problem is a high cost per litre and your variable costs are the bulk of it, feeding and health are where to work. If fixed costs dominate, you are running too few litres through the same shed and the answer is more milk from the cows you have, not a bigger shed.
Depreciating the Dairy Cow and the Zero Grazing Unit as Farm Assets
Depreciation sounds like accountancy and is really just division. Take what the asset cost, subtract what you expect to get back for it, and divide by the number of production cycles you expect from it.
For the cow: purchase price minus expected cull value, divided by expected lactations. If you paid 3,000,000 shillings for a crossbred cow in milk, expect to cull her at 800,000 after five lactations, then each lactation carries 440,000 shillings of her. That is roughly 300 shillings on every one of 1,450 litres sold, before she has eaten anything. Substitute your own purchase price, because Ugandan dairy animals are advertised across a very wide band and the price you actually paid is the only one that belongs in your calculation.
For the shed: build cost divided by the number of lactations before it needs rebuilding. A shed that cost 2,000,000 and lasts ten lactations charges 200,000 a lactation, or about 140 shillings a litre at the same yield. Do the same with the water tank, the containers and the fencing.
Cull value is the figure most Ugandan farmers cannot source, and guessing it high is how a budget hides a loss. The safe move is to set it at zero, see whether the cow still pays, and treat anything you get for her as a bonus. If she only works because you assumed a good cull price, she does not work.
Counting the Calf Without Overcounting It in the Herd Budget
A calving produces milk and a calf, and the calf is a real part of the return. It is also the line most often double counted.
Three rules keep it honest. First, if you keep the heifer calf as a replacement, she is not revenue this cycle, she is a transfer into your asset budget, and her value appears when she starts milking rather than when she is born. Second, if you sell the calf, the sale is revenue in the cycle it happens, and the milk she drank before sale is a cost already inside your litres sold figure, so do not deduct it twice. Third, a bull calf and a heifer calf have different values and a Ugandan survey found roughly half of calves born were male, so plan on a coin toss rather than on heifers.
There is a reason not to lean on calf revenue in the calculation at all. It arrives once a cycle, it depends on the calf surviving, and calf survival in Ugandan conditions is under real pressure from tick borne disease. Build the calculation so that milk alone covers the costs, and let the calf improve the answer rather than rescue it. The calf management guide covers keeping it alive.
Break Even Milk Price Per Litre for a Ugandan Dairy Cow
Several running costs on a Ugandan dairy farm cannot be priced honestly from published sources. No current Ugandan retail price for manufactured dairy concentrate per kilogram could be sourced. Neither could a per cow acaricide or veterinary cost, and labour on a family farm is rarely recorded at all. Inventing those three numbers would produce a confident total that is fiction.
So run the calculation the other way. Instead of guessing the missing lines and solving for profit, put in the lines you can verify, then solve for the budget you have left per litre. That converts an unknowable figure into a question you can answer with two phone calls.
This is more useful than a fabricated total, because it tells you exactly which four numbers to go and get, and it cannot be quietly wrong in your favour.
Worked Calculation One: A Crossbred Cow Under Zero Grazing in Uganda
Assumptions, all stated, and all either Ugandan measurements or clearly marked as the reader's own inputs. Crossbred cow under zero grazing giving 6.5 litres a day, which is the measured central Uganda figure. Lactation 255 days, calving interval 438 days. Production about 1,658 litres, litres sold about 1,450 after a 12 percent deduction for the calf and the household.
Verifiable cost lines. Dry season conserved forage at about 6.8 kg of silage a day for 120 days is 816 kg. Ugandan survey work published a cost of 130,938 shillings per tonne of farm made silage, about 131 shillings a kilogram, so 816 kg costs about 107,000 shillings. Bought hay at 200 to 670 shillings a kilogram, fed at 3 kg a day for 60 days, adds about 36,000 to 120,000. Cow depreciation at a 3,000,000 shilling purchase, zero assumed cull value, five lactations, is 600,000 a lactation. Shed at 2,000,000 over ten lactations is 200,000.
Total of the verifiable lines: roughly 942,000 to 1,051,000 shillings for the cycle. Over 1,450 litres that is a partial cost of about 650 to 725 shillings a litre.
| Farm gate price | Budget left per litre | Verdict |
|---|---|---|
| 400 UGX, wet glut | Negative | Loss before feeding |
| 900 UGX, central | 175 to 250 | Very tight |
| 1,318 UGX, eastern | 593 to 668 | Workable |
| 2,000 UGX, dry deficit | 1,275 to 1,350 | Comfortable, brief |
Read the first row carefully, because it is the honest result and not a warning. Western surplus districts have been recorded paying about 250 shillings a litre at the height of a wet season, with separate Ugandan reporting putting the floor at 300 to 350 shillings in that part of the country. At 400 shillings a litre this cow's milk does not cover her conserved forage and her depreciation, let alone concentrate, spraying and labour. She loses money on every litre, and she loses it faster the more she gives. That is the arithmetic, published as it came out.
At 900 shillings, the central region farm gate figure, there is 175 to 250 shillings a litre left for concentrate, health, labour, breeding and milk transport combined. Four lines out of about 300,000 shillings across the cycle. That is possible on grown fodder and family labour and it is not possible on a bought ration.
Worked Calculation Two: A Local Breed Cow on Free Range Pasture
Now the same method on an animal the first scenario tells you nothing about. Local breed cow, free range or tethered, 2.6 litres a day, which is the measured central Uganda figure for local stock under managed conditions. Lactation 255 days gives about 663 litres. The calf takes a larger proportional share at this yield, so assume 18 percent and count about 545 litres sold.
Verifiable cost lines are much smaller. Pasture is a sunk cost, so the cash feed line in a good wet season is near zero, and only a dry season top up is real. Say 60 days of bought hay at 3 kg a day: about 36,000 to 120,000 shillings. Cow depreciation at a 1,200,000 purchase, zero cull value, six lactations, is 200,000. No shed. Total roughly 236,000 to 320,000 shillings, or about 433 to 587 shillings a litre over 545 litres.
Something unexpected falls out of that. The local cow's partial cost per litre is lower than the crossbred's, roughly 433 to 587 against 650 to 725. On a cost per litre basis she is the better animal, because she carries far less capital and buys far less feed. The crossbred wins on a different measure entirely: total margin per cow. At 900 shillings a litre the local cow leaves about 313 to 467 shillings a litre on 545 litres, which is roughly 171,000 to 255,000 shillings for the whole cycle. That will not service a loan, pay a herdsman or justify a shed.
Which is the actual choice a Ugandan dairy farmer faces, and neither answer is automatic. Where acaricides have stopped working, Ugandan testing found the crossbred herds carrying more tick borne disease than native cattle did, with owners spraying twice weekly at raised concentrations to compensate. The extra litres come with a health bill that is both larger and harder to forecast. Run both calculations on your own prices before buying either. The dairy farming guide and the current cow price page help with the inputs.
Stress Testing the Calculation Against Wet and Dry Season Market Prices
A dairy calculation that survives only one price is not a calculation. Ugandan milk prices move further than almost any other farm gate price, so test yours against both ends before you rely on it.
How wide is the spread? Wide enough to flip the sign on your margin. Reported monthly farm gate figures across Uganda's regions run from about 900 shillings a litre up to about 1,318, and Ugandan research has clocked roughly 250 shillings where the wet season glut hits hardest, and roughly 2,000 where dry season milk is scarce. Output in the main producing region falls to about half its wet season level once the dry months arrive, and that is what lifts the price. Test the low end and the high end, not the middle.
Then the half of the test almost nobody runs. Yield swings with the season too, in the opposite direction to price, so the two do not cancel out. Ugandan dry season measurements put an unfed cow at 4.6 litres a day and a silage fed cow at 10.2. Feed her and she more than doubles.
Which gives the comparison that settles the question. Unfed at the top price, 4.6 litres times 1,300 shillings, returns 5,980 shillings a day. Fed at a lower average price, 10.2 litres times 1,040 shillings, returns 10,608. The cow selling cheaper milk earns almost twice as much, and that only shows up if price and yield are stressed together. Run them one at a time and you will reach the wrong conclusion twice.
Herd Level Profit: Why More Cows Is Not Automatically More Profit
Per cow arithmetic scales cleanly only if nothing binds. On a Ugandan smallholding, three things usually bind before the tenth cow arrives.
Fodder is the first. A second cow does not get the same ration as the first unless you have the land, and a herd on short rations produces the 4.6 litre dry season outcome across every animal rather than one. Labour is the second, because milking, cutting fodder, carrying water and spraying all scale with animal numbers, and a Ugandan survey found most farmers could water their animals only once a day even at current herd sizes. The buyer is the third and the least anticipated. Milk arrives twice daily and about 90 percent of Uganda's marketed milk moves through the informal channel, so doubling volume means finding a second outlet, not simply filling a bigger can.
The test to run before adding an animal is simple. Recalculate cost per litre with the extra cow's feed and labour included, and with the milk price you will get for the extra volume rather than the price you get for the current volume. If cost per litre rises and price per litre falls, the bigger herd earns less than the smaller one. Cash timing matters too, since a cow bought today starts producing months later while eating from day one, which the farm cash flow explainer sets out.
Farm Records That Make This Calculation Possible
None of this works from memory. Four records carry the whole calculation, and each one takes under a minute a day.
A daily milk record per cow, morning and evening, in litres, with what went to the calf and the house noted separately. This is the denominator of everything and it is the record most often missing.
A calving and service diary: date served, by bull or by insemination, date confirmed pregnant, date dried off, date calved, sex of calf. From this you get calving interval, lactation length and dry days without doing anything else.
A cost book with dates, in two columns, one for things that recur and one for things bought once. Recurring goes into variable costs, one off purchases go into the asset list for depreciation.
A treatment log: date, which cow, what was given, and the date her milk is fit to sell again. This last column is not optional, because treating a milking cow puts her milk out of bounds for a stated stretch afterwards, and how long that stretch runs is on the product label and confirmed by a veterinary officer. Raw milk sampled on Ugandan farms in a district with high acaricide resistance carried residues in 21.25 percent of samples, against 4 percent where resistance was absent, and reading the instructions on the drug was one of the things that separated the two groups. A written date in a log is what turns that from a risk into a routine. Tools that help: the livestock record template, the daily dairy checklist, the farm profit calculator and the break even calculator.
Dairy Farming Profit Calculation: Questions Farmers Ask
Should I calculate profit per cow or for the whole herd? Per cow first, always. A herd total hides the animal that is losing money inside the ones that are not, and culling that animal is usually the largest single improvement available. Add the cows together afterwards for cash flow, but make decisions on the per cow figure.
My cow gives 10 litres a day. Why is my margin still thin? Check three things in order. Litres sold against litres produced, because the calf and the household can take more than you think. Milking days a year, because 10 litres across 212 milking days is 2,120 litres and not 3,650. And what those 10 litres cost, since a bought ration can consume the whole gain over a grazed cow.
How do I put a value on my own labour? Use what you would have to pay someone to do it, not zero. Family labour is genuinely cheaper in cash and it is not free. Costing conserved forage in Uganda showed labour swamping every other line: roughly half of what a tonne of silage costs to make, and over four fifths of what a tonne of hay costs. Leaving it at zero is how a farm appears profitable while the family gets poorer.
Do I include the milk my family drinks? Include it in production and exclude it from litres sold, then decide separately whether to value it. Valuing it at the farm gate price is defensible, because that is what you gave up. What you must not do is count it as revenue and also leave it out of the calf and household deduction.
How many lactations should I depreciate a cow over? Use your own culling record if you have one, and be conservative if you do not. In one Ugandan study, chronic udder infection ended in slaughter on 40 percent of farms, so an assumption of many long lactations is optimistic. Five is a defensible planning figure and a shorter one is safer.
How often should I redo this calculation? Once per cow per lactation is the minimum, because that is the unit the arithmetic is built on. Redo it early whenever something structural changes: a new buyer, a new ration, a cow that has just calved late, or a district where spraying has stopped working. The calculation is cheap and a bad year is not.
Can I run this on a cow I have not bought yet? Yes, and that is the best time to run it. Substitute the asking price, a conservative daily yield, a 14.4 month calving interval and the farm gate price your intended buyer is paying now. If she does not pay on those inputs, no amount of good husbandry after purchase will rescue her.
What records do I need before this works at all? Four, and none of them takes a minute a day: litres per cow morning and evening with the calf and household share noted, a calving and service diary, a dated cost book split between recurring and one off spending, and a treatment log carrying the date her milk is fit to sell again.
What if my buyer changes the price every month? Then your calculation produces a break even price rather than a profit, and that is the more useful output. Once you know the price at which your cow stops paying, you can decide each month whether to sell fresh milk, process it, or feed more or less, instead of finding out at the end of the year.
Run these five lines on your own cow before you accept any figure from an article, including this one. Get a current farm gate price from the buyer or collection centre you actually sell to, get a concentrate price from a mill near you, ask your veterinary officer what health control costs in your district, and count your own hours honestly. A cost per litre built from your own records is the only number that can tell you whether to expand, hold or cull.
