Beancount.io LogoBeancount.io

Scratch Bakery Bookkeeping: Recipe Cards, Shrink, Wholesale Margins, and Custom Cake Deposits

17 min readMike ThriftMike Thrift
Scratch Bakery Bookkeeping: Recipe Cards, Shrink, Wholesale Margins, and Custom Cake Deposits

A scratch bakery is one of the few businesses where a five-pound bag of flour can become a $4 pastry, a $48 wholesale tray, or a $0 day-old donation — all from the same batch, in the same eight-hour shift, and all booked in completely different ways. That is exactly why bakery bookkeeping breaks generic small-business templates within the first week of operation.

If you keep books for a scratch bakery, a wholesale production shop, or a hybrid retail-and-café operation that also sells to restaurants, the cost flows have to mirror the way flour, butter, sugar, and labor actually move through the kitchen. Treat ingredients as a generic monthly expense and you will under-price your custom cakes, over-pay your taxes, and find yourself unable to explain why a 60-gross-margin retail bakery is somehow running out of cash every Friday.

This guide walks through the bookkeeping mechanics that scratch bakeries and pastry shops actually live with: building standard recipe cards that survive a flour price change, tracking ingredient yield and daily shrink from day-olds and donations, separating walk-in retail revenue from wholesale café and restaurant accounts on completely different margin profiles, deferring custom cake and catering deposits as liabilities until the event, and coordinating health department fees and cottage-food-law limits with sales tax on prepared food.

Why Bakery Bookkeeping Is Different From Other Food Service

A typical restaurant turns inventory over in two or three days and prices on a single per-plate margin. A scratch bakery does something stranger: it converts the same base ingredients into three or four product families, each with its own price ceiling, shelf life, and customer.

A cinnamon roll baked at 5 a.m. can be sold:

  • At full retail price across the counter until noon.
  • At a 30% "afternoon" markdown from 3 p.m. to closing.
  • To a coffee shop wholesale account the next morning at half retail.
  • As a same-day donation to a food bank — claimed at cost basis under Internal Revenue Code Section 170(e)(3) if the bakery is a C corporation that meets the enhanced deduction requirements.

If your books treat all four outcomes the same, you have no way to tell whether your retail counter is subsidizing your wholesale route or vice versa. Most struggling bakeries find out the answer is "yes, and badly" only after they have already signed wholesale contracts that lock them into the wrong margin.

Build Standard Recipe Cards That Drive Your Cost of Goods Sold

The foundation of bakery bookkeeping is the standard recipe card — sometimes called a recipe cost card. It is the single artifact that ties your kitchen to your general ledger. A useful card contains:

  • Every ingredient by weight (grams or ounces), not volume.
  • The current "as purchased" cost per unit for each ingredient.
  • A yield factor that converts as-purchased to edible-portion cost.
  • A direct labor allocation in minutes per batch, costed at fully burdened wage.
  • A packaging line: box, pad, sticker, ribbon, sleeve, bakery tissue.
  • An overhead allocation expressed as a percentage of prime cost.
  • The portions yielded per batch and the resulting cost per portion.

Industry consensus is that ingredient cost should land in the 25–35% range of retail selling price for most baked goods, with decorated and custom cakes often pulling lower at 18–25% because labor and skill dominate. A recipe card that ignores yield loss and packaging will quietly understate cost by five to ten percentage points, which is the entire difference between profit and slow bleed.

Yield Testing Is Not Optional

Yield testing is the process of weighing what you actually get after trim, peel, evaporation, scoring waste, and edge trim. For a bakery the most common yield gaps show up in:

  • Butter and laminated doughs: croissant dough loses roughly 8–12% mass to lamination trim that goes into the scrap bin or palmiers.
  • Whipped cream and meringue: volume yield depends on overrun and changes with humidity.
  • Fruit purees and reductions: water loss can be 30–50% of original weight.
  • Sourdough: hydration evaporation during proof and bake is typically 12–18% of mixed dough weight.

The "as purchased" cost (AP) and the "edible portion" cost (EP) are two different numbers, and only the EP belongs in your recipe card. Build a yield test log once per quarter for the twenty ingredients that dominate your spend, and update the EP cost on the card. Skipping this step is the single most common reason bakery cost cards drift away from reality.

Update Costs When Commodity Prices Move

