A pig farming profit calculation only works if you start at the end, with the price a buyer will pay you and the weight they will pay it on. Ugandan farm gate prices for live pigs sit inside a band wide enough to decide the whole outcome on its own. Everything else in the calculation, feed conversion, mortality, the cost of a weaner, is measured against that one number you do not control.
Start the Profit Calculation From the Price You Are Actually Paid
Most pig budgets are built forwards. Add up the costs, apply a hoped for selling price, and read off a margin. That ordering hides the problem, because in Uganda the selling price is not yours to choose.
Producer survey work carried out with Ugandan pig keeping households recorded what the same pig fetched through different outlets. In rural chains a neighbourhood butcher paid around 3,600 shillings a kilogram of liveweight, a trader nearer 4,900, and a butcher in another town about 5,100. In urban chains the traders paid closest to 6,000. Across the whole survey the band runs roughly 4,500 to 7,000 shillings a kilogram, with the top of it near Kampala and the bottom in rural districts. Those figures are several years old, and the standard deviations around each mean were enormous, which is the real point: the same animal is worth very different money depending on who walks onto your farm.
So write the price down first. Not a national figure, not a figure from an article. Ask what a butcher or trader paid for the last pig they bought within walking distance of you, and what that pig weighed. Then build the calculation to sit under it.
Why Selling Pigs by Eye Breaks the Whole Farm Calculation
There is a structural problem sitting between you and any per kilogram figure, and it needs naming before the arithmetic starts.
Ugandan pig prices are set by traders on visual estimation. Research across the pig value chain records that farmers do not own weighing equipment, that some use a measuring tape to estimate weight while most simply eyeball the animal, and that the price is assessed by the buyer. The same research notes that traders form informal groups to coordinate pricing and share market information, and that a farmer's transaction costs and the money they have already put into the animal are not part of the price bargain at all.
Work out what that means for your calculation. You can compute a cost of 7,000 shillings a kilogram with perfect accuracy and still have no idea whether the 400,000 shillings you were handed was a good price, because nobody told you how many kilograms you sold. The arithmetic below is worthless without a weight.
Negotiating with buyers and how farmers should price produce both go further into this side of it.
Cost Per Kilogram of Liveweight Gain in a Pig Herd
The unit that makes pig arithmetic work is not cost per pig. It is cost per kilogram of gain, because gain is what you bought when you bought feed.
Take a weaner at two months weighing about 12 kg, and sell it at 65 kg. The pig put on 53 kg. You did not grow the first 12 kg, you paid for them in the purchase price, and mixing the two is what makes most published pig margins meaningless.
So the calculation splits into three pieces. The weaner is a fixed purchase. The 53 kg of gain is what the feed produced, and it is priced by feed conversion. Everything else, health, water, labour, the share of the sty this batch has used up, is an overhead spread across the pig.
If you know only one thing about your herd, make it the kilograms of feed it took to grow a kilogram of pig. A reader who does not know their weaner purchase weight cannot compute gain at all, and the fix is a weighing on the day the piglet arrives rather than a better formula.
Feed Conversion in Ugandan Pig Herds Against Trial Figures
Feed conversion is kilograms of feed divided by kilograms of liveweight gained. Lower is better, and the gap between what trials achieve and what Ugandan herds achieve is where the money goes.
Trial data reproduced in the pig feeding material prepared for Ugandan smallholder farmers gives feed conversion of 2.53 to 3.40 on a dry matter basis for growing pigs between roughly 20 and 59 kg on root based diets, with cooked roots converting better than raw. That is the good end, achieved under controlled feeding with weighed rations. Read the table's own credits before you plan against it, because they matter: the trials are attributed to work published in 1978 and 1986, they were run on cooked and raw yam and on raw taro rather than on anything a Ugandan pig is likely to be eating, and none of them was measured in Uganda. The manual reproduces them as teaching material. Treat the figures as what a root based ration can do under weighed conditions somewhere, not as a Ugandan benchmark.
Now the field figures. A trial that compared Ugandan weaner and grower pigs on a commercial diet against forage and silage based diets measured mean daily gain of 294 grams a day on commercial feed against 52 on silage and 36 on forage between nine and fifteen weeks of age. By twenty to twenty four weeks the three diets gave 574, 362 and 112 grams a day. Smallholder pigs measured in neighbouring Kenya averaged about 130 grams a day across all ages.
A pig growing at 36 grams a day is still eating. It is eating a maintenance ration that produces almost no gain, which is feed conversion of ten or worse. That is the arithmetic behind the observation, made repeatedly in Ugandan value chain research, that smallholder feeding is unbalanced and growth is slow. The feed is not wasted in the trough. It is wasted inside a pig that is not growing.
For a real Ugandan herd on bran heavy home mixed rations, plan on feed conversion somewhere between 4 and 6, and treat 3 as a target rather than an assumption. The pig feeding guide and pig feed requirements cover how to move it.
Turning Feed Conversion Into Shillings Per Pig
Multiply feed conversion by your ration price and you have the feed cost of one kilogram of pig. That is the cleanest number in the whole calculation, and it needs no yield estimate and no assumption about weight at sale.
Ugandan ration prices could not be established at any single current level for this page, because published sources disagree by a factor of two. So the table gives the result across three prices. Find the column nearest your own mill.
| Feed conversion | At 800 a kg | At 1,200 a kg | At 1,800 a kg |
|---|---|---|---|
| 3.0 | 2,400 | 3,600 | 5,400 |
| 4.0 | 3,200 | 4,800 | 7,200 |
| 5.0 | 4,000 | 6,000 | 9,000 |
| 6.0 | 4,800 | 7,200 | 10,800 |
Shillings of feed per kilogram of liveweight gained. Read it against your selling price per kilogram and the shape of the problem appears immediately. At feed conversion 5 and a ration at 1,800 shillings, the feed alone costs 9,000 shillings for a kilogram of pig that sells for perhaps 6,000. There is no other cost line that can rescue that, and no amount of good husbandry elsewhere either.
Pig Herd Mortality as a Divisor Across the Survivors
Dead pigs do not stop costing money. They stop earning it, which means their whole cost is redistributed across the pigs that live. Mortality belongs in the calculation as a divisor, not as a subtraction.
Ugandan smallholder herd mortality has been recorded at 20.8 per cent as perceived by farmers, and a farmer scoring exercise covering the five most cited pig diseases put total mortality near 23 per cent. A recent CGIAR assessment of the sector links weak biosecurity to mortality of up to 30 per cent. Against that, a well managed confined herd with a working health plan targets under 5 per cent. So the bracket you might sit in runs from 5 to 30 per cent, and the difference between the ends of it is larger than any feed saving.
The practical consequence is that health spending is not a cost to be minimised in this calculation. It is the cheapest way to move the divisor, and the divisor moves the answer more than the ration does.
The Break Even Liveweight Price for Your Own Pig Herd
Break even price is the number the whole page exists to produce. It is total cost divided by kilograms sold, and it answers the only question that matters: what does a buyer have to pay me before I stop losing money?
The grid below works one fattening pig, bought as a 12 kg weaner and sold at 65 kg liveweight. Fixed at 215,000 shillings of non feed cost, made up of a 120,000 weaner and a 95,000 allowance covering health, water, labour and the share of the sty this pig used. Both of those are labelled assumptions, not verified Ugandan prices, and a reader with real local numbers should substitute them. What is not assumed is the shape of the result.
| Feed conversion | Ration 800 | Ration 1,200 | Ration 1,800 |
|---|---|---|---|
| 3.0 | 5,300 | 6,200 | 7,700 |
| 4.0 | 5,900 | 7,200 | 9,200 |
| 5.0 | 6,600 | 8,200 | 10,600 |
| 6.0 | 7,200 | 9,200 | 12,100 |
Break even liveweight price in shillings a kilogram, before mortality. Now lay the verified Ugandan farm gate band of 4,500 to 7,000 across it. Four cells sit inside the band, and every one of them is in the cheapest ration column or at a feed conversion better than Ugandan trials managed on root based diets. At 1,800 shillings a kilogram of ration, nothing in the grid breaks even.
Then apply the divisor. At 20.8 per cent mortality, multiply every cell by about 1.26. The middle of the grid moves to roughly 9,100 shillings a kilogram against a ceiling near 7,000, and the number of cells that clear the market falls to one or none.
This is not a pessimistic reading. It is what a recent CGIAR assessment of Uganda's pork market system says in its own words: producer profitability is persistently low or negative, and unfavourable pricing is the cause. A calculation that concluded otherwise would be wrong. The value of doing the arithmetic is that it tells you exactly which lever to pull, and the grid says the lever is the ration price and the feed conversion, in that order.
Worked Profit Calculation for Five Fattening Pigs
Five weaners, bought at 12 kg, sold at 65 kg, at feed conversion 4 and a ration at 1,200 shillings a kilogram.
Each pig gains 53 kg, so it eats 212 kg of ration, costing 254,400 shillings. Add the 120,000 weaner and the 95,000 allowance and one pig has cost 469,400. Five pigs have cost 2,347,000.
Lose one to disease and four reach a buyer. The herd still cost 2,347,000, so each surviving pig carries 586,750, or 9,027 shillings a kilogram at 65 kg. Sold at 6,000 a kilogram, the four pigs bring in 1,560,000 against 2,347,000 spent. The batch loses about 787,000 shillings.
Change one input. Get the ration to 800 shillings a kilogram by mixing at home from local energy and protein sources, and the feed falls to 169,600 a pig. Hold mortality to one pig in five still. Herd cost becomes 1,922,000, cost per surviving pig 480,500, break even 7,392 a kilogram. Better, still a loss at 6,000.
Change two. Ration at 800 and all five pigs survive: herd cost 1,922,000, cost per pig 384,400, break even 5,914 shillings a kilogram. Now the batch clears 6,000 and returns about 28,000 shillings of margin on five pigs, which is thin enough to be erased by one bad price negotiation.
Read that sequence properly. The enterprise did not turn on feeding harder or on a better breed. It turned on the ration price and on keeping every pig alive, and even then the margin is small enough that the selling price decides the outcome. The cost of raising pigs page covers the running cost side in more detail.
Worked Profit Calculation for a Two Sow Breeding Herd
Breeding looks like the obvious upgrade, because you stop buying weaners. Work it and the answer turns on one number.
Ugandan crossbred sows throw 8 to 12 piglets a litter against 5 to 8 for local pigs, and the value chain literature reports 16 to 20 piglets per sow per year from a well managed female. A sow eats 2.50 to 3.50 kg a day whether she is carrying a litter or not, so two sows eat somewhere near 2,190 kg a year between them.
| Sow output | Two litters | 1.5 litters |
|---|---|---|
| Piglets born | 36 | 27 |
| Reach market | 27 | 20 |
| Feed cost | 9.86m | 8.01m |
| Total cost | 12.1m | 10.1m |
| Break even | 6,900 | 7,800 |
Shillings, ration at 1,200 a kilogram, a quarter of piglets born lost before sale, and the same 95,000 allowance per pig grown. The break even row is shillings a kilogram liveweight.
At two litters a year the breeding herd breaks even at about 6,900 shillings a kilogram against 7,200 for buying weaners. A real advantage, and a small one. Drop the sows to 1.5 litters and it breaks even at about 7,800, which is worse than buying weaners. The mechanism is the sow feed bill, which is fixed in time rather than per piglet: an unproductive sow eats exactly as much as a productive one.
So the honest answer on breeding is a threshold, not a recommendation. If your sows will reliably give two litters a year and wean most of what they throw, breed. If you do not yet know what your sows will do, buy weaners for a cycle and find out what your feed actually costs first. The breeding guide and piglet management both bear on whether you hit that threshold.
Seasonal Prices in Uganda and What the Calendar Does to Profit
Here is the lever almost nobody in the ranking set mentions, and it is larger than feed conversion.
Ugandan producer focus groups across three pig keeping districts named the months when prices rise and fall, and why. January is low in all of them, because households sell pigs at the same moment to pay school fees and the market is flooded by supply nobody can hold back. Masaka reported August low for the same reason. Kamuli reported January through March low, worsened by everyone needing cash after Christmas and taking any offer.
The highs are just as predictable. April and December for Easter and Christmas. June, around the Martyrs Day observance at Namugongo, which pulls very large numbers of people through central Uganda. July and August in the coffee districts, where crop income means a farmer can refuse a bad offer, and the focus groups said so in those terms. One district also reported July highs caused by swine fever losses cutting the supply of pigs.
A pig production calendar is the tool for this, and it is worth building before the first weaner is bought rather than after the first bad sale.
What the Pig Buyer Sells That You Were Never Paid For
One more leak, documented in Ugandan value chain research and absent from every competitor calculation. Buyers earn revenue from parts of the pig that were never in the price negotiation. The research names trotters and ears. Those are not offcuts the trader throws away; they are separate products with their own buyers, and the farmer who sold the whole animal on a visual estimate was paid for none of them.
The same research points out why this persists: it benefits traders, so the coordination gaps that allow it are not going to close on their own. What a farmer can do about it is limited but real. Know the weight. Ask what the whole animal is worth rather than what the trader wants to pay. Sell through a group where volume gives you a position. And count manure as a credit in your own arithmetic, because it is genuine value the enterprise produces that no buyer is involved in.
Farm Records That Make the Next Pig Calculation Real
Everything above used assumptions in two places, the weaner price and the overhead allowance, because no Ugandan source publishes them reliably. Your own records replace both within one cycle, and the same research that describes traders setting prices also identifies lack of record keeping of production expenses as one reason farmers cannot argue about price.
Six things, and they fit on one page. The weight of each pig on arrival and the date. Every purchase of feed, in kilograms and shillings, not bags. The weight of each pig at sale and what you were paid for it. Every death, dated, with what you think killed it. Health spending, dated. And the hours someone spent on the pigs, even if nobody was paid for them, because family labour is the cost that makes a bad enterprise look breakeven.
There is a further reason this matters in Uganda. Research on the pig market system found lenders price pig enterprises as high risk partly because farmers cannot show what the herd does, and the cost of credit rises accordingly. Records are not paperwork. They are the thing that turns a second batch from a guess into a calculation. A livestock record template and a farm sales record will do it, and the farm profit calculator and break even calculator will run the arithmetic once you have the inputs.
Pig Farming Profit Calculation Questions Farmers Ask
What feed conversion ratio should I expect from Ugandan pigs? On bran heavy home mixed rations, 4 to 6 kilograms of feed per kilogram of gain is realistic. Trials on root based diets reached 2.53 to 3.40 under controlled feeding, though those trials were published in 1978 and 1986, ran on yam and taro, and were not done in Uganda. If you have never weighed feed or pigs, you do not know your figure, and guessing it is the fastest way to a wrong answer.
Why does my pig eat so much and grow so slowly? Because most of the ration is going on maintenance rather than gain. A Ugandan trial measured 36 grams a day on forage against 294 on commercial feed for pigs of the same age. The forage fed pigs were not starving, they were being kept alive. Protein is usually the missing piece, and maize bran, which makes up close to half of urban Ugandan pig diets, should be held to 20 to 25 per cent of the ration because more than that gives soft fat and slow growth.
Is gross margin or net profit the right measure? Gross margin, which is revenue minus the costs that vary with the pigs, tells you whether this batch was worth feeding. Net profit, which also carries the sty, the tools and the land, tells you whether the enterprise was worth starting. A pig herd can show a positive gross margin and a negative net profit for years, and that is the state most Ugandan smallholder units are in.
How do I put swine fever into a profit calculation? Not as an average. Treat it as a chance of losing the batch, size a cash reserve against it, and shorten the cycle so the herd is exposed for less time. At 19 per cent yearly household incidence, a seven month cycle is exposed to roughly half of that and a fourteen month cycle to all of it and more.
Should I castrate? Carcass buyers in Uganda have been recorded paying a premium for castrated males of six to twelve months with a thin fat layer, so it affects the price side of your calculation and not just the growth side. Discuss timing with a vet rather than following an article.
Does keeping more pigs improve the margin? No. Cost and revenue both scale with pig numbers, so a bad margin per kilogram simply gets multiplied. What scale does buy you is a negotiating position, because a buyer who wants ten pigs at once behaves differently from one buying a single animal. Selling through a group achieves the same thing without the feed bill.
Where should I start if I have no records at all? With two measurements: the weight of one pig, and the kilograms of feed it eats in a week. Those two turn every figure on this page from an assumption into your own number.
Prices in this calculation are published as ranges with the conditions that move them, and two inputs are labelled assumptions because no Ugandan source could verify them. Take the grid, drop in your own ration price and your own farm gate price, and see which cell you are standing in. If none of them clears, the arithmetic has done its job. The startup cost page sizes the money to open, the piglet price page tracks current stock prices, the goat calculation shows what a slower and cheaper enterprise looks like, and the business ideas hub carries the rest.
