You are offline — showing cached data. Changes are disabled until you reconnect.

Costing & metrics

How to cost a manufactured food product correctly, including by-product allocation

Updated 10 min readnaffo.tech manufacturing teamReviewed by naffo.tech implementation desk

How do you calculate the cost of a manufactured food product?

Cost a food product from the actual batch, not the recipe. Take material issued at landed cost, add conversion cost (labour, energy, packaging, direct overhead) absorbed over actual good output, subtract the realisable value of recovered by-product, and divide by the good output quantity. Costing at standard recipe rates hides yield loss, give-away and rework, which is where most of the margin actually leaks.

Key takeaways

  • Recipe cost is a plan. Batch cost is the truth. The gap between them, in rupees, is your margin leak.
  • By-product value must reduce the main product's cost, or every product with a saleable by-product looks unprofitable.
  • Landed cost, not invoice cost. Freight, loading, transit loss and non-creditable taxes belong in material cost.
  • Absorb conversion cost over actual good output, not planned output. Absorbing over plan makes a bad-yield batch look normal.
  • Rework carries cost forward. If reworked material is treated as free input to the next batch, the next batch looks better than it is.
  • Recompute cost per batch, the same shift. A monthly weighted-average cost tells you what happened, never which batch caused it.

Key figures

4
Cost layers in a defensible per-kilo product costBasis: Landed material cost, conversion cost absorbed over actual good output, by-product credit at net realisable value, and rework cost carried forward.

Why your recipe cost and your bank balance disagree

Most food manufacturers price from a recipe cost sheet built once, in Excel, at standard yield and last year's rates. Then margin quietly disappears in five places the sheet does not model: yield shortfall, rework, give-away on the filler, by-product drained instead of sold, and freight treated as an expense rather than as part of material cost.

A defensible product cost has four layers, computed per batch:

Batch cost of good output

Cost per unit = (Landed material cost + Conversion cost + Rework carried in − By-product credit) ÷ Actual good output

Every term must come from the batch record, not from the recipe. The recipe supplies the standard you compare against.

Layer 1 — landed material cost

Material cost is not the supplier's invoice line. It is what the material actually cost to have available, usable, at your plant.

What belongs in landed cost, and what does not
IncludeWhyExcludeWhy
Supplier invoice value net of creditable GSTInput tax credit is recoverable, so it is not a costCreditable GSTRecoverable — including it overstates cost and distorts pricing
Inward freight and loading/unloadingDirectly attributable to getting material usableGeneral office overheadNot attributable to material
Non-creditable taxes, cess and dutiesGenuinely unrecoverableSelling and distribution costBelongs after cost of goods, not inside it
Transit and measurement loss on receiptYou paid for it and did not receive itFinancing cost of credit periodTrack separately as working-capital cost, not product cost
Quality-rejection rate adjustmentConditional acceptance changes the real rate paidAbnormal spoilage from a chiller failureCharge to the period as an abnormal loss, not to the product

Layer 2 — conversion cost, absorbed over actual output

Conversion cost is everything you spend turning material into sellable product: direct labour on the batch, energy (steam, power, refrigeration), consumables, packaging material, direct maintenance, and plant overhead attributable to production time.

Conversion rate

Conversion rate = Total conversion cost for the period ÷ Total actual good output for the period

Refresh monthly. Then apply it to each batch's actual good output. Absorbing over planned output is the classic error — it makes a low-yield batch look normal, because the shortfall silently lands in an unexplained variance nobody reads.

Layer 3 — by-product credit, three defensible methods

This is the layer that decides whether your numbers make sense in a dairy or food plant. Convert 1,000 L of milk into paneer and whey, charge all the milk to the paneer, and paneer looks unprofitable while whey looks free. Both conclusions are wrong.

Three by-product allocation methods, and when each is appropriate
MethodHow it worksUse whenWatch out for
Net realisable value (NRV) creditCredit the by-product's realisable value (sale price less cost to sell) against the batch cost; main product absorbs the balanceOne clear main product plus minor by-products — paneer/whey, ghee/residue, bakery trimOverstating realisable value for a by-product you do not actually sell every week
Sales-value split (joint costing)Split batch cost across all outputs in proportion to their sales valueGenuine joint products of comparable value — cream and skimmed milk from separationSales-value moves, so cost moves; document the rate source and freeze it monthly
Physical-measure splitSplit cost by weight, volume, or fat/solids contentOutputs with similar value per unit, or when fat is the real cost driverNonsense results when values differ sharply — 760 L of whey should not absorb 76% of milk cost

Layer 4 — rework, and the trap of free input

Rework already carries material and conversion cost from the batch that produced it. If it enters the next batch at zero value, that batch's cost is understated and the original batch's cost is overstated — so yield comparisons between the two become meaningless.

  • Value rework at the cost of the batch that produced it, capped at net realisable value if it will be sold as a lower grade.
  • Carry that value into the consuming batch as an input line, visible on the batch cost sheet.
  • If rework is scrapped rather than consumed, charge it to wastage cost at the value it had when it failed — not at raw-material rate.
  • Track the rework rate separately. Rising rework with flat rejection means the process is drifting while QC catches it; costing alone will not reveal that.

