Skip to main content

See your cost per batch

FourFoxes computes each batch's cost from ingredients, packaging, labor, and overhead, and rolls it up in the Finance reports.

Batch cost has five parts: ingredients drawn, spoilage and waste, packaging used, labor entries, and an overhead share. FourFoxes calculates it when three things are in place: an active bill of materials for the product, ingredients drawn from stock by linking the purchases the batch used, and an amount produced. All costing pages are for admins and owners only.

On the batch. The batch page shows a COGs Breakdown card with Ingredient Cost, Packaging Cost, Labor Cost, Overhead Allocation, Total COGs and Cost per Unit, and the date it was calculated. Spoilage & Waste shows when stock the batch used was written off. Open Cost history to see each change to the total and what caused it. Before the full cost is ready, the card shows Ingredient cost so far and lists what is still missing.

Across batches. Open Reports, then under Finance:

  • Cost of goods lists Recent Batch Costs: total cost, cost per unit and the date calculated for each batch.
  • Cost per product shows Avg COGs / Batch and Avg COGs / Unit for each product. Filter by Product, Product Type, and a From and To packaging date, then click Apply filters.
  • Margin Analysis compares each product's Avg Cost/Unit to its selling price in three channels: Retail, Wholesale and Distributor. Use the All, Retail, Wholesale and Distributor buttons to show one channel at a time.

Set selling prices. On Margin Analysis, click Set pricing next to a product. Enter a Retail price, Wholesale price or Distributor price, and leave a channel blank if you do not sell through it. Click Save pricing.

Margin badges. Each margin shows a percentage and a word: Good, Watch or Below. Click Thresholds to see the targets. Retail is Good at 40% or more and Watch at 20% or more. Wholesale is Good at 30% and Watch at 15%. Distributor is Good at 20% and Watch at 10%. Anything lower is Below, and the row is highlighted.

Ingredient costs come from the price on the purchases each batch drew from, at the time of the draw. A price change on a later purchase does not rewrite old batches.

Margin Analysis page The Margin Analysis table with channel buttons and a Thresholds link. Each product shows its type, average cost per unit and, for Retail, Wholesale and Distributor, a price and a margin badge reading Good, Watch or Below. A product without prices shows a Set pricing link. Margin Analysis ← Cost of goods All Retail Wholesale Distributor ? Thresholds Product Type Avg Cost/Unit Retail Price Margin Wholesale Price Margin Distributor Price Margin Habanero Gold Sauce $3.12 $9.99 68.8% Good $5.50 43.3% Good $4.25 26.6% Good Garlic Verde Sauce $4.80 $7.50 36.0% Watch $5.40 11.1% Below — — Mango Ghost Set pricing → Sauce $3.65 — — — — — —
Margin Analysis: each badge pairs the margin with a word, so the status never depends on color alone.
When a batch has no cost

If a cost cannot be calculated, the COGs Breakdown card says why and how to fix it: no amount produced, no active bill of materials for the product, or no ingredients drawn from stock. Link the ingredient purchases the batch used, and each one draws its bill of materials amount and prices it. If those purchases have no price per unit, the cost leaves out ingredients until you add one.

Related