Business Tax Preparation · Business Income
Cost of goods sold
tax year · reviewed 2026-08-21 · Draft for N. O. review
The arithmetic is trivial and never the point. Cost of goods sold is beginning inventory plus purchases and production costs less ending inventory, and every question worth asking is about what belongs in one of those three figures — which goods, which costs, and at what value.
The rule
When an inventory is required. Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 (Reg. § 1.471-1(a)).
Which goods are in it. Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 (Reg. § 1.471-1(a)). Title, not possession.
The two statutory tests. Verified 2026-08-21Reg. § 1.471-2(a), applying IRC § 471(a); opened at law.cornell.edu/cfr/text/26/1.471-2 and /uscode/text/26/471 (IRC § 471(a), Reg. § 1.471-2(a)).
How it is valued. Verified 2026-08-21Reg. § 1.471-2(c), opened at law.cornell.edu/cfr/text/26/1.471-2 (Reg. § 1.471-2(c)), applied Verified 2026-08-21Reg. § 1.471-2(d), opened at law.cornell.edu/cfr/text/26/1.471-2 (Reg. § 1.471-2(d)). Where goods cannot be traced, Verified 2026-08-21Reg. § 1.471-2(d), opened at law.cornell.edu/cfr/text/26/1.471-2 (Reg. § 1.471-2(d)).
LIFO. Verified 2026-08-21IRC § 472(b), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(b)), available only on the condition that Verified 2026-08-21IRC § 472(c), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(c)), and once taken, Verified 2026-08-21IRC § 472(d) and (e), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(d), (e)).
What must be capitalised into inventory. {fig:cogs.263A_scope} (IRC § 263A(b)), and the costs swept in are {fig:cogs.263A_costs} (IRC § 263A(a)(2)). The exceptions are {fig:cogs.263A_exceptions} (IRC § 263A(c)).
The small business escape. {fig:method.small_263A} (IRC § 263A(i)) and Verified 2026-08-21IRC § 471(c), read at law.cornell.edu/uscode/text/26/471 (IRC § 471(c)), both keyed to Verified 2026-08-21Rev. Proc. 2025-32 § 3.30, read at irs.gov/pub/irs-drop/rp-25-32.pdf; 2025 figure from Rev. Proc. 2024-40 § 3.31, read at irs.gov/pub/irs-drop/rp-24-40.pdf; statutory base at IRC § 448(c)(1), read at law.cornell.edu/uscode/text/26/448 (IRC § 448(c)). Where the exemption applies, Verified 2026-08-21IRC § 471(c)(1)(B), opened at law.cornell.edu/uscode/text/26/471 (IRC § 471(c)(1)(B)).
Current figures
| Item | Rule | Authority |
|---|---|---|
| When inventories are required | Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 | Reg. § 1.471-1(a) |
| Which goods are included | Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 | Reg. § 1.471-1(a) |
| The two tests | Verified 2026-08-21Reg. § 1.471-2(a), applying IRC § 471(a); opened at law.cornell.edu/cfr/text/26/1.471-2 and /uscode/text/26/471 | IRC § 471(a), Reg. § 1.471-2(a) |
| Valuation bases | Verified 2026-08-21Reg. § 1.471-2(c), opened at law.cornell.edu/cfr/text/26/1.471-2 | Reg. § 1.471-2(c) |
| Consistency | Verified 2026-08-21Reg. § 1.471-2(d), opened at law.cornell.edu/cfr/text/26/1.471-2 | Reg. § 1.471-2(d) |
| Commingled goods | Verified 2026-08-21Reg. § 1.471-2(d), opened at law.cornell.edu/cfr/text/26/1.471-2 | Reg. § 1.471-2(d) |
| LIFO mechanics | Verified 2026-08-21IRC § 472(b), opened at law.cornell.edu/uscode/text/26/472 | IRC § 472(b) |
| LIFO conformity | Verified 2026-08-21IRC § 472(c), opened at law.cornell.edu/uscode/text/26/472 | IRC § 472(c) |
| LIFO, once taken | Verified 2026-08-21IRC § 472(d) and (e), opened at law.cornell.edu/uscode/text/26/472 | IRC § 472(d), (e) |
| Property within IRC § 263A | {fig:cogs.263A_scope} | IRC § 263A(b) |
| Costs capitalised | {fig:cogs.263A_costs} | IRC § 263A(a)(2) |
| IRC § 263A exceptions | {fig:cogs.263A_exceptions} | IRC § 263A(c) |
| Small business, IRC § 263A | {fig:method.small_263A} | IRC § 263A(i) |
| Small business, inventories | Verified 2026-08-21IRC § 471(c), read at law.cornell.edu/uscode/text/26/471 | IRC § 471(c) |
| The alternatives available | Verified 2026-08-21IRC § 471(c)(1)(B), opened at law.cornell.edu/uscode/text/26/471 | IRC § 471(c)(1)(B) |
| Gross receipts test, 2026 | Verified 2026-08-21Rev. Proc. 2025-32 § 3.30, read at irs.gov/pub/irs-drop/rp-25-32.pdf; 2025 figure from Rev. Proc. 2024-40 § 3.31, read at irs.gov/pub/irs-drop/rp-24-40.pdf; statutory base at IRC § 448(c)(1), read at law.cornell.edu/uscode/text/26/448 | IRC § 448(c)(1) |
| Gross income of a business | Verified 2026-08-21Reg. § 1.61-3(a), opened at law.cornell.edu/cfr/text/26/1.61-3 | Reg. § 1.61-3(a) |
| Timing of the deduction | Verified 2026-08-21Reg. § 1.61-3(a), opened at law.cornell.edu/cfr/text/26/1.61-3 | Reg. § 1.61-3(a) |
How it works in practice
Cost of goods sold is not a deduction. It is a subtraction in arriving at gross income under Verified 2026-08-21Reg. § 1.61-3(a), opened at law.cornell.edu/cfr/text/26/1.61-3 (Reg. § 1.61-3(a)). The distinction matters because a deduction can be disallowed, limited or suspended, and a cost of goods sold cannot be — but also because Verified 2026-08-21Reg. § 1.61-3(a), opened at law.cornell.edu/cfr/text/26/1.61-3 (Reg. § 1.61-3(a)) applies its own timing rule, so an accrued cost cannot enter the computation before economic performance.
Decide membership by title. Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 (Reg. § 1.471-1(a)). Goods on consignment belong to the consignor’s inventory, however far away they are. Goods in transit belong to whichever party holds title under the terms of sale. Goods merely ordered for future delivery belong to nobody’s inventory. This is the most reliably examined point in the topic and it turns on a fact — where title sits — that the question always supplies.
Then choose a flow assumption, and note that it is a convention. Specific identification traces actual units. FIFO assumes the earliest goods are sold first, so ending inventory holds the latest costs. LIFO assumes the opposite, so ending inventory holds the oldest costs. Average cost divides total cost by total units. None of these needs to match how goods physically move; they are assumptions about cost flow, not about warehouses.
Know what each does in an inflationary period. With rising prices, FIFO leaves the newest and highest costs in ending inventory, which makes ending inventory larger and cost of goods sold smaller — and therefore income higher. LIFO does the reverse: the newest and highest costs go into cost of goods sold, ending inventory holds old low costs, and income is lower. Average cost lands between the two. Reverse the direction of prices and every one of those statements reverses with it, which is why a question must tell you which way prices moved.
LIFO carries conditions the other methods do not. Verified 2026-08-21IRC § 472(c), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(c)) is the one to remember: a business cannot report LIFO to the Internal Revenue Service and FIFO to its bank or its shareholders. And Verified 2026-08-21IRC § 472(d) and (e), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(d), (e)). Adoption is by application, not simply by doing it.
Uniform capitalization sweeps indirect costs into inventory. {fig:cogs.263A_scope} (IRC § 263A(b)) — production of real or tangible personal property, and acquisition of property for resale. Property acquired to be rented out is in neither category, and neither is property produced for the taxpayer’s personal use. {fig:cogs.263A_costs} (IRC § 263A(a)(2)) is broader than the direct costing most businesses use for book purposes, and it is the reason a tax inventory figure often exceeds a book one.
Small businesses are out of both regimes. {fig:method.small_263A} (IRC § 263A(i)) and Verified 2026-08-21IRC § 471(c), read at law.cornell.edu/uscode/text/26/471 (IRC § 471(c)). The same IRC § 448(c) gross receipts test governs both, so a business either has both obligations or neither. Where it has neither, Verified 2026-08-21IRC § 471(c)(1)(B), opened at law.cornell.edu/uscode/text/26/471 (IRC § 471(c)(1)(B)) — and the second alternative is the useful one, because it lets the tax figure simply follow the books.
Three methods, one set of purchases
Wraysbury Fixtures Inc. begins the year with no inventory and buys brass valves as follows: 400 at $4.00 in January, 300 at $4.20 in March, and 200 at $4.30 in June. It has 300 units on hand at the year end.
Total purchases are $1,600 plus $1,260 plus $860, or $3,720, for 900 units.
Under FIFO, the units on hand are the last bought: the 200 from June at $4.30 and 100 from March at $4.20, or $860 plus $420 — $1,280 of ending inventory and $2,440 of cost of goods soldThe direct cost of the products a business actually sold during the year, subtracted from gross receipts to arrive at gross profit..
Under LIFO, the units on hand are the first bought: 300 from January at $4.00 — $1,200 of ending inventory and $2,520 of cost of goods sold.
Under average cost, the unit cost is $3,720 divided by 900, or $4.1333, so ending inventory is $1,240 and cost of goods sold is $2,480.
Prices rose across the year, and the results run in the order the theory predicts: FIFO gives the largest ending inventory and the smallest cost of goods sold, LIFO the reverse, average cost between. The company’s income differs by $80 depending only on the convention it chose.
The goods that were somewhere else
Calbourne Ceramics Ltd’s warehouse count on 31 December finds 4,000 units. Its records also show 600 units at a retailer on consignment, 350 units shipped to a customer on 29 December under terms passing title on shipment, 500 units bought and shipped by a supplier on 30 December under terms passing title on shipment but still in transit, and a purchase order for 900 units to be delivered in February.
Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 (Reg. § 1.471-1(a)). The 600 consigned units stay in: consignment does not pass title. The 350 units shipped to the customer come out: title passed on 29 December. The 500 in transit go in: title passed to Calbourne on 30 December even though nobody has touched them. The 900 on order are excluded — title has not been effected.
Ending inventory is 4,000 plus 600 plus 500, or 5,100 units. A count of the warehouse alone understates it by 1,100 units, and every one of those units would otherwise inflate cost of goods sold and understate income.
The reseller who grew into UNICAP
Denholm Supply Co. is a wholesale distributor. Its average annual gross receiptsA business's total income from its operations before subtracting the cost of goods sold or any other expenses. for the three years ending with 2025 were below the IRC § 448(c) figure, so for 2026 it neither maintains a IRC § 471 inventory nor capitalises under IRC § 263A. It has been treating its stock as non-incidental materials and supplies under IRC § 471(c)(1)(B)(i).
By the three years ending with 2028 its average annual receipts exceed the test. From 2029 it is outside both exemptions. It must maintain inventories under IRC § 471(a), and IRC § 263A(b)(2) applies to it as a reseller — so purchasing, handling and storage costs it has been deducting currently must now be capitalised into the cost of its goods.
The change is a change in method of accounting. IRC § 263A(i)(3) treats a change made under that subsection as initiated by the taxpayer and made with the consent of the Secretary, and IRC § 471(c)(4) does the same for the inventory exemption — so the IRC § 481 adjustment is the mechanism, not an amended return. The practical effect in the year of change is a one-off increase in the inventory figure and a corresponding reduction in current deductions.
Research costs that stay out of inventory
Kirkoswald Devices Inc. manufactures sensors it holds in inventory. In 2026 it spends $500,000 on domestic research to improve the sensor design and deducts the full amount under IRC § 174A rather than electing the 60-month amortization in IRC § 174A(c). It also incurs $2,000,000 of ordinary production costs — direct labor, materials, and an allocable share of factory overhead.
{fig:cogs.263A_scope} (IRC § 263A(b)) requires capitalizationTreating the cost of something as an asset that's depreciated over time, rather than deducting the full cost immediately as an expense. of the $2,000,000 of production costs into the cost of the inventory produced. The research costs do not follow them in: IRC § 263A(c)(2) now excludes “any amount allowable as a deduction under section 174 or 174A” from capitalization under this section, so the $500,000 stays a current deduction even though the sensors it improved sit in the same inventory. A preparer who assumes every cost tied to production belongs in cost of goods sold will overstate ending inventory.
Cost of goods sold is not a deduction. It reduces gross income under Reg. § 1.61-3(a) before any deduction is considered, so a limitation that applies to deductions does not reach it — and an expense moved into it does not thereby escape a limitation, because {fig:income.no_netting}.
Inventory follows title, not location. {fig:cogs.title_test} (Reg. § 1.471-1(a)). Consigned goods stay with the consignor; goods in transit follow the terms of sale.
Which method raises income depends on which way prices moved. FIFO produces the higher income when prices are rising and the lower income when they are falling. A question that omits the direction of prices cannot be answered.
LIFO is not available to a business that reports FIFO to its lenders. {fig:cogs.lifo_conformity} (IRC § 472(c)). The condition reaches reports to shareholders, partners, other proprietors and beneficiaries, and reports for credit purposes.
IRC § 263A does not reach property acquired for rental. {fig:cogs.263A_scope} (IRC § 263A(b)) covers property produced and property acquired **for resale**. Acquiring an asset to rent out is neither.
One gross receipts test, two exemptions. IRC § 263A(i) and IRC § 471(c) both use IRC § 448(c), so a business does not qualify for one and fail the other.
How this has changed
Both small business exemptions date from 2017 and are now the ordinary case. Before Pub. L. 115-97, the reseller exception in IRC § 263A was a much smaller fixed figure and reached resellers only, and the inventory rules of IRC § 471 had no general small business exemption at all — relief came through revenue procedures rather than statute. Section 13102 of that Act added IRC § 263A(i) and IRC § 471(c), tied both to a single IRC § 448(c) test, and indexed that test from 2019. For a taxable year beginning in 2026 the figure is Verified 2026-08-21Rev. Proc. 2025-32 § 3.30, read at irs.gov/pub/irs-drop/rp-25-32.pdf; 2025 figure from Rev. Proc. 2024-40 § 3.31, read at irs.gov/pub/irs-drop/rp-24-40.pdf; statutory base at IRC § 448(c)(1), read at law.cornell.edu/uscode/text/26/448. The effect is that the great majority of businesses a preparer will meet are outside both regimes, and the questions that matter for them are the IRC § 471(c)(1)(B) alternatives rather than the capitalisation rules.
Nothing in Pub. L. 119-21 amended IRC § 263A, IRC § 471 or IRC § 472, so the 2026 rules are the 2025 rules apart from the indexed threshold. One adjacent change does touch the text. Pub. L. 119-21 § 70302(a) added IRC § 174A, which allows a deduction for domestic research or experimental expenditures notwithstanding the general capitalisation rule, with an election in IRC § 174A(c) to capitalise and amortise over not less than 60 months instead. IRC § 263A(c)(2) now reads “any amount allowable as a deduction under section 174 or 174A,” so a business that produces property and also conducts domestic research keeps those costs out of its inventory computation on the strength of a section that did not exist in 2025.
Exam focus
Expect a computation. Beginning inventory plus purchases less ending inventory is the formula, and the work is in the ending inventory figure. Practise all three conventions on one set of purchases until each takes seconds.
Expect a membership question. Consignment, goods in transit and goods on order recur, and the answer is always the title test of Reg. § 1.471-1(a).
Expect one question on IRC § 263A scope. The reliable discriminator is that the section reaches production and acquisition for resale, and reaches neither property acquired for rental nor property produced for personal use.
Finally, know that both the inventory requirement and uniform capitalization switch off together for a business under the IRC § 448(c) test, and that the escape route is the choice in IRC § 471(c)(1)(B) between non-incidental materials and supplies and conformity to the books.
Check yourself
1. A company’s beginning inventory is $3.80 million, purchases are $8.20 million and ending inventory is $2.42 million. What is cost of goods sold?
Answer: $9.58 million — beginning inventory plus purchases less ending inventory. Note that the figure has fallen out of the inventory count, not out of any expense ledger: cost of goods sold is derived, not accumulated.
2. A nursery buys 40 trees at $5 and later 30 at $4, and has 20 left at the year end. Under the average cost method, what is ending inventory?
Answer: $91.43. Total cost is $200 plus $120, or $320, over 70 units — $4.5714 each. Twenty units at that figure is $91.43. The result sits between what FIFO ($80) and LIFO ($100) would give, because prices fell.
3. A retailer has 200 units in its shop, 90 with an agent on consignment, and 60 in transit from a supplier under terms passing title on shipment. How many units are in its inventory?
Answer: 350. Verified 2026-08-21Reg. § 1.471-1(a), opened at law.cornell.edu/cfr/text/26/1.471-1 — consignment does not pass title, so the 90 remain the retailer’s, and title to the 60 in transit has already passed to it. Physical possession is irrelevant in both cases.
4. Does IRC § 263A apply to a company that buys machinery to lease to customers?
Answer: No. {fig:cogs.263A_scope} (IRC § 263A(b)) covers property the taxpayer produces and property acquired for resale. Machinery acquired to be rented is neither, so the acquisition costs are not capitalised into inventory under this section — though the machinery is of course capitalised as a depreciable asset under other provisions.
5. A business adopts LIFO for tax but continues to present FIFO figures in the audited accounts it gives its bank. What is the consequence?
Answer: LIFO is unavailable. Verified 2026-08-21IRC § 472(c), opened at law.cornell.edu/uscode/text/26/472 (IRC § 472(c)) makes the method conditional on the taxpayer establishing that it used no other procedure in inventorying those goods for a report to shareholders, partners, other proprietors or beneficiaries, or for credit purposes.
Change log
- Initial draft. Sets out when inventories are required under Reg. § 1.471-1(a), the title test that decides what is in them, the two IRC § 471(a) tests and the valuation bases of Reg. § 1.471-2(c), the identification conventions with the FIFO default for commingled goods, the IRC § 472 LIFO mechanics with the conformity condition and the three-year spread on adoption, the IRC § 263A scope and exceptions, and the IRC § 471(c) and IRC § 263A(i) small business exemptions keyed to the IRC § 448(c) gross receipts test.
- Added a plain-language summary, glossary marks, and a fourth typed scenario on the IRC § 263A / IRC § 174A capitalization interaction. No diagram: the content is a computation and a title-based membership test, not a fit for the built archetypes.
Related topics
- Gross receipts and other income 2.2.1.a
- Net income, net operating losses, and loss limitations including passive activity and at-risk limitations 2.2.1.c
- Accounting methods 2.1.1.j
- Depreciation, amortization (start-up and organizational cost), IRC Section 179, depletion, bonus depreciation, and correcting errors 2.2.2.c
- Cancellation of business debt 2.2.1.d
- Business bad debts 2.2.2.d
- Interest expense 2.2.2.g
- Insurance expense 2.2.2.h
- Taxes (e.g., deductibility of taxes, assessments, penalties; proper treatment of sales taxes paid, excise) 2.2.2.i
- Income statement 2.2.4.b