Wheat, butter, eggs, and cocoa do not move in lockstep, and they do not move with overall food inflation either. Bureau of Labor Statistics data shows bakery product prices climbed faster than headline CPI for most of the past several years, driven by wheat futures, egg-laying flock supply, and dairy fat markets. If you only re-cost recipes once a year at budget time, you will spend the back half of every year selling at a price you set when butter was 40% cheaper.

The bookkeeping workflow that catches this is straightforward: when a major ingredient invoice arrives at a unit cost that differs from the recipe card by more than 5%, flag it. Recost the affected recipes, then decide whether to absorb the change, change the menu price, or shrink the portion. Documenting which option you chose, in writing, gives your accountant a defensible story when margins compress.

Track Daily Shrink From Day-Olds, Donations, and Staff Meals

Shrink is the gap between what you produced and what you sold at full price. In a bakery, shrink has four distinct buckets that should each have their own general ledger account or sub-account:

  • Day-old markdowns: items moved to a reduced-price rack or "bread bin" before closing.
  • Donations: full-cost items given to food banks, shelters, or rescue programs.
  • Staff meal and family pack: items consumed by employees or sent home as part of compensation.
  • Outright waste: items that fall on the floor, burn, or otherwise leave inventory without revenue.

Keeping these separate matters because they have different tax and management implications.

A donation to a qualified 501(c)(3) is potentially deductible at cost basis, and in some C-corp cases at an enhanced amount equal to cost plus half the appreciation up to twice cost under IRC Section 170(e)(3). Pass-through entities (sole proprietorships, partnerships, S corporations) usually deduct only the cost basis but still want the donation tracked separately so it does not get tangled up with retail markdown.

Staff meal is generally deductible as an employee benefit when it meets the "convenience of the employer" tests under IRC Section 119. Booking it the same way you book burned-loaf waste will eventually attract an examiner's questions.

Outright waste should be its own line item because it is your operating-quality signal. A scratch bakery that runs over 3% true waste of total production cost has a training or scheduling problem, not a pricing problem. You cannot see it if shrink is one undifferentiated bucket.

A Daily Shrink Worksheet That Actually Gets Filled Out

The shrink log only works if the closing baker can complete it in five minutes. The minimum fields are date, item, quantity, disposition (markdown, donation, staff, waste), and reason. Tally weekly. Post a monthly journal entry that moves the cost basis from inventory into the four separate expense accounts above. If your point-of-sale system already books markdown revenue at the lower price, you do not need to re-handle that part; you only need the journal entry for items that left inventory without any revenue at all.

Separate Walk-In Retail From Wholesale and Café Accounts

Retail-only bakeries can survive with one revenue account. The moment you sign your first wholesale account — a café that wants your croissants three mornings a week, a restaurant that wants your sourdough boules for table service, a grocer who wants your pies on consignment — your chart of accounts has to grow.

At minimum, separate revenue into:

  • Walk-in retail (full menu price)
  • Wholesale standing orders (contracted weekly volume at wholesale pricing)
  • Wholesale spot orders (one-off restaurant or caterer pickups)
  • Custom cake and special order (deposit-driven, event-dated)
  • Catering and event (full-service delivery and setup)
  • Online and shipping (direct-to-consumer e-commerce)

Each of these has a distinct gross margin profile. Retail typically runs 55–65% gross margin after recipe cost, packaging, and direct labor. Standing wholesale runs 30–45% because the price is lower and the delivery labor and route cost are pulled in. Custom cake can hit 65–75% gross because labor recovery is excellent when priced correctly, but it consumes scheduling and refrigeration capacity that hurts the rest of the production day. Catering depends almost entirely on whether you priced the setup labor, the rental delivery, and the disposable service ware.

When all of this lives in a single "Sales" account, you can hit 50% blended gross margin and have no idea that your wholesale route is actually running at 28% while your retail counter is running at 62%. The right answer is almost never "drop wholesale" — it is usually "raise wholesale prices, change delivery frequency, or pick up volume to cover the route cost." You cannot make that call without the data.

Match Cost of Goods Sold to the Revenue Buckets

Splitting revenue without splitting cost is half the work. Each revenue bucket needs its own COGS account, fed by the recipe cards and the production schedule. Many small bakeries do this with departmental codes in their accounting software so that the same flour purchase can be allocated across departments by production volume at month end. The journal entry is mechanical: starting raw inventory, plus purchases, minus ending inventory, allocated by department on a production-pound basis or by a standing percentage that the owner updates quarterly.

