COGS (Cost of Goods Sold)

GlossaryUpdated August 31, 2026 · Reviewed by Peasy Team

COGS (cost of goods sold) is the total cost of the inventory you've sold during a period. In Peasy, that cost comes from the purchase, lot, and production data already captured in the app.

How It Works in Peasy

  • When you receive a purchase order, Peasy stores the unit cost for that inventory
  • Freight costs from bills are distributed proportionally across received items and included in landed cost calculations. You can also set freight per item directly on the Landed Cost column in Buy > Items to buy.
  • For lot-tracked items, the assigned lot carries the cost basis forward so the correct lot cost can be used
  • When you complete a work order, Peasy records the production cost for the finished output and updates the template's unit cost
  • Inventory history and related cost views show COGS when Peasy has the needed receiving, lot, or production-cost data
  • Manufactured items can use template and production costs in addition to received purchase costs
  • Sales-line COGS stays in sync with its source automatically: when you correct a receipt's cost, a co-manufacturer's invoice arrives to replace an expected charge, or a completed run's ingredients or quantity change, Peasy refreshes the COGS on sales lines sold from that lot — including lines already invoiced. So if a COGS figure changed since you last looked, a source cost was corrected; the number wasn't recalculated arbitrarily. If a correction leaves the cost genuinely unknown, the line shows no COGS rather than a stale or zero value

Adding Costs Beyond Raw Materials

The unit and batch cost on a template doesn't have to stop at raw materials. You can roll additional costs into your finished-goods cost in two ways:

  • Co-manufacturer or co-packer labor — Use the Co-Manufacturer Cost Basis field on the template to capture what a third-party charges per unit or per batch. Include in COGS turns on automatically when you select Made by a co-manufacturer?. Turn it off to exclude that cost from unit and batch cost. See Co-Manufacturer Cost Basis.
  • Inbound freight — Freight from PO bills distributes proportionally across the items on that PO, raising their landed cost. Or set freight per item directly on the Landed Cost column in Buy > Items to buy.
  • Packaging and overhead — Packaging components are just regular buy items added as inputs on your template. If you want to track an overhead rate, create a "buy item" that represents it (e.g., "Production overhead per batch") and add it to the template with the appropriate quantity.

Where to See Cost Roll-Ups

  • Template detail page — The unit cost and batch cost shown reflect current ingredient costs plus any included co-manufacturer cost.

  • Item detail panel — Shows current cost basis and the most recent cost from receiving or production. The Avg Cost field shows the average cost across the active buy and make variants in the item's family, shown in the family's selected Inventory Unit (so if you've picked a display unit like "case", the figure scales to that unit). It's informational — sales-order COGS still comes from the receiving and production data captured for the specific lot or work order.

  • Inventory History — Records the cost recorded at the moment of each transaction (receive, work order completion, adjustment), so you can audit how cost changed over time.

  • Month-end COGS report — On Inventory > Logs, open the Reports menu and choose Month-end COGS…. Pick the period you're closing and download a CSV of what you sold and what it cost, with revenue and COGS posted on the invoice date so they land in the same period your accounting already uses. It covers issued Peasy invoices plus committed orders you invoiced manually elsewhere, and you can group the rows by invoice, item, date, or customer.

    Check the Posting Note column before you post from it. It tells you how each figure was arrived at — a real production or receiving cost, or an estimate taken from the recipe or list price when Peasy had nothing better to use. An estimated row is a placeholder to look into, not a measured cost, and it looks exactly like a measured one until you read that column.

    Because sales-line COGS refreshes when its source cost is corrected, re-running the report after a receipt fix or a co-manufacturer invoice arrives picks up the corrected figures — including for periods you already closed. If a re-run shows different numbers than your posted copy, a source cost was corrected in between.

Co-manufactured goods cost the ingredients plus the maker's charge

When a co-manufacturer makes a product for you, the batch costs two things: the ingredients you supplied and the fee the maker charged. Peasy adds both together to work out what the finished batch actually cost, rather than counting only the invoice.

Inventory History's Unit Cost column shows the receipt's own price — the maker's fee. To see the combined figure and its two halves, open the receipt and use the co-manufacturer cost view on the record itself.

Peasy first uses the assigned lot's recorded cost when available. If a line has no usable lot cost, Peasy uses the current template COGS for made products or the current Items to buy price for bought products. If none is available, Unit COGS is blank; a blank does not mean free.

If Peasy cannot calculate both halves of a co-manufacturer run's cost, it never uses just one half. It uses the current template COGS when available; otherwise, Unit COGS is blank.

Refreshing Template Costs

Template unit costs update automatically when their inputs change, but if you've edited buy-item prices or building-block costs and want to force a fresh roll-up, use the Recalculate COGS button (the refresh icon next to the Unit cost column header on the Templates list, or in the Configure tab when a template is open). The list-level button recomputes every active template; the per-template button recomputes the open template along with any building blocks it depends on.

Why It Matters

Accurate COGS is essential for understanding your true profit margins. Peasy rolls those costs up from your receiving and production activity so you don't have to rebuild them in a spreadsheet.

Was this article helpful?