Start with the cost boundary
A raw-material estimate is useful, but it is not the full cost of producing and selling a product. To understand a margin, state which costs you counted, the saleable quantity they support, and what you left out. There is no defensible industry-average margin, waste allowance or markup in this worked example.
The numbers below are entirely fictional. Inputs A, B and C are anonymous economic inputs, not ingredients in a manufacturing formula. The exercise does not establish product safety, preservation, stability, suitability or a recommended selling price. Its purpose is to make a supplier-price change reproducible.
Print the formula cost-change example and worksheet to check the arithmetic and record your own assumptions.
Separate production, selling and overhead costs
Keep a cost model that distinguishes:
- Raw materials: the quantities consumed and the dated price basis, including relevant purchasing costs.
- Packaging: the primary pack, closure and label used for the saleable units.
- Direct production labor: time and rate for the defined production work.
- Production overhead: manufacturing costs allocated under the business's accounting policy.
- Selling and fulfillment: outbound shipping, shipping cartons, payment fees, channel commissions, discounts and returns, as applicable.
- Other business overhead: administration, marketing and other expenses that must be covered by the business.
These headings support a management calculation; your accountant should determine the accounting classification that applies to your business. The IFRS Foundation's IAS 2 overview explains that inventory cost includes purchase and conversion costs, including direct labor and production overhead, and that its carrying amount becomes an expense when sold. A partial production estimate should therefore not be presented as a complete accounting COGS figure.
Source reviewed November 10, 2026. The arithmetic below is our own.
Step 1: calculate the raw-material change
The fictional input batch is 10 kg. All prices use the same currency and price basis; tax, freight and purchasing adjustments are excluded from this exercise.
| Economic input | Share of input mass | Mass | Original price/kg | Original cost | Revised price/kg | Revised cost |
|---|---|---|---|---|---|---|
| A | 86% | 8.6 kg | $2.00 | $17.20 | $2.00 | $17.20 |
| B | 10% | 1.0 kg | $12.00 | $12.00 | $18.00 | $18.00 |
| C | 4% | 0.4 kg | $20.00 | $8.00 | $20.00 | $8.00 |
| Total | 100% | 10.0 kg | — | $37.20 | — | $43.20 |
For each row: mass × price per kg = cost. Only B changes, so the raw-material increase is 1 kg × ($18 − $12) = $6 per batch. This isolates the price effect. A different supplier grade, quantity, freight basis or yield would require a new comparison.
Step 2: use saleable output once
Assume a measured, illustrative saleable output of 9.5 kg, filled into 190 units at 50 g each:
9,500 g ÷ 50 g = 190 units.
The difference between 10 kg input and 9.5 kg output is 0.5 kg, or 5% of input mass. That illustrative loss is already reflected by dividing the consumed input cost by 190 saleable units. Adding another 5% charge for the same loss would double count it.
This is not an industry waste standard. In a real operation, reconcile measured output, retained samples, process residues, rejects and other dispositions rather than assuming a universal percentage. A change in fill weight or saleable yield changes the denominator even when input prices stay constant.
Step 3: add the stated production costs
Packaging is 190 × $1.20 = $228. Direct production labor is $50 per batch. Both remain constant in this comparison.
| Stated production component | Original batch | Revised batch |
|---|---|---|
| Raw materials | $37.20 | $43.20 |
| Packaging | $228.00 | $228.00 |
| Direct production labor | $50.00 | $50.00 |
| Stated production cost | $315.20 | $321.20 |
| Saleable units | 190 | 190 |
| Cost per saleable unit | $1.658947 | $1.690526 |
These unit costs are rounded to six decimals for display; retain unrounded values in subsequent calculations. The change is $6 ÷ 190 = $0.031579 per unit, approximately 3.16 cents. Production overhead, studies, selling expenses and other overhead are not included. The table is a bounded production comparison, not a promise of total product cost.
Step 4: distinguish margin from markup
At a fictional $12 sale price per unit, before discounts and taxes:
- Original price less stated unit production cost: $12 − ($315.20 ÷ 190) = $10.341053.
- Revised price less stated unit production cost: $12 − ($321.20 ÷ 190) = $10.309474.
- Original difference as a share of price: 86.1754%.
- Revised difference as a share of price: 85.9123%.
Those percentages describe only the stated cost boundary. They are not net profit margins, and they should not be advertised as achieved business results. Outbound fulfillment, payment fees, returns, production overhead and other omitted costs reduce the amount available to the business.
For a consistently defined cost, margin = (price − cost) ÷ price. Markup = (price − cost) ÷ cost. They use different denominators. Neither calculation tells you whether customers will accept a price, a wholesale agreement is viable or the business can cover its fixed expenses.
Build a decision from your own records
Before changing a price or supplier, record:
- The formula or economic model version, currency, supplier quote date and purchasing basis.
- Actual consumed quantities and measured saleable units, with the loss reconciliation.
- Packaging and direct labor assumptions, plus production overhead still to allocate.
- Channel-specific selling and fulfillment costs separately from production.
- Fixed costs, expected sales volume and the reviewer responsible for the accounting treatment.
- A comparison that changes one assumption at a time, then a combined scenario where needed.
A break-even estimate requires a complete definition of fixed costs and variable contribution. Dividing fixed costs by a contribution that omits payment or fulfillment costs can understate the number of sales needed. Do not count the same overhead once in unit cost and again as a fixed-cost numerator.
Use formulation software as a category to evaluate how assumptions, revisions and exports are recorded. Confirm current product scope through a demonstration; this article does not prove automatic overhead allocation, real-time margin alerts or any customer's profitability. The software evaluation guide provides a repeatable script for that conversation.
Keep the research beside the formula.
Build formulas, trace ingredient decisions, watch costs, and carry the right records into production. Free account first · no card. Pro trial: card required · $0 today · then $49/month unless canceled before the first charge.