Defer Custom Cake and Catering Deposits as Liabilities

When a customer pays a 50% deposit in March for a June wedding cake, that deposit is not revenue. Under Accounting Standards Codification Topic 606 ("Revenue from Contracts with Customers"), revenue is recognized when the performance obligation is satisfied — for a wedding cake, that is the date the cake is delivered. Until then, the deposit sits on the balance sheet as a contract liability (the modern term that replaced "deferred revenue").

The mechanics:

  1. Deposit received March 1: Debit Cash, Credit Customer Deposits (liability).
  2. Final payment received June 15: Debit Cash, Credit Customer Deposits.
  3. Cake delivered June 20: Debit Customer Deposits, Credit Cake Sales Revenue, and book the COGS on the same day.

Two things go wrong when bakeries skip this. First, monthly profit and loss statements show revenue spikes in deposit months and losses in delivery months, which destroys any meaningful trend analysis. Second, sales tax timing gets confused — most states tax the prepared-food sale on the delivery date, not the deposit date. Treating the deposit as immediate revenue can trigger early sales tax remittance and a refund hassle if the order is cancelled.

Refundable, Non-Refundable, and Partial Forfeit

Build your deposit policy into your booking contract and your accounting at the same time. A common structure:

  • 50% non-refundable booking deposit, due at order placement.
  • Balance due 14 days before the event date.
  • Cancellation more than 30 days out: full refund minus a stated design fee.
  • Cancellation 14–30 days out: deposit forfeit, balance refundable.
  • Cancellation under 14 days: full payment forfeit.

When a cancellation forfeits a deposit, the liability becomes revenue on the cancellation date — recognized as "forfeited deposit revenue" in a separate line so you can track how often this happens. If forfeits are running over 5% of bookings, your booking process is over-promising on flexibility.

Track Ingredient Inventory With Periodic Counts, Not Perpetual

A boutique bakery does not need perpetual inventory software. The unit cost of a 50-pound bag of bread flour is too low and the count volatility too high — humidity alone can change the weight on the scale.

What works:

  • A weekly count of high-value items: butter, dairy, chocolate, fondant, specialty flours, premium fruits, packaging.
  • A monthly count of staples: bread flour, sugar, salt, yeast, eggs.
  • A physical inventory at quarter end for tax and lender purposes.

The general ledger uses the periodic inventory formula: beginning inventory plus purchases minus ending inventory equals cost of goods sold for the period. You journalize the change once per period rather than tracking every cup of sugar. This is the same approach restaurants use and it is well understood by tax preparers familiar with Schedule C, Form 1120, or Form 1065.

If you operate as a C corporation or have over $30 million in average gross receipts (the 2026 indexed threshold for the small-business taxpayer exception under IRC Section 471(c)), you have additional inventory accounting requirements including uniform capitalization under Section 263A. Most independent bakeries fall under the small-business exception and can use a simpler method that matches their books.

Coordinate Health Department Fees, Cottage Food Limits, and Licensing

Health permitting is an ongoing operating expense, not a one-time setup cost. Most jurisdictions charge:

  • An annual food establishment permit (commonly $100–$1,500 depending on seating, square footage, and risk category).
  • Re-inspection fees when a violation requires a return visit.
  • Plan review fees for any kitchen modification, hood installation, or new piece of equipment.
  • Food handler card or food protection manager certification fees per employee, renewable on a 3- or 5-year cycle.
  • Septic or grease interceptor permits in many municipalities.

Book the annual permit as a prepaid expense at the start of the permit year and amortize monthly. Book re-inspection fees and corrective work in the period incurred. Track food handler certifications by employee in a separate spreadsheet so you can answer the inspector's question on the spot and budget for renewal cycles.

Cottage Food Law Limits If You Are Selling From Home

