# Cost of Goods Sold

Learn how to calculate and track cost of goods sold for inventory valuation

289 posts [View all tags](https://beancount.io/blog/tags) [Back to All Posts](https://beancount.io/blog)

May 17, 2026 10 min read

## [Bookkeeping for Food Truck Owners: Cash Sales, COGS, and Sales Tax](https://beancount.io/blog/2026/05/17/bookkeeping-food-truck-owners-cash-sales-commissary-fees-event-costs-food-cogs-sales-tax-guide)

A step-by-step bookkeeping system for food trucks — separating business money, building a truck-specific chart of accounts, running a daily cash close, tracking food cost at 25–30% of revenue, and treating collected sales tax as a liability rather than income.

Mike Thrift

bookkeeping small-business cost-of-goods-sold

May 17, 2026 9 min read

## [Bookkeeping for Landscaping & Lawn Care: Job Costing, Seasonal Cash Flow, and Crew Labor](https://beancount.io/blog/2026/05/17/bookkeeping-landscaping-lawn-care-businesses-job-costing-seasonal-cash-flow-crew-labor-chart-of-accounts-guide)

Landscaping books need four things a generic ledger lacks — job costing, seasonal cash flow forecasting, burdened crew labor, and a service-line chart of accounts. This guide shows how to set up each so your numbers reveal which work earns margin and how much cash bridges the off-season.

Mike Thrift

bookkeeping seasonal-business cash-flow

May 17, 2026 11 min read

## [Inventory Shrinkage and Cycle Counting for Small Retailers and Warehouses](https://beancount.io/blog/2026/05/17/inventory-shrinkage-cycle-counting-retailers-warehouses-abc-classification-shrink-rate-journal-entry-loss-prevention-guide)

A practical guide for small retailers and warehouses to compute their shrink rate, design an ABC-based cycle count program, book shrinkage adjustments to the ledger, and turn variance patterns into loss-prevention action.

Mike Thrift

inventory small-business fraud-prevention

May 17, 2026 10 min read

## [The Quiet Margin Leak: How Retailers and Warehouses Measure Shrinkage and Fix It With Cycle Counting](https://beancount.io/blog/2026/05/17/inventory-shrinkage-cycle-counting-retailers-warehouses-shrink-rate-abc-analysis-perpetual-count-journal-entry-guide)

Inventory shrinkage is the gap between recorded and physical stock. This guide explains how to calculate a shrink rate, why cycle counting and ABC analysis beat the annual physical count, and how to record the adjustment with a dedicated expense account.

Mike Thrift

inventory cost-of-goods-sold journal-entries

May 17, 2026 10 min read

## [Lower of Cost or Net Realizable Value: How to Write Down Obsolete Inventory](https://beancount.io/blog/2026/05/17/lower-of-cost-net-realizable-value-lcnrv-inventory-write-down-obsolete-damaged-stock-nrv-calculation-asc-330-balance-sheet-guide)

LCNRV requires reporting inventory at the lower of its cost or net realizable value (NRV = selling price − completion costs − selling costs). Once written down under U.S. GAAP, inventory cannot be written back up.

Mike Thrift

inventory accounting-basics financial-reporting

May 17, 2026 13 min read

## [Lower of Cost or Net Realizable Value (LCNRV): How to Write Down Obsolete Inventory and Stop Overstating Your Balance Sheet](https://beancount.io/blog/2026/05/17/lower-of-cost-or-net-realizable-value-lcnrv-write-down-obsolete-damaged-inventory-year-end-calculate-nrv-balance-sheet-guide)

A practical walkthrough of the LCNRV rule under ASC 330 — how to calculate net realizable value, book the write-down, handle obsolete or damaged inventory, and avoid the phantom-profit trap of overstated inventory on the balance sheet.

Mike Thrift

inventory accounting-basics financial-reporting

May 17, 2026 10 min read

## [Sales Returns, Allowances, and Contra-Revenue Accounting: How to Record Refunds Without Inflating Your Gross Margin](https://beancount.io/blog/2026/05/17/sales-returns-allowances-contra-revenue-accounts-asc-606-refund-liability-gross-margin-guide)

A walkthrough of how to record sales returns, allowances, and discounts as contra-revenue accounts under ASC 606, including the refund liability journal entries, sales tax reversal, and the gross-margin effects most small businesses miss.

Mike Thrift

revenue-recognition journal-entries e-commerce

May 17, 2026 9 min read

## [Standard Costing and Variance Analysis: A Manufacturer's Guide](https://beancount.io/blog/2026/05/17/standard-costing-variance-analysis-manufacturers-material-price-quantity-labor-rate-efficiency-overhead-variances-guide)

Standard costing assigns a predetermined cost to each product, then measures the gap against actual results. This guide shows how to set defensible standards and calculate material, labor, and overhead variances to drive pricing and purchasing decisions.

Mike Thrift

accounting manufacturing cost-management

May 16, 2026 12 min read

## [Section 471(c) Inventory Exception: The $32M Rule That Lets Small Businesses Skip UNICAP](https://beancount.io/blog/2026/05/16/section-471c-small-business-inventory-exception-32-million-gross-receipts-unicap-non-incidental-materials-supplies-form-3115-guide)

For tax year 2026, businesses with a three-year average of gross receipts at or below $32 million can elect Section 471(c) to skip UNICAP, treat inventory as non-incidental materials and supplies, and file Form 3115 — often producing a one-time Section 481(a) deduction in the year of change.

Mike Thrift

tax small-business inventory

May 15, 2026 10 min read

## [How to Design a Chart of Accounts That Tells You Something](https://beancount.io/blog/2026/05/15/chart-of-accounts-design-numbering-sub-accounts-dimensions-departments-avoid-bloat-small-business-guide)

A bloated chart of accounts with 200 entries hides profit instead of revealing it. Most small businesses need 30 to 60 accounts, numbered in family blocks with gaps, with COGS separated from operating expenses and departments tracked as dimensions rather than duplicated accounts.

Mike Thrift

accounting-basics small-business bookkeeping

May 15, 2026 9 min read

## [Restaurant Prime Cost: Why Weekly Tracking Beats the Monthly Close](https://beancount.io/blog/2026/05/15/restaurant-prime-cost-weekly-tracking-food-beverage-labor-55-65-percent-benchmark-theoretical-actual-variance-guide)

Prime cost combines food, beverage, and labor as a percentage of sales—target 55–60% for quick-service and 60–65% for full-service. Tracking it weekly instead of monthly catches portioning and scheduling problems within seven days, while a 4% food cost variance on $1M in sales quietly costs $40,000 a year.

Mike Thrift

small-business profit-margins cost-of-goods-sold

May 15, 2026 11 min read

## [Weekly Prime Cost Tracking for Restaurants: Hit the 55–65% Benchmark and Catch Margin Leaks Before Month-End](https://beancount.io/blog/2026/05/15/weekly-prime-cost-tracking-restaurants-food-beverage-labor-55-65-percent-benchmark-margin-leaks-operators-guide)

A working operator's guide to calculating restaurant prime cost every seven days, the 55–65% benchmark by service segment, the five leaks weekly tracking surfaces first, and the bookkeeping setup the cadence requires.

Mike Thrift

restaurant cost-of-goods-sold profit-margins

[Start Free→](https://beancount.io/sign-up/?next=%2Fledger%2F) [Documentation](https://beancount.io/docs)

## Where to look next

- [Sitemap](https://beancount.io/sitemap.xml) - all pages with hreflang alternates
- [LLMs index](https://beancount.io/llms.txt) - curated links for AI agents (also /llms-full.txt for full docs)
- [Documentation](https://beancount.io/docs) - every doc is also available as text/markdown via .md suffix or Accept negotiation
- [REST API reference](https://beancount.io/docs/api-reference) - interactive endpoints, schemas, authentication, and code samples
- [OpenAPI spec](https://beancount.io/openapi.json) - OpenAPI 3.1 spec for this website's public content endpoints; the product contract for ledger operations is at https://beancount.io/api-gateway/v1/openapi.json
- [GraphQL](https://beancount.io/graphql) - public, read-only content API over the blog and research logs (no credentials, no ledger data): 12 query fields over 23 types
- [MCP server](https://beancount.io/mcp) - Model Context Protocol at https://beancount.io/api-gateway/mcp
