Shipping belongs in Cost of Goods Sold only when it is inbound freight paid to bring inventory into your business. Outbound shipping, meaning what you pay to deliver finished orders to customers, is a selling expense and sits outside COGS. So the short answer to does COGS include shipping is: inbound yes, outbound no.
The distinction is about purpose. Freight you pay to acquire goods becomes part of what those goods cost you, and it stays with the inventory until the sale. Freight you pay to get a finished product out the door is a cost of completing the sale itself, recorded separately on the income statement.
Why Inbound Freight Is Part of COGS
Inbound shipping, usually called freight-in, is the cost of moving goods from a supplier to your facility. The IRS treats freight-in, express-in, and cartage-in on raw materials, production supplies, and merchandise bought for resale as part of cost of goods sold.1Internal Revenue Service. Publication 334 (2025), Tax Guide for Small Business
The Treasury regulations put the mechanics plainly. The cost of purchased merchandise equals the invoice price less trade discounts, plus transportation or other necessary charges incurred in acquiring possession of the goods.2eCFR. 26 CFR 1.471-3 – Inventories at Cost That “plus transportation” language is why freight-in gets rolled into inventory cost rather than expensed on its own.
You don’t deduct freight-in the day you pay the carrier. You capitalize it, which means you add it to the value of the inventory sitting on your balance sheet. It only moves to the income statement when the specific goods sell, and at that point it flows through COGS along with the rest of the item’s cost. Expensing it immediately would understate your inventory asset and overstate expenses in the current period, which then flips the following period when those goods are sold with too little cost attached.
Businesses that claim a COGS deduction report the figure on IRS Form 1125-A, and the number there feeds directly into taxable income.3Internal Revenue Service. Form 1125-A – Cost of Goods Sold A category of cost put in the wrong place changes what you owe.
Why Outbound Shipping Stays Out of COGS
Outbound shipping, or freight-out, is what you pay to get a finished product from your location to the customer. By the time this cost is incurred, the goods are already in saleable condition and already in your inventory at their proper cost. Freight-out has nothing to do with acquiring or producing the product, so it belongs with your selling and distribution expenses as an operating cost.
The logic is simple. Freight-in gets the product to you. Freight-out gets the product to the buyer. Only the first one shapes what the product cost you to have on hand. Rolling outbound shipping into COGS pulls your gross profit margin down artificially and makes it look like your product costs are higher than they are.
Some sellers, particularly in e-commerce, report freight-out under a broader “cost of revenue” line instead of general selling expenses. That is a presentation choice. It does not reclassify outbound freight as a product cost, and gross margin should still reflect product costs alone if the number is going to mean anything to a lender or an analyst.
FOB Terms Decide Who Pays and Who Owns
Free on Board terms in a purchase contract control two things at once: who pays the freight and when ownership of the goods passes. Those terms determine whether a shipping cost lands on the buyer’s books or the seller’s books, and they affect when inventory first shows up on a balance sheet.
Under FOB Shipping Point, the buyer takes ownership the moment the goods leave the seller’s dock. The buyer pays the freight and adds it to inventory cost. Goods in transit already belong to the buyer, so they should appear on the buyer’s balance sheet even before they arrive.4Internal Revenue Service. Publication 538 (01/2022), Accounting Periods and Methods
Under FOB Destination, the seller keeps ownership until the goods arrive. The seller pays the freight and treats it as a delivery expense on its own books, and the buyer only records inventory when the shipment is received.
The designation matters most at year end. A large shipment in transit on December 31 under FOB Shipping Point belongs to you, and both the goods and the freight-in need to be in your year-end inventory count. Under FOB Destination, the same shipment would still be the seller’s. IRS Publication 538 states that purchased merchandise should be included in inventory if title has passed to you, even if you don’t yet have it in hand.4Internal Revenue Service. Publication 538 (01/2022), Accounting Periods and Methods
Spreading One Freight Bill Across Several Products
A single freight bill rarely covers only one product. When a shipment contains different items at different unit costs, you need a reasonable way to spread the total freight charge across the units received. The common approaches are allocation by weight, by volume, or by relative purchase value.
Weight-based allocation fits most ground freight, where heavier items genuinely drive the cost. Value-based allocation makes more sense when items are similar in size and weight but vary widely in price. Pick a method and stay with it. Switching methods between periods without a reason undercuts the comparability of your financial statements and invites questions in an audit.
It is tempting to skip the allocation step on small shipments, but the errors compound. Dozens of mixed shipments a month with sloppy freight allocation will quietly distort the reported cost of individual product lines, and that makes it harder to see which products are actually profitable.
When You Charge the Customer for Shipping
If you collect a shipping fee at checkout, there is a separate question about how to record it. Under ASC 606, companies can elect a practical expedient that treats shipping and handling activities occurring after the customer takes control of the goods as a fulfillment cost rather than a separate performance obligation. Under that election, the fee charged to the customer is folded into the transaction price for the product, and the related shipping cost is recognized as a fulfillment expense.
Most small and mid-sized sellers elect the expedient because it keeps the reporting simple. Either way, the core distinction holds. What you pay to bring inventory in is an inventory cost. What you pay to ship it out, or what the shipping fee pays for, is not.
What Misclassification Does to Your Numbers
Putting shipping in the wrong bucket is not just a bookkeeping annoyance. It misleads anyone reading the statements, including you.
Expense freight-in immediately instead of capitalizing it and two things happen together: inventory on the balance sheet is too low, and current-period expenses are too high. When those goods eventually sell, COGS is understated because less cost was loaded into the inventory, which inflates gross profit in that later period. The net effect is a timing mismatch across reporting periods.
Dump freight-out into COGS instead of selling expense and gross profit margin drops while operating expenses look artificially lean. Net income is the same because the total expense did not change, only its location. But the gross margin percentage, which lenders and analysts rely on to judge pricing and sourcing efficiency, stops being reliable. A 40% gross margin with high delivery costs tells a different story than a 32% gross margin with low operating expenses, even when the bottom line matches.
IRS Publication 538 also makes the timing point for tax purposes: shipping costs should be matched to the income they help generate. If you report sales in one year but the goods don’t ship until the next, the shipping costs more properly belong to the year of sale, not the year of movement.4Internal Revenue Service. Publication 538 (01/2022), Accounting Periods and Methods
A Note for Larger Businesses: Section 263A
Beyond the basic rule that freight-in is an inventory cost, bigger businesses face an added layer under Section 263A of the Internal Revenue Code, known as the Uniform Capitalization or UNICAP rules. Section 263A requires businesses that produce property or acquire it for resale to capitalize both direct costs and a proper share of indirect costs allocable to that inventory.5Office of the Law Revision Counsel. 26 USC 263A – Capitalization and Inclusion in Inventory Costs of Certain Expenses
The indirect costs captured go well beyond freight. Under the simplified resale method, items subject to capitalization include off-site storage and warehousing, purchasing costs, handling costs such as processing and repackaging, and a share of general and administrative overhead.3Internal Revenue Service. Form 1125-A – Cost of Goods Sold Those costs end up in inventory and only flow into COGS when the goods sell, the same path freight-in follows.
The base threshold is $25 million in average annual gross receipts over the prior three tax years, adjusted for inflation.5Office of the Law Revision Counsel. 26 USC 263A – Capitalization and Inclusion in Inventory Costs of Certain Expenses Businesses below it can elect a simplified inventory method under Section 471(c) and skip the full UNICAP calculation. Growing businesses that cross the threshold often discover that costs they had been expensing as overhead now need to be capitalized into inventory, and that shift can meaningfully change reported COGS from one year to the next.