How to Calculate Cost of Production: Method and Common SME Mistakes
Cost of production, direct and indirect costs, allocation keys: practical guide for SMEs to calculate reliable costs and set prices protecting margin. Common mistakes and examples.
This topic is part of our service
Outsourced CFO in France | Fractional finance leaderExpert note: This article was written by our chartered accountancy firm. Information is current as of 2026. For a personalised review of your situation, contact us.
Quick answer. Cost of production is the sum of direct costs (materials, labor) and indirect costs allocated to a product or service. Calculate it by identifying direct costs, grouping indirect costs, choosing an allocation key (hourly, per unit, revenue %, or mixed), then allocating. Common mistakes: forgetting indirect costs, underestimating non-billable time, confusing cost of production with selling price.
Why master your cost of production in 2026?#
Among business owners and freelancers we advise at Hayot Expertise, many price "by feel": comparing to competitors, dividing a target revenue by estimated client count, or applying a fuzzy "margin" percentage. This approach is risky: it often ignores the real production cost, hides overruns (poorly estimated indirect costs), and creates unpleasant surprises at year-end. In 2026, with persistent energy inflation, volatile supply costs, and client payment delays weighing on cash flow (French LME law), reliable cost-of-production calculation becomes essential to operational management.
What is cost of production?#
Cost of production is the sum of all direct and indirect costs incurred to manufacture a product or deliver a service. It is a management control metric, separate from accounting profit: it answers the question—for each product or service, what does it actually cost to deliver it?
Definition: cost of production groups production charges (materials, direct labor) and allocated overhead (rent, depreciation, electricity, administration) using an allocation key. It is a pillar of management accounting, which is optional (not mandatory under the French General Chart of Accounts) but essential for operational control.
General formula: Cost of production = Direct costs + (Indirect costs × allocation key)
Direct costs are easily traceable: for a pizzeria, that is dough, sauce, cheese, and the pizzamaker labor. For a consulting firm, it is the assigned consultant salary and their software tools. Indirect costs (rent, electricity, support staff, depreciation) cannot be traced directly; you must choose an allocation key to distribute them.
Direct vs. indirect costs#
Direct costs#
Direct costs are directly attributable to the product or service: they vary with production volume and can be identified without calculation.
Examples:
- Manufacturing: raw materials, bought-in components, packaging, production energy (oven electricity), direct labor (machinist assigned to production).
- Services: assigned consultant salary, billable travel, software used on a specific project, consumables billed to the client.
Indirect costs#
Indirect costs are shared across multiple products or services; they cannot be attributed to one without an allocation key.
Examples:
- Facility rent (shared across workshops)
- General electricity (lighting, heating, admin)
- Support staff salaries: supervisors, admin, sales, logistics
- Depreciation of machinery, equipment, buildings
- Insurance, social charges, bank fees, telecommunications
- Maintenance, cleaning, training
- Office supplies, subscriptions
Allocation keys (how to distribute indirect costs)#
Choosing a good allocation key is critical; it must reflect cost causality.
Hourly allocation key (services, projects)#
Used for: consulting, creative agencies, engineering services, hourly trades, transportation.
Logic: the more hours a service consumes, the more indirect resources it uses.
Calculation: Hourly indirect cost = Total annual indirect costs / Billable hours per year
Example: a consulting firm has €300,000 annual indirect costs (rent, admin, management salaries) and 8,000 billable hours/year. Hourly indirect cost = 300,000 / 8,000 = €37.50 / h.
If a consultant logs 40 hours on a project, indirect costs allocated = 40 × 37.50 = €1,500.
Project cost of production = (Consultant salary) + (Software tools) + €1,500 (indirect).
Common pitfalls:
- Forgetting non-billable hours (training, internal meetings, slack periods) → underestimating indirect allocation.
- Assuming 1,700 or 1,800 "magical" billable hours → too optimistic; adjust realistically: 35-40 h/week × 48-50 weeks = 1,700–2,000 h max, minus vacation, time-off, sick leave.
Per-unit allocation key (manufacturing)#
Used for: production, food manufacturing, custom work.
Logic: each unit produced consumes a proportional share of indirect resources.
Calculation: Indirect cost per unit = Total annual indirect costs / Number of units produced
Example: a small forge produces 5,000 pieces/year. Indirect costs = €150,000 (rent, forge depreciation, master craftsman salary). Indirect cost per piece = 150,000 / 5,000 = €30 / piece.
If a piece consumes 2 kg steel at €8/kg = €16, plus direct labor = €12, its cost of production = 16 + 12 + 30 = €58.
Pitfalls:
- Not segmenting by product type if the mix varies (complex pieces demand more shop floor time) → average is wrong.
- Assuming 6,000-unit capacity but producing only 4,000 → indirect cost per unit jumps to €37.50 (undercapacity).
Revenue percentage allocation key#
Used for: retail, restaurants, general services.
Logic: overhead is proportional to revenue (more sales = more tills, delivery, admin).
Calculation: Overhead ratio = Indirect costs / Projected annual revenue
Example: a bakery has €120,000 indirect costs (rent, utilities, salaries) on projected €400,000 revenue. Ratio = 120,000 / 400,000 = 30 %.
A loaf costs €0.60 material + €0.20 direct labor = €0.80 direct. Add overhead = 0.80 × 0.30 = €0.24. Cost of production = 0.80 + 0.24 = €1.04. To achieve 15 % gross margin, price = 1.04 / (1 − 0.15) ≈ €1.22.
Mixed or activity-based key (ABC)#
Used for: complex sectors with multiple activities.
Logic: some costs are time-driven (direct labor hours), others volume-driven (material weight), others complexity-driven (number of SKUs).
Example: an industrial SME makes machining and sheet-metal pieces. Admin overhead (€80,000) is split 50 % by direct labor hours (machining/sheet-metal), 30 % by kg of material, 20 % by number of orders managed. Each product receives its share of indirect costs based on actual resource consumption.
Practical steps to calculate cost of production#
Step 1: List direct costs#
Gather your purchase invoices, payroll records (direct labor), and variable expense receipts. For each main product or service, note:
- Raw material (or purchased service)
- Direct labor assigned (hours, hourly rate)
- Variable consumables traceable to that product/service
Step 2: Determine indirect costs#
Collect from accounting or your accountant:
- Rent, water, electricity, heating
- Indirect staff salaries and social charges (supervision, admin, sales, general logistics)
- Depreciation of fixed assets (building, machines not tied to one product, vehicles)
- Insurance, social charges, bank fees, telecom
- Maintenance, utilities, cleaning, training
- Miscellaneous (office supplies, subscriptions)
Total annual indirect costs = sum of above.
Step 3: Choose and test an allocation key#
Depending on your sector, test multiple keys:
- Consulting, time-based services → hourly key (divide indirect by actual billable hours).
- Manufacturing, discrete parts → per-unit key.
- Retail, restaurants → revenue % key.
- Complex multi-activity → mixed key or cost center method.
Tip: Pull 3–4 months of actual accounts and back-calculate the key. Check that the key yields costs in line with market (not 50 % above competitors, nor 50 % below).
Step 4: Allocate indirect costs to each product/service#
Apply the chosen formula. Example for a 30-hour consulting project (hourly indirect rate of €37.50/h):
| Item | Calculation | Amount |
|---|---|---|
| Direct costs — assigned labor | €50/h × 30 h | €1,500 |
| Direct costs — software tools | project fee | €500 |
| Indirect costs allocated | 30 h × €37.50/h | €1,125 |
| Project cost of production | €3,125 |
Step 5: Set selling price#
Once cost of production is established, price to protect profitability:
Selling price (gross) = Cost of production × (1 + Gross margin %)
Where gross margin % depends on sector and strategy:
- Professional services: 40 to 60 % (often high indirect costs).
- Craft production: 30 to 50 %.
- Restaurants: 60 to 70 % (to cover variable + high indirect).
- Retail: 20 to 40 % (by product type).
Example: project cost €3,125 + 40 % margin = 3,125 × 1.40 = €4,375 ex-VAT.
Then check: is this price competitive? Too low = you underpay yourself; too high = customer loss.
Examples: services vs. manufacturing#
Example 1: Web agency (services)#
Client project: website redesign, 5-page brochure site.
Direct costs:
- Senior developer: 60 h × €50/h = €3,000
- Frameworks/plugins: €500
- Test server, deployment: €200
- Total direct: €3,700
Monthly indirect costs:
- Office rent: €2,000
- Admin/management salaries: €4,000
- Utilities, insurance, management software: €1,000
- Depreciation, telecom: €500
- Total monthly indirect: €7,500
Actual billable hours per month:
- 2 developers × 160 h/month = 320 h
- Reality: internal meetings, training reduce billable to ~280 h/month
- Annual billable hours: 280 × 12 = 3,360 h
Hourly indirect cost: €7,500 × 12 = €90,000 / 3,360 h = €26.79 / h
Website cost of production:
- Direct costs: €3,700
- Indirect allocated: 60 h × €26.79 = €1,607
- Total: €5,307
Selling price (50 % margin): €5,307 × 1.50 = €7,960 ex-VAT (≈ €9,552 inc. 20 % VAT)
Pitfall avoided: if the agency had used 3,840 theoretical hours (2 developers × 160 h × 12 months) instead of the 3,360 hours actually billable, the hourly indirect rate would have fallen to €23.44/h, cost to €5,106 and price to €7,660 — too low, because non-billable hours (meetings, training) would have been ignored.
Example 2: Machining workshop (manufacturing)#
Custom machined parts for tractors (baseline model).
Direct costs per piece:
- Steel blank: 0.5 kg × €12/kg = €6
- Direct labor (machining): 0.75 h × €25/h = €18.75
- Paint, seals: €2
- Total direct: €26.75/piece
Annual indirect costs:
- Shop rent: €18,000
- Supervisor and admin salaries: €45,000
- Electricity, gas, water: €12,000
- Lathe, mill, equipment depreciation: €25,000
- Maintenance, tooling, insurance: €8,000
- Total annual indirect: €108,000
Annual production: 8,000 pieces (capacity: 10,000)
Indirect cost per piece: 108,000 / 8,000 = €13.50/piece
Cost of production: 26.75 + 13.50 = €40.25/piece
Selling price (35 % margin): €40.25 × 1.35 = €54.34 ex-VAT (≈ €65.21 inc. VAT)
Pitfalls avoided:
- Not assuming 10,000 pieces (full capacity) if you are only making 8,000 → overhead per piece would be €10.80, dangerously low.
- Not forgetting depreciation (often underestimated by small shops).
- Checking quarterly that margin stays positive amid material price swings.
Summary table: direct vs. indirect costs#
| Type | Nature | Examples | Attributable to | Allocation method |
|---|---|---|---|---|
| Direct | Vary with volume, traceable | Raw material, direct labor, consumables | Specific product/service | — (immediate) |
| Indirect | Shared overhead, fixed/semi-fixed | Rent, general utilities, admin salaries, depreciation | Production as a whole | Hourly, per-unit, revenue %, mixed |
Special cases: sole traders, restaurants, construction#
Sole traders & micro-enterprises (revenue < small threshold)#
In micro, accounting is simplified (flat-rate deduction: 50 % services, 71 % retail, 34 % liberal/BNC). But calculating cost of production still helps to:
- Set realistic, competitive pricing (not underpriced)
- Understand your true gross margin
- Spot waste or cost creep
Example: a life coach with €50,000 annual revenue. Direct cost = hours + materials. Indirect = co-working rent share, insurance. Even simplified, an annual cost-of-production review per coaching hour helps fine-tune pricing.
Restaurants#
Cost of production per dish = ingredient cost (food cost, often 25–35 % of price) + share of rent, electricity, kitchen staff (indirect). A per-unit key or revenue-% key is common. Watch seasonality (summer vs. winter): it can drastically change indirect cost per dish served. A terrace-heavy restaurant that covers its fixed costs over a busy summer can see the same dish become unprofitable in a quiet February once the rent and payroll are spread over far fewer covers, so recalculate the indirect share by season rather than once a year.
Link: see restaurant profitability and food cost for sector deep-dives.
Construction & contract work#
Cost of production per site = materials (steel, concrete) + on-site labor + indirect allocation (office, supervisors, equipment). A mixed key (hours + tonnage) or site-hour key is typical. Critical: measure actual hours (not estimated); delay = more indirect cost allocation. Every extra week on a site quietly loads more supervision, plant rental, and site-hut overhead onto the job, which is why a quote that looked profitable at tender can finish in the red — track committed hours against the budget weekly, not at hand-over.
Link: construction sector guidance.
Key risks in 2026#
1. Indirect cost inflation#
Energy, rent, salaries rise in 2026. A cost key calculated in 2025 may be stale within six months. Recommendation: review your cost of production quarterly; adjust prices if indirect costs exceed 5 % of budget.
2. Real vs. theoretical capacity#
Many service providers assume "2,000 billable hours" per consultant without checking. Reality: vacation, time-off, training, internal meetings, slow seasons = 1,600–1,800 h max. Underestimating = under-allocating indirect by 10–20 %.
3. Confusing cost of production with selling price#
A sound cost-of-production calculation is just the starting point. You must add margin to cover:
- Unallocated overhead (if your key is not exhaustive)
- Taxes and social charges
- Safety margin against surprises (late clients, scrap)
- Finally, your net profit
Pricing too close to cost = zero buffer: one hiccup and you lose money.
4. Link cost to break-even point#
Once you know cost of production per product/service, calculate break-even: how many sales/month must you achieve to cover fixed costs? This metric drives pricing and volume decisions.
Our expert perspective#
As a chartered accountant registered with the Ordre des Experts-Comptables and a statutory auditor (commissaire aux comptes), we set up SME-grade management accounting and see how badly a mis-calibrated hourly rate destroys margin. Recently, we advised an SME mechanical subcontractor. All client quotes were refused or renegotiated down. Analyzing his accounts, we found he was pricing from an old hourly rate (based on 2,500 billable hours/year). Reality: 1,900 billable hours/year (seasonal downturns, machine breakdowns, mandatory safety training). Result: his hourly indirect cost was 30 % too low, his costs underestimated, his gross margin negative on some jobs. Recalculating with 1,900 actual hours and adjusting prices 15–20 %, the company restored healthy margin in three months—without losing clients (he explained the revision transparently).
This real example underscores: anchor cost-of-production to actual figures, not assumptions. The single most common mistake we see is treating theoretical capacity as if it were billable reality. A workshop or a consultant who divides overhead by an optimistic hour count quietly under-prices every quote, and the gap only surfaces at year-end when the profit that the income statement promised never reaches the bank account.
Hayot Expertise recommendation. Calculate your cost of production once or twice yearly (more if your sector is volatile) for main products/services. Identify direct costs, gather indirect costs, choose the allocation key most faithful to your operation. Embed this in your forecast statement and monthly dashboards. At Hayot Expertise, we help you implement management accounting tailored to SME scale and manage by true cost-of-production. This transforms your margin and cash trajectories.
Frequently asked questions
What margin spread between cost of production and selling price is recommended?+
Depends on sector. Professional services (consulting, design): 40–60 % markup typical. Manufacturing: 30–50 %. Restaurants: 60–70 %. Formula: markup % = (Price − Cost) / Cost × 100. Beware: do not confuse margin (calculated on the selling price) with markup (calculated on cost).
How do I know if my allocation key is sound?+
Test on three real months: apply the key to several products/services, compare resulting cost to current selling price, verify you are hitting positive margin. If some products show 5–10 % margin (tight) while others show 40 %, your key is not right; refine it (mixed key, or segmentation).
In a micro-business, is cost-of-production calculation really worth it?+
Yes, even micro. It helps you price realistically and understand true profitability. The flat tax deduction (34–71 % by regime) is fiscal, not real: your actual profit deserves a cost-based estimate.
What if my calculated cost of production exceeds market price?+
Red flag. Either reduce costs (supplier negotiation, boost productivity), or your business model is not viable at market price. Third option: reposition upmarket or seek clientele willing to pay for quality.
How do I allocate indirect costs if they swing monthly (e.g., seasonal electricity)?+
Use an annual average (more stable), or adjust the key monthly if swings are major. Example: winter electricity 50 % pricier → split into "winter" and "summer" rates, allocate differently by production season.
Does VAT count in cost of production?+
No. Cost of production = costs ex-VAT (VAT is recoverable). VAT is added to the selling price (ex-VAT + 20 % VAT), not the cost.
Key takeaways#
- Cost of production = direct costs + indirect costs allocated via an allocation key. It is a management tool, not a mandatory balance-sheet item.
- Direct costs: materials, labor assigned to product/service. Indirect costs: shared overhead (rent, general utilities, admin, depreciation).
- Pick an allocation key that fits your operation: hourly (services), per-unit (manufacturing), revenue % (retail), or mixed (complex).
- Test your key on 3 real months; adjust if it gives costs disconnected from market reality.
- Once cost is solid, set price = Cost × (1 + Gross margin %). Margin % varies by sector (30–70 %).
- Do not confuse cost-of-production with selling price; do not confuse margin with markup.
- Review your cost of production annually (or twice if inflation is high) and adjust prices based on actual charges.
- Link cost-of-production to break-even point and monthly dashboards for management.
Official sources#

Article written by Samuel HAYOT
Chartered Accountant, registered with the Institute of Chartered Accountants.
Regulated French accounting and audit firm based in Paris 8, built to support companies across France with a digital and decision-oriented approach.
Sources
Official and operational sources cited for this page.
- Bpifrance Création — Définir le prix de vente
- Bpifrance Création — Les indicateurs de gestion (marges, coûts, point mort)
- Entreprendre.Service-Public — Seuils de la micro-entreprise
- URSSAF Auto-entrepreneur — Modification des seuils de chiffre d'affaires 2026
- Légifrance — Code de commerce, article L. 441-10 (délais de paiement)
This topic is part of our service Outsourced CFO in France | Fractional finance leader
Need a quote or personalised advice?
Our accountancy firm supports you through all your steps. Get a free quote to review your situation and receive a bespoke fee proposal, or contact us directly.