Standard versus actual: use both, for different jobs

Two costs, two purposes — plants that keep only one always keep the wrong one
Standard (recipe) costActual (batch) cost
Built fromRecipe, standard yield, current ratesBatch record: issued material, actual output, actual conversion
Used forPricing, quotations, planning, budgetingMargin truth, variance analysis, improvement targets
UpdatedMonthly, or when a rate or recipe changesEvery batch, same shift
Fails whenUsed as the margin figureUsed to quote a customer, because it fluctuates batch to batch
The variance that matters

Cost variance per unit = Actual batch cost per unit − Standard cost per unit

Decompose it into material price variance, yield variance, conversion variance and by-product recovery variance. Each has a different owner: purchase, production, maintenance and sales respectively.

Margin: the four cuts worth having

  • Gross margin per SKU = realisation − actual batch cost. Ranked worst-first, monthly.
  • Contribution per unit of constraint. If your bottleneck is press hours or filler minutes, rank SKUs by contribution per bottleneck hour, not by percentage margin. The highest-margin product can be the worst use of a constrained line.
  • Customer margin after freight, discount and credit period. Include the financing cost of the credit you extend. Large customers frequently rank lower than assumed.
  • Channel margin. Distributor, institutional, retail and own-outlet realisations differ enough that a blended SKU margin can hide a loss-making channel entirely.

Making this operational rather than an annual spreadsheet exercise

  1. Land the material cost at GRN — freight, loading and rate adjustments captured on the receipt, not journalled separately at month-end.
  2. Stamp the recipe version on the batch so a cost step-change can be attributed to the recipe change that caused it.
  3. Compute batch cost at batch close, using actual good output and actual by-product recovered — the plant sees cost per kg the same shift.
  4. Refresh the conversion rate monthly from the actual period cost and actual output.
  5. Publish a worst-first variance list weekly with the four-way decomposition and an owner against each line.
  6. Re-price on actual, quote on standard. Never confuse the two in the same conversation.

This is the costing layer that sits directly on top of the batch chain in the ideal food ERP workflow, using the metrics defined in yield, wastage and by-product formulas. naffo.tech's manufacturing module implements it natively: landed cost at GRN, versioned recipes, batch-wise material issue, by-product allocation that reduces the main product's effective cost, and per-batch costing that posts to double-entry accounting without a separate month-end exercise.

Frequently asked questions

How do you calculate the cost of a manufactured food product?

Cost per unit = (landed material cost + conversion cost + rework carried in − by-product credit) ÷ actual good output. Take every term from the batch record rather than the recipe: material at landed cost including inward freight and rate adjustments, conversion absorbed over actual good output, and by-product credited only at the value you genuinely realise.

How should by-product value be allocated in dairy costing?

For a clear main product with minor by-products — paneer and whey, ghee and residue — credit the by-product's net realisable value against the batch cost so the main product absorbs the balance. For genuine joint products of comparable value, such as cream and skimmed milk from separation, split the batch cost in proportion to sales value. Never split by physical volume when values differ sharply.

Should conversion cost be absorbed on planned or actual output?

Actual good output. Absorbing over planned output makes a low-yield batch look normal, because the shortfall disappears into an absorption variance nobody reviews. Absorbing over actual output makes a bad batch show a higher cost per kilo immediately, which is the signal you want on the same shift.

What is landed cost in food manufacturing?

Landed cost is what material cost to have usable at your plant: supplier invoice value net of creditable GST, plus inward freight, loading and unloading, non-creditable taxes, transit and measurement loss on receipt, and any rate adjustment from conditional quality acceptance. It excludes creditable GST, selling costs and the financing cost of supplier credit.

Why is my actual margin lower than my recipe cost sheet says?

Usually five reasons compounding: yield below standard, rework treated as free input, give-away above the required overfill tolerance, by-product drained instead of sold, and stale packaging or freight rates in the sheet. Decompose the variance into material price, yield, conversion and by-product recovery, and each gap gets a named owner instead of a general statement that costs went up.

How often should product cost be recalculated?

Actual cost every batch, at batch close, so the plant sees cost per kilo the same shift. Standard cost monthly, or immediately when a material rate or recipe changes. Quote and price from standard; judge margin and run variance analysis from actual. Keeping only a monthly weighted average tells you what happened but never which batch caused it.

This page also answers

  • How do you allocate by-product cost in dairy?
  • What is landed cost and what goes into it?
  • Should conversion cost be absorbed on planned or actual output?
  • How do you cost rework?
  • Why is my product margin different from what my recipe says?
  • What is the difference between standard costing and actual batch costing?

Run this inside one system

naffo.tech is an all-in-one business management and manufacturing platform for Indian SMEs: versioned recipes and BOMs, batch-wise material issue under FEFO, yield, by-product and reason-coded wastage capture, in-process and finished-goods QC, batch traceability to dispatch, GST invoicing with e-invoice and e-way bill, and double-entry accounting that closes live.