TaxEar

TaxEarPart 2Business Income

Business Tax Preparation · Business Income

Cost of goods sold

Verification 2026 Verified
tax year · reviewed 2026-08-21 · Draft for I. Ohu 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. inventories at the beginning and end of each taxable year are necessary in every case in which the production, purchase or sale of merchandise is an income-producing factorTY2026 (Reg. § 1.471-1(a)).

Which goods are in it. merchandise is included in inventory only if title is vested in the taxpayer — so goods out on consignment stay in the seller's inventory, goods sold with title passed do not, and goods purchased with title passed are included even while in transitTY2026 (Reg. § 1.471-1(a)). Title, not possession.

The two statutory tests. an inventory must conform as nearly as may be to the best accounting practice in the trade or business, and it must clearly reflect the incomeTY2026 (IRC § 471(a), Reg. § 1.471-2(a)).

How it is valued. the two bases that meet IRC § 471 are cost, and cost or market whichever is lower; unsalable or damaged goods are valued at bona fide selling prices less direct cost of disposition but never below scrap valueTY2026 (Reg. § 1.471-2(c)), applied the basis adopted must be applied with reasonable consistency to the entire inventory of the trade or business, except for goods inventoried under the LIFO method or under the elective unit livestock-price method, and a change requires the permission of the CommissionerTY2026 (Reg. § 1.471-2(d)). Where goods cannot be traced, goods so intermingled that they cannot be identified with specific invoices are deemed to be the goods most recently purchased or produced — a first-in, first-out defaultTY2026 (Reg. § 1.471-2(d)).

