# 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 29, 2026 16 min read

## [Scratch Bakery Bookkeeping: Recipe Cards, Shrink, Wholesale Margins, and Custom Cake Deposits](https://beancount.io/blog/2026/05/29/retail-wholesale-bakery-bookkeeping-standard-recipe-cards-ingredient-yield-day-old-shrink-walk-in-retail-vs-wholesale-cafe-margin-profiles-custom-cake-deposits-asc-606-cottage-food-law-sales-tax-prepared-food-guide)

A bookkeeping guide for scratch bakeries covering standard recipe cards, ingredient yield, day-old shrink, retail vs. wholesale margin separation, ASC 606 deposit accounting for custom cakes, cottage food law revenue caps, and sales tax on prepared food.

Mike Thrift

bookkeeping small-business restaurant

May 26, 2026 11 min read

## [The Independent Used Car Dealer's Bookkeeping Playbook: Floorplan Notes, F\&I Chargeback Reserves, Recon WIP, and the Buyers Guide That Costs $51,744 to Get Wrong](https://beancount.io/blog/2026/05/26/independent-used-car-dealer-bookkeeping-floorplan-financing-curtailment-fi-reserve-holdback-chargeback-recon-wip-form-8300-ftc-used-car-rule-bhph-repossession-loss-reserve-guide)

How independent used car dealers should book floorplan notes payable, capitalize reconditioning costs under IRC 263A, estimate F\&I chargeback reserves under ASC 606, track BHPH notes receivable, and stay compliant with the FTC Buyers Guide rule and IRS Form 8300.

Mike Thrift

bookkeeping inventory revenue-recognition

May 23, 2026 12 min read

## [Laundromat Bookkeeping: Coin, Card, and Mobile-Pay Reconciliation, Utility COGS, and Section 179](https://beancount.io/blog/2026/05/23/laundromat-coin-op-self-service-laundry-bookkeeping-coin-card-mobile-pay-reconciliation-water-sewer-gas-electric-cogs-wash-dry-fold-pickup-delivery-section-179-cash-controls-guide)

A bookkeeping framework for coin-op and wash-dry-fold laundromats — channel-separated revenue, utilities tracked as COGS, per-machine profitability, Section 179 timing on equipment refreshes, and cash controls that surface both theft and failing machines.

Mike Thrift

bookkeeping small-business cash-flow

May 19, 2026 18 min read

## [Auto Repair Shop Bookkeeping: Flat-Rate Hours, Parts Matrix, Comebacks, Warranty AR, and EPA Fees](https://beancount.io/blog/2026/05/19/auto-repair-shop-bookkeeping-flat-rate-vs-clock-hours-parts-matrix-markup-comeback-warranty-receivables-sublet-epa-hazmat-shop-supplies-effective-labor-rate-guide)

Independent auto repair shops earn from labor, parts, sublet work, and environmental fees — each with different margins and bookkeeping rules. This guide builds a chart of accounts that separates flat-rate labor from clock hours, applies a tiered parts markup matrix targeting 55–58% gross profit, tracks comeback expense and warranty receivables aging, codes sublet work cleanly, and records EPA hazmat and shop supply fees as their own revenue and cost lines.

Mike Thrift

bookkeeping small-business chart-of-accounts

May 19, 2026 17 min read

## [Jewelry Store Bookkeeping: SKU-Level Costing, Memo Goods, Layaway, and Form 8300](https://beancount.io/blog/2026/05/19/jewelry-store-bookkeeping-independent-jewelers-per-piece-sku-costing-lower-of-cost-or-market-memo-consignment-goods-repair-custom-revenue-layaway-deferred-revenue-form-8300-cash-reporting-guide)

A working playbook for independent jewelers covering per-piece SKU costing, lower-of-cost-or-market write-downs on metal price drops, memo and consignment inventory, ASC 606 repair and custom revenue, layaway deposit liabilities, and Form 8300 cash reporting without triggering structuring allegations.

Mike Thrift

bookkeeping inventory consignment-accounting

May 19, 2026 11 min read

## [Markup vs. Margin: The Pricing Mistake That Quietly Costs Small Businesses 7 Points of Profit on Every Sale](https://beancount.io/blog/2026/05/19/markup-vs-margin-retailers-contractors-restaurants-target-gross-margin-pricing-conversion-formulas-stop-underpricing-jobs-guide)

