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

## [E-Commerce Inventory Accounting With 3PLs and Multi-Channel Fulfillment](https://beancount.io/blog/2026/05/14/ecommerce-inventory-accounting-3pl-multi-channel-fulfillment-landed-cost-fba-reserved-inventory-marketplace-settlement-reconciliation-phantom-cogs-guide)

How online sellers allocate landed costs across SKUs, track FBA reserved inventory across fulfillment centers, reconcile marketplace settlements line by line, and prevent phantom COGS adjustments at year-end across 3PLs and multi-channel fulfillment.

Mike Thrift

inventory e-commerce amazon

May 14, 2026 10 min read

## [E-Commerce Inventory Accounting With 3PLs and Multi-Channel Fulfillment: How Online Sellers Allocate Landed Costs, Track FBA Reserved Inventory, Reconcile Marketplace Settlements, and Avoid Phantom COGS at Year-End](https://beancount.io/blog/2026/05/14/ecommerce-inventory-accounting-3pls-multi-channel-fulfillment-landed-costs-fba-reserved-marketplace-settlements-phantom-cogs-guide)

Multi-channel sellers routinely lose 22 margin points to phantom COGS — unallocated landed costs, FBA reserved inventory, and netted marketplace settlements posted as revenue. A four-step playbook to keep e-commerce books honest from supplier invoice to year-end true-up.

Mike Thrift

e-commerce inventory cost-of-goods-sold

May 13, 2026 11 min read

## [Section 263A UNICAP: When Small Businesses Must Capitalize Indirect Costs Into Inventory](https://beancount.io/blog/2026/05/13/section-263a-unicap-inventory-capitalization-small-business-32-million-threshold-direct-indirect-costs-form-3115-guide)

Section 263A forces producers and resellers above the $32 million 2026 gross-receipts threshold to capitalize warehouse rent, purchasing, and mixed service costs into inventory. Here is how the exemption, simplified methods, and Form 3115 method changes actually work.

Mike Thrift

tax tax-compliance inventory

May 11, 2026 14 min read

## [Inventory Accounting Methods Compared: FIFO, LIFO, Weighted Average, and Specific Identification for Small Businesses](https://beancount.io/blog/2026/05/11/inventory-accounting-methods-fifo-lifo-weighted-average-specific-identification-small-business-2026-guide)

A practical comparison of FIFO, LIFO, weighted average, and specific identification — with IRS rules, Form 970 and Form 3115 mechanics, the LIFO conformity trap, and a five-step framework for picking the right inventory method in 2026.

Mike Thrift

inventory accounting small-business

May 10, 2026 12 min read

## [Section 263A UNICAP Rules: How Small Manufacturers and Resellers Decide Which Costs Hit the P\&L Now vs. Sit in Inventory](https://beancount.io/blog/2026/05/10/section-263a-unicap-rules-small-manufacturers-resellers-inventory-production-costs-capitalize-expense-guide)

Section 263A UNICAP forces producers and resellers to attach indirect costs — rent, supervisor wages, depreciation — to inventory rather than expense them. This guide covers the 2026 $32M small-business exemption, the simplified production and resale methods, Form 3115 and the 481(a) adjustment, and the personnel-allocation mistakes that draw IRS attention.

Mike Thrift

tax tax-compliance inventory

May 7, 2026 10 min read

## [Section 280E: How Cannabis Businesses Survive a 70% Effective Tax Rate](https://beancount.io/blog/2026/05/07/section-280e-cannabis-business-tax-cogs-effective-rate-70-percent-guide)

Section 280E bars cannabis businesses from deducting ordinary expenses, pushing federal effective tax rates past 70%. A walkthrough of the math, the COGS lever under Section 471, key Tax Court rulings (CHAMP, Olive, Harborside), and what 2026 rescheduling could change.

Mike Thrift

tax tax-compliance tax-planning

May 1, 2026 11 min read

## [Restaurant Accounting Demystified: Prime Cost, Tip Pooling, and COGS](https://beancount.io/blog/2026/05/01/restaurant-accounting-prime-cost-tip-pooling-cogs-guide)

A working guide to the three numbers that decide whether a restaurant makes money — prime cost, food and beverage COGS, and tip pooling — with 2026 benchmarks, FLSA rules, and a weekly accounting cadence.

Mike Thrift

restaurant accounting cost-of-goods-sold

April 16, 2026 11 min read

## [Bookkeeping for Amazon Sellers: The Complete Guide](https://beancount.io/blog/2026/04/16/bookkeeping-for-amazon-sellers-complete-guide)

A practical guide to Amazon FBA bookkeeping—covering settlement report reconciliation, FBA fee deductions, COGS calculation, multi-state sales tax nexus, inventory tracking, and quarterly estimated taxes.

Mike Thrift

bookkeeping amazon e-commerce

April 15, 2026 9 min read

## [Profit Margin: The Complete Guide for Small Business Owners](https://beancount.io/blog/2026/04/15/profit-margin-complete-guide-for-small-business-owners)

Learn how to calculate gross, operating, and net profit margins, what counts as a healthy margin by industry, and six proven strategies to improve your bottom line.

Mike Thrift

profit-margins profitability small-business

April 14, 2026 9 min read

## [The Income Statement Explained: A Complete Guide for Small Business Owners](https://beancount.io/blog/2026/04/14/income-statement-complete-guide-for-small-business-owners)

A line-by-line breakdown of the income statement for small business owners — covering revenue, COGS, gross profit, operating income, and net income, plus key ratios and the five most common mistakes that distort results.

Mike Thrift

small-business financial-statements accounting-basics

April 10, 2026 8 min read

## [How to Calculate Profit Margin: The Complete Guide for Small Business Owners](https://beancount.io/blog/2026/04/10/how-to-calculate-profit-margin-the-complete-guide-for-small-business-owners)

Gross, operating, and net profit margin explained with formulas, industry benchmarks, and worked examples—so small business owners can measure and improve true profitability.

Mike Thrift

profit-margins profitability small-business

April 3, 2026 9 min read

## [FIFO Inventory Method: What It Is, How It Works, and When to Use It](https://beancount.io/blog/2026/04/03/fifo-first-in-first-out-inventory-method-guide)

US FIFO inventory: calculate COGS and ending inventory, compare FIFO vs LIFO, and know when IRS rules favor each method.

Mike Thrift

accounting small-business inventory

[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
