Food costing

Food Cost Formula: A Simple Guide for Malaysian F&B

The essential costing and pricing formulas, explained without accounting jargon and demonstrated in Ringgit.

The simplest food cost formula is total ingredient cost divided by the number of portions produced. For pricing decisions, expand the numerator to include packaging, labour and overhead so the answer reflects what it really takes to make the product. The result is your base cost per saleable unit.

Three formulas answer different questions: cost per portion tells you what one unit costs, food cost percentage compares cost with the selling price, and profit margin compares profit with revenue. Keeping these definitions separate prevents a percentage that looks healthy from hiding an unprofitable product.

Formula 1: cost per serving

Cost per serving = total batch cost ÷ saleable yield

Calculate every ingredient used in the batch from its purchase quantity and recipe usage. Add packaging, production labour and a reasonable utility allocation. If a batch costs RM72 and produces twenty-four saleable portions, each portion costs RM3. A yield of twenty portions would raise the cost to RM3.60 even though the recipe did not change.

This formula is only reliable when the batch cost and yield cover the same production run. Do not divide the cost of twenty-four cups by the eighteen cups sold today; unsold stock is an inventory and wastage question. Conversely, do not use a theoretical twenty-four portions if regular overfilling means you only finish twenty-one.

Formula 2: ingredient usage cost

Usage cost = purchase price ÷ usable purchase quantity × recipe quantity

Convert units before applying the formula. A 2 kg bag of rice costing RM14 contains 2,000 g. If a recipe uses 600 g, its rice cost is RM14 divided by 2,000, multiplied by 600, or RM4.20. The same method works for millilitres and litres, or for countable items such as eggs and containers.

When an ingredient has unavoidable trimming or spoilage, use usable purchase quantity. A RM20 purchase with 10% wastage provides only 90% of its stated quantity. Dividing by the smaller usable amount raises the cost per gram or piece and correctly assigns the loss to the products that consume it.

Formula 3: food cost percentage

Food cost percentage = food cost ÷ selling price × 100

If the food portion of a menu item costs RM4 and the selling price is RM12, the ingredient food cost percentage is 33.33%. That does not mean the business keeps 66.67% as profit. Packaging, labour, rent, utilities, commissions, marketing, tax treatment and waste still need to be paid from the remaining revenue.

Decide whether your business uses ingredient-only food cost percentage or a fuller product cost percentage, document the definition, and compare like with like. A café tracking ingredients only should not compare its number directly with a home baker who includes packaging and labour in the numerator. Consistent definitions make month-to-month movement meaningful.

Formula 4: selling price for a target margin

Selling price = cost ÷ (1 − target margin)

For a RM6 full unit cost and a 40% target margin, divide RM6 by 0.60. The required selling price is RM10 before percentage fees or tax treatment. Profit is RM4, and RM4 divided by RM10 equals 40%. Adding 40% to RM6 would produce RM8.40, which is a 40% markup but only a 28.57% margin.

When a platform charges a percentage of selling price, the basic denominator must also allow for that fee. A 10% fee and 40% target margin leave only 50% of the price to cover base cost. The fee-aware price for RM6 is therefore RM12. Use a calculator that solves fees from price rather than estimating them from cost.

Formula 5: projected monthly profit

Monthly profit = profit per unit × units sold

A profitable unit does not automatically create a profitable month. If profit is RM3 per unit and you sell 200 units, product contribution is RM600. Business expenses not allocated into product cost, such as rent, software, licences or administrative time, must still be deducted before you call the balance business profit.

Run conservative, expected and strong sales scenarios. The calculation reveals whether a price relies on unrealistic volume and whether a small improvement in cost, price or yield has a useful monthly effect. Always use units expected to be sold, not maximum kitchen capacity, and include refunds or routine spoilage in your operational review.

A simple formula workflow

Start with purchase records, convert units and calculate ingredient usage. Confirm actual yield, add production costs, then calculate the unit cost. Choose margin or markup deliberately, include percentage fees, and compare the recommended price with an actual price customers may accept. Finally, multiply unit results by realistic volume and check business-level overhead separately.

Keep the inputs beside the result so another person can audit the calculation. A number without its recipe date, supplier pack size, yield and pricing method is difficult to trust later. Clear inputs also make updates quick: when eggs rise in price, you change one purchase figure instead of rebuilding the whole calculation from memory.

  • Use RM consistently
  • Convert kg to g and litres to ml
  • Separate margin from markup
  • Include fees based on selling price
  • Review formulas when recipes or channels change

Frequently asked questions

Is food cost the same as cost of goods sold?

A recipe food cost is a product estimate. Cost of goods sold is an accounting measure for the cost attached to goods actually sold during a period. They can inform each other but are not automatically identical.

Should packaging be in the food cost formula?

For pricing a packaged product, yes. You may report ingredient cost separately, but the full unit cost used for pricing should include required packaging.

Can I calculate selling price by multiplying cost by two?

You can use that as a rough 100% markup, but it does not automatically account for fees, tax treatment, overhead or the margin your business needs.

Examples are for education and planning, not tax or accounting advice.

Calculate your own numbers

Use the free KiraKos calculator to include ingredients, labour, packaging, fees and your target margin.

Open the free calculator