Cost of Sales: Meaning, Formula and Example
Updated November 15, 2026
Definition
Cost of sales is the cost of the goods a business sold during the year. It is beginning inventory, plus purchases and the cost of bringing the goods in, less ending inventory.
A store does not deduct everything it bought during the year. It deducts the cost of what it sold. Revenue Regulations No. 16-2008, Sec. 4, defines cost of goods sold for a trading business as the invoice cost of the goods sold, plus import duties, freight to the place of sale and insurance while the goods are in transit. On the income tax return an individual deducts cost of sales only when itemizing. An individual on the 40% optional standard deduction cannot also deduct it, while a corporation computes its 40% after cost of sales (NIRC Sec. 34(L) and RR 16-2008).
On this page
Why it matters
For a trader, cost of sales is usually the largest deduction. Whether it is more or less than 40% of sales often decides between itemized deductions and the optional standard deduction.
How it works
Count the stock
Count unsold goods on the last day of the year, at cost.
Apply the formula
Beginning inventory, plus purchases and freight in, less ending inventory.
Carry it to the return
On BIR Form 1701, Part V, Schedule 3.A, Item 11 is cost of sales, applicable only if you itemize.
Examples
Rice retailer
Nena Villanueva sells rice in Cabanatuan City. In 2026 she begins with ₱180,000 of stock, buys ₱1,450,000 of rice, pays ₱20,000 for trucking and counts ₱210,000 of stock on 31 December. Goods available for sale are ₱180,000 + ₱1,450,000 + ₱20,000 = ₱1,650,000. Cost of sales is ₱1,650,000 − ₱210,000 = ₱1,440,000. On sales of ₱2,000,000, her gross income is ₱560,000.
Bakery
Aling Nena's bakery has opening stock of ₱18,000, purchases of ₱610,000 and closing stock of ₱22,000 for 2025. Cost of sales is ₱18,000 + ₱610,000 − ₱22,000 = ₱606,000.
Itemized deductions or the 40% OSD
Nena Villanueva's cost of sales of ₱1,440,000 is 72% of her ₱2,000,000 sales. The optional standard deduction would be 40% × ₱2,000,000 = ₱800,000, and as an individual she could not deduct cost of sales on top of it. Itemizing gives her the larger deduction, even before her other expenses are counted.
Common misconceptions
- Myth: Cost of sales is everything I bought this year.
- Fact: Goods still unsold at year-end are inventory. Only the cost of goods sold is deducted.
- Myth: Inventory is counted at selling price.
- Fact: Use amounts at cost, not at selling price.
- Myth: Freight on goods I buy is a separate operating expense.
- Fact: For a trading business, RR 16-2008, Sec. 4, counts freight to the place of sale, import duties and insurance while the goods are in transit as part of the cost of goods sold.
Detailed explanation
What cost of sales means
Cost of sales is the cost of the goods you sold during the year. The formula is beginning inventory, plus purchases and the cost of bringing the goods in, less ending inventory.
How it is deducted
You deduct it when you itemize. The guide on cost of sales has a calculator and compares an individual and a corporation on the 40% optional standard deduction.
In the books
Cost of sales is recorded at year-end, after the stock count. The entry is shown in adjusting and closing entries. It is then one line of the income statement, as explained in income statement to taxable income.
Source: Revenue Regulations No. 16-2008 (Supreme Court E-Library copy), Sec. 3 and 4; National Internal Revenue Code, Sec. 34(L) and 41 (BIR Tax Code text); BIR Form No. 1701 (January 2018 ENCS).
Questions people ask
Can I deduct cost of sales if I take the 40% OSD?
Not as an individual. RR 16-2008, Sec. 3, says an individual seller of goods may not deduct cost of sales before computing the 40%, because the law bases it on gross sales. A corporation's OSD is 40% of gross income, which is after cost of sales.
Can I deduct cost of sales under the 8% income tax option?
No. The 8% tax is computed on gross sales or receipts and other non-operating income, with no deductions. A purely self-employed individual first subtracts ₱250,000. A mixed-income earner does not (RR 8-2018).
Is interest on a business loan part of cost of services?
No. RR 16-2008, Sec. 4, says cost of services does not include interest expense, except for banks and other financial institutions.
Is the ending inventory reported to the BIR?
The BIR Tax Reminder calendar lists soft copies of the inventory list and schedules as due on 30 January for a taxable year that ended on 31 December.
What is the formula for cost of sales?
Beginning inventory, plus purchases and the cost of bringing the goods in, less ending inventory. For the bakery in the example: ₱18,000 + ₱610,000 − ₱22,000 = ₱606,000.
In practice
- Each purchase is supported by the supplier's invoice, the primary evidence of a sale under RR 7-2024.
- Section 41 of the Tax Code lets the BIR require inventories where they are needed to show income clearly.
Next steps
Learn more
Cost of Sales: formula, inventory and the OSD rules
Adjusting and Closing Entries: the year-end cost of sales entry
Income Statement to Taxable Income: where cost of sales sits