LIFO. goods on hand at the close of the year are treated as being, first, those in the opening inventory in order of acquisition to the extent of it, and second, those acquired during the year; they are inventoried at cost; and the opening inventory of the first LIFO year is treated as acquired at one time and costed by the average cost methodTY2026 (IRC § 472(b)), available only on the condition that LIFO is available only if the taxpayer establishes that it used no other procedure in inventorying those goods for a report or statement to shareholders, partners, other proprietors or beneficiaries, or for credit purposes, for the first year the method is usedTY2026 (IRC § 472(c)), and once taken, once adopted, LIFO must be used in all subsequent taxable years unless the Secretary permits a change, and any increase in the opening inventory value on adoption is taken into account ratably over 3 taxable yearsTY2026 (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 a taxpayer other than a prohibited tax shelter that meets the IRC § 448(c) gross receipts test is exempt from the inventory requirement, and its inventory method does not fail to clearly reflect income if it either treats inventory as non-incidental materials and supplies or conforms to the method reflected in its applicable financial statement, or in its books and records prepared under its accounting procedures where it has no such statement (IRC § 471(c))TY2026 (IRC § 471(c)), both keyed to $32,000,000 — a corporation or partnership meets the gross receipts test for a taxable year beginning in 2026 if its average annual gross receipts for the 3-taxable-year period ending with the preceding taxable year do not exceed that amount. The figure for taxable years beginning in 2025 was $31,000,000, and the unindexed statutory base in IRC § 448(c)(1) is $25,000,000TY2026 (IRC § 448(c)). Where the exemption applies, a small business taxpayer meeting the IRC § 448(c) test may treat inventory as non-incidental materials and supplies, or may conform to the method reflected in its applicable financial statement or, having none, in its books and records prepared in accordance with its accounting proceduresTY2026 (IRC § 471(c)(1)(B)).

Current figures

ItemRuleAuthority
When inventories are requiredinventories at the beginning and end of each taxable year are necessary in every case in which the production, purchase or sale of merchandise is an income-producing factorTY2026Reg. § 1.471-1(a)
Which goods are includedmerchandise is included in inventory only if title is vested in the taxpayer — so goods out on consignment stay in the seller's inventory, goods sold with title passed do not, and goods purchased with title passed are included even while in transitTY2026Reg. § 1.471-1(a)
The two testsan inventory must conform as nearly as may be to the best accounting practice in the trade or business, and it must clearly reflect the incomeTY2026IRC § 471(a), Reg. § 1.471-2(a)
Valuation basesthe two bases that meet IRC § 471 are cost, and cost or market whichever is lower; unsalable or damaged goods are valued at bona fide selling prices less direct cost of disposition but never below scrap valueTY2026Reg. § 1.471-2(c)
Consistencythe basis adopted must be applied with reasonable consistency to the entire inventory of the trade or business, except for goods inventoried under the LIFO method or under the elective unit livestock-price method, and a change requires the permission of the CommissionerTY2026Reg. § 1.471-2(d)
Commingled goodsgoods so intermingled that they cannot be identified with specific invoices are deemed to be the goods most recently purchased or produced — a first-in, first-out defaultTY2026Reg. § 1.471-2(d)
LIFO mechanicsgoods on hand at the close of the year are treated as being, first, those in the opening inventory in order of acquisition to the extent of it, and second, those acquired during the year; they are inventoried at cost; and the opening inventory of the first LIFO year is treated as acquired at one time and costed by the average cost methodTY2026IRC § 472(b)
LIFO conformityLIFO is available only if the taxpayer establishes that it used no other procedure in inventorying those goods for a report or statement to shareholders, partners, other proprietors or beneficiaries, or for credit purposes, for the first year the method is usedTY2026IRC § 472(c)
LIFO, once takenonce adopted, LIFO must be used in all subsequent taxable years unless the Secretary permits a change, and any increase in the opening inventory value on adoption is taken into account ratably over 3 taxable yearsTY2026IRC § 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, inventoriesa taxpayer other than a prohibited tax shelter that meets the IRC § 448(c) gross receipts test is exempt from the inventory requirement, and its inventory method does not fail to clearly reflect income if it either treats inventory as non-incidental materials and supplies or conforms to the method reflected in its applicable financial statement, or in its books and records prepared under its accounting procedures where it has no such statement (IRC § 471(c))TY2026IRC § 471(c)
The alternatives availablea small business taxpayer meeting the IRC § 448(c) test may treat inventory as non-incidental materials and supplies, or may conform to the method reflected in its applicable financial statement or, having none, in its books and records prepared in accordance with its accounting proceduresTY2026IRC § 471(c)(1)(B)
Gross receipts test, 2026$32,000,000 — a corporation or partnership meets the gross receipts test for a taxable year beginning in 2026 if its average annual gross receipts for the 3-taxable-year period ending with the preceding taxable year do not exceed that amount. The figure for taxable years beginning in 2025 was $31,000,000, and the unindexed statutory base in IRC § 448(c)(1) is $25,000,000TY2026IRC § 448(c)(1)
Gross income of a businessin a manufacturing, merchandising or mining business, gross income means total sales less the cost of goods sold plus any income from investments and from incidental or outside operations or sourcesTY2026Reg. § 1.61-3(a)
Timing of the deductioncost of goods sold is determined under the method of accounting the taxpayer consistently uses, and an amount cannot enter the computation any earlier than the taxable year in which economic performance occurs with respect to itTY2026Reg. § 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 in a manufacturing, merchandising or mining business, gross income means total sales less the cost of goods sold plus any income from investments and from incidental or outside operations or sourcesTY2026 (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 cost of goods sold is determined under the method of accounting the taxpayer consistently uses, and an amount cannot enter the computation any earlier than the taxable year in which economic performance occurs with respect to itTY2026 (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. merchandise is included in inventory only if title is vested in the taxpayer — so goods out on consignment stay in the seller's inventory, goods sold with title passed do not, and goods purchased with title passed are included even while in transitTY2026 (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. LIFO is available only if the taxpayer establishes that it used no other procedure in inventorying those goods for a report or statement to shareholders, partners, other proprietors or beneficiaries, or for credit purposes, for the first year the method is usedTY2026 (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 once adopted, LIFO must be used in all subsequent taxable years unless the Secretary permits a change, and any increase in the opening inventory value on adoption is taken into account ratably over 3 taxable yearsTY2026 (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 a taxpayer other than a prohibited tax shelter that meets the IRC § 448(c) gross receipts test is exempt from the inventory requirement, and its inventory method does not fail to clearly reflect income if it either treats inventory as non-incidental materials and supplies or conforms to the method reflected in its applicable financial statement, or in its books and records prepared under its accounting procedures where it has no such statement (IRC § 471(c))TY2026 (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, a small business taxpayer meeting the IRC § 448(c) test may treat inventory as non-incidental materials and supplies, or may conform to the method reflected in its applicable financial statement or, having none, in its books and records prepared in accordance with its accounting proceduresTY2026 (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 sold.

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.

merchandise is included in inventory only if title is vested in the taxpayer — so goods out on consignment stay in the seller's inventory, goods sold with title passed do not, and goods purchased with title passed are included even while in transitTY2026 (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 receipts 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.

Traps.

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 $32,000,000 — a corporation or partnership meets the gross receipts test for a taxable year beginning in 2026 if its average annual gross receipts for the 3-taxable-year period ending with the preceding taxable year do not exceed that amount. The figure for taxable years beginning in 2025 was $31,000,000, and the unindexed statutory base in IRC § 448(c)(1) is $25,000,000TY2026. 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. merchandise is included in inventory only if title is vested in the taxpayer — so goods out on consignment stay in the seller's inventory, goods sold with title passed do not, and goods purchased with title passed are included even while in transitTY2026 — 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. LIFO is available only if the taxpayer establishes that it used no other procedure in inventorying those goods for a report or statement to shareholders, partners, other proprietors or beneficiaries, or for credit purposes, for the first year the method is usedTY2026 (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.

Related topics