Markup and margin share a numerator but not a denominator, and the gap can quietly cost a contractor $99,000 a year. A plain-language guide to the conversion math, a target-margin lookup table, and why retailers, contractors, and restaurants keep underpricing jobs.

Mike Thrift

pricing-strategies profit-margins small-business

May 19, 2026 12 min read

## [Optometry Practice Bookkeeping: Medical vs. Vision Billing, Inventory, and Practice-Value KPIs](https://beancount.io/blog/2026/05/19/optometry-practice-bookkeeping-vsp-eyemed-davis-vision-billing-frames-contact-lens-inventory-medical-routine-coordination-of-benefits-revenue-per-exam-capture-rate-guide)

Independent optometry practices earn from five distinct profit centers — routine vision plans, medical insurance, frames, lenses, and contact lenses — each with different margins and billing pathways. This guide shows how to build a chart of accounts that separates VSP/EyeMed routine revenue from medical billing, capitalize frame inventory, treat contact lens supplies as deferred revenue under ASC 606, and surface the KPIs (revenue per exam, optical capture rate, normalized EBITDA) that lenders and acquirers ask about.

Mike Thrift

bookkeeping healthcare chart-of-accounts

May 18, 2026 9 min read

## [Brewery Bookkeeping: Cost Per Barrel, TTB Excise Tax, and the Shrinkage That Makes COGS Lie](https://beancount.io/blog/2026/05/18/bookkeeping-breweries-craft-beer-producers-production-chart-of-accounts-cost-per-barrel-ttb-excise-tax-taproom-shrinkage-cogs-guide)

How to build a craft brewery's books so cost of goods sold tells the truth—a production chart of accounts, a true cost-per-barrel formula using net barrels, TTB excise tax rates ($3.50/barrel on the first 60,000), and the 3–8% shrinkage that inflates margin if ignored.

Mike Thrift

bookkeeping small-business inventory

May 18, 2026 11 min read

## [Bookkeeping for Interior Designers: Retainers, Markup, and the Hidden Math That Keeps Your P\&L Honest](https://beancount.io/blog/2026/05/18/bookkeeping-interior-designers-client-retainers-liability-product-markup-procurement-orders-revenue-recognition-stop-double-counting-income-guide)

Interior design firms run four revenue streams through one chart of accounts and end up paying tax on phantom profits. Treat retainers as a liability, run products through revenue and COGS together, book vendor cost as COGS (never list price), and reconcile every PO before close.

Mike Thrift

bookkeeping creative-industries revenue-recognition

May 18, 2026 14 min read

## [Distillery Accounting and TTB Bonded Inventory: A Craft Distiller's Guide to Proof Gallons, Excise Tax, and Form 5110.40](https://beancount.io/blog/2026/05/18/distillery-accounting-ttb-bonded-inventory-craft-distillers-proof-gallons-excise-tax-cbma-reduced-rates-form-5110-40-cogs-aging-barrels-guide)

How craft distilleries should account for bonded inventory, capitalize aging costs, and reconcile TTB Form 5110.40 to the general ledger — including the $2.70 CBMA reduced rate, controlled-group traps, and why federal excise tax belongs in COGS, not operating expense.

Mike Thrift

manufacturing inventory tax-compliance

May 18, 2026 9 min read

## [Markup Versus Margin: The Pricing Math Small Businesses Get Wrong](https://beancount.io/blog/2026/05/18/markup-versus-margin-pricing-math-small-businesses-get-wrong-convert-between-why-50-percent-markup-not-50-percent-margin-guide)

A 50% markup is a 33.3% margin, not a 50% margin — markup divides profit by cost, margin divides it by selling price. This guide gives the conversion formulas, a reference table, and shows how the mix-up quietly costs small businesses thousands.

Mike Thrift

pricing-strategies profit-margins profitability

May 18, 2026 13 min read

## [Vending Machine Route Bookkeeping: Reconciling Cash, Tracking COGS, and Knowing the True Profit of Every Location](https://beancount.io/blog/2026/05/18/vending-machine-route-bookkeeping-reconcile-cash-telemetry-cogs-site-commissions-per-machine-profit-per-location-guide)

How to keep books for a vending route at the machine level — reconciling DEX cash counters against deposits, tracking COGS and site commissions per location, and computing the contribution margin that tells you which machines to keep, optimize, or pull.

Mike Thrift

bookkeeping small-business reconciliation

[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