A cottage food operation — a home-based baker selling shelf-stable baked goods — operates under state cottage food laws that have changed substantially in the last two years. The rules vary by state but generally cover:

  • A revenue cap that triggers conversion to a licensed commercial kitchen. As of 2026, caps range from no limit (Kansas) to $25,000–$50,000 in most states, with several states raising caps in 2025 and 2026 (Texas to $150,000, Vermont to $30,000, Michigan to $50,000, Washington to $35,000).
  • Allowed product lists, almost always limited to non-time/temperature-control-for-safety foods. Standard breads, cookies, dry mixes, jams, and decorated cakes without cream cheese frosting are usually allowed; anything with custard, fresh fruit topping, or unstable cream filling is usually not.
  • Sales channel limits: many states allow only direct-to-consumer, with some 2025 and 2026 amendments now permitting online sales and third-party delivery.
  • Labeling rules that require the producer name, address, ingredients, allergen statement, and a clear "made in a home kitchen" disclosure.

For bookkeeping, the cottage food question is mostly about preparing for the transition. If you are approaching 70% of your state's revenue cap, build a written transition plan: a commercial kitchen lease or rental, the additional permits, the equipment depreciation schedule, and the projected pricing changes. Surprise transitions are expensive because they usually happen mid-year and force you to close to consumers while you finish permitting.

Sales Tax on Prepared Food

Sales tax on bakery items is one of the most state-specific topics in food service. The rough buckets:

  • Items sold for off-premise consumption, unheated, without utensils: usually treated as grocery food and either exempt or taxed at a reduced grocery rate.
  • Items sold heated, with utensils, or for on-premise consumption: usually taxed at the full prepared-food rate.
  • Decorated cakes, custom orders, and catering: usually fully taxable as prepared food regardless of where consumed.
  • Wholesale to a reseller: not taxable, but requires you to hold a valid resale certificate on file for each wholesale account.

The "with utensils" rule matters more than most bakeries realize. If you provide a fork with a slice of cake, the entire transaction can shift from grocery-exempt to fully taxable in many states. Some states use a bright-line rule (over 75% prepared-food sales means everything you sell is prepared food); others apply line-by-line. The simplest way to keep your sales tax filing clean is to configure your point-of-sale system with separate tax codes for each product family, audit it quarterly, and keep the configuration documented so a successor bookkeeper can reproduce it.

For wholesale accounts, collect the resale certificate before the first shipment and re-verify annually. Sales tax auditors will assess back tax plus penalty on any wholesale sale where the resale certificate is missing, expired, or invalid even if the buyer remitted the tax themselves.

Build a Monthly Closing Routine That Actually Closes

A bakery month-end close does not need to be complicated, but it does need to be consistent. The minimum routine:

  1. Reconcile bank, credit card, and merchant processor statements.
  2. Count ingredient and packaging inventory; post the periodic inventory adjustment.
  3. Move the cost basis of donated and waste items from inventory to expense.
  4. Recognize revenue on completed custom orders; verify deposit liability balance against the open-order list.
  5. Accrue payroll, payroll tax, and tip distribution through the period-end date.
  6. Confirm sales tax collected matches the sales tax liability account; prepare the state return.
  7. Allocate utility, rent, and insurance to retail vs. wholesale departments using the agreed-upon percentage.
  8. Review the gross margin by revenue bucket; flag any bucket that moved more than two percentage points from the trailing three-month average.

Closing this way once a month means the owner sees real numbers within ten days of period end. Closing it quarterly or "when the accountant has time" means decisions get made on gut feel for three months at a stretch, which is exactly when small problems become structural.

Keep Your Bakery's Books Ready for Audit, Tax, and Growth

Accurate bakery bookkeeping is not just a tax-time chore. It is what tells you whether to take on the new wholesale account, whether to add a Sunday baker, whether to raise the croissant price by fifty cents, and whether the new oven will pay for itself before the lease ends. A scratch bakery operates on five-point margins; you cannot navigate that with month-old numbers or a single undifferentiated "Sales" line.

Keep Your Bakery's Financial Records Clean From Day One

Whether you are scaling a single retail storefront, adding wholesale routes, or transitioning out of a cottage food operation into a licensed kitchen, the bookkeeping needs to keep pace with the kitchen. Beancount.io provides plain-text accounting that gives bakery owners full transparency over recipes, departments, deposits, and inventory — every entry version-controlled, every report reproducible, and every account auditable without vendor lock-in. Get started for free and see why bakery owners, accountants, and developers are switching to plain-text accounting that grows with the business. For technical setup details, browse the documentation, and for a visual dashboard over your ledger, check out Fava.