Under IRC Section 280E, Cost of Goods Sold is the only category of expense that cannabis businesses can deduct from their federal taxable income. Every other operating expense — rent, salaries, marketing, professional fees — is off the table. That makes COGS calculation the highest-value financial exercise in cannabis accounting.
Get it right, and you pay taxes on what your business actually earns. Get it wrong, and you either overpay taxes by ignoring legitimate COGS items, or you underpay and face an IRS audit. This guide explains exactly what counts as COGS under 280E, how to calculate it for each business type, and the most common mistakes that cost operators money.
Why COGS Is the Only Safe Harbor Under 280E
The legal basis for COGS deductibility under 280E is rooted in two separate code sections. Section 280E blocks all deductions under Section 162 (ordinary business expenses) and Section 212 (investment expenses). But COGS is not a deduction in the traditional sense — it's an adjustment that reduces gross receipts to arrive at gross income, governed by Section 471 and the Treasury regulations covering inventory accounting.
Because COGS operates outside the scope of Section 162, it escapes 280E's prohibition. The Tax Court confirmed this interpretation in CHAMP v. Commissioner (2007), and subsequent cases have reinforced it. COGS is the legal lifeline for cannabis businesses under the current tax regime.
The formula: Gross Receipts − Cost of Goods Sold = Gross Income. 280E taxes you on Gross Income, not Net Profit. Every dollar in COGS is a dollar not taxed.
The Basic COGS Formula
The fundamental COGS calculation is the same for cannabis as for any inventory-based business:
COGS = Beginning Inventory + Purchases / Production Costs − Ending Inventory
Where it gets cannabis-specific is in the definition of what goes into "Purchases / Production Costs." Under IRC 471 and the related Uniform Capitalization rules (Section 263A), cannabis businesses must determine which costs can be capitalized into inventory and thus flowed through as COGS when products are sold.
COGS by Business Type
Dispensaries / Retailers
Retailers have the most limited COGS base. Your deductible costs are essentially:
- Wholesale cost of inventory purchased from cultivators or processors
- Transportation costs to bring inventory to your location
- Storage and handling costs directly tied to inventory
- Packaging materials applied at point of sale (if you're packaging products yourself)
- Quality testing fees for products (if required before sale)
Notice what's not in that list: your budtenders' wages, your rent, your POS system, your marketing spend. All of that is Section 162 expense — blocked by 280E.
The result is that a dispensary earning $3M in revenue with a 50% product margin and $1M in operating expenses is still taxed on the $1.5M gross profit, not on the $500K net profit. Effective rates above 60% are common for pure retailers.
Cultivators / Growers
Cultivators have a significantly broader COGS base because they produce inventory rather than simply purchase it. Under the Uniform Capitalization rules, you must capitalize indirect production costs in addition to direct costs:
Direct production costs (always COGS-eligible):
- Seeds, clones, mother plants
- Growing media (soil, coco, rockwool, hydro systems)
- Nutrients, fertilizers, pesticides, foliar sprays
- Water used in production
- Electricity and HVAC for grow rooms (not office/retail space)
- Direct labor — wages for trimmers, growers, harvest staff
- Grow lights, fans, climate control equipment (depreciation)
Indirect production costs (allocable to COGS):
- A proportional share of rent for the cultivation facility
- Insurance on production equipment and facility
- Supervision labor for production staff
- Quality control testing
- Repairs and maintenance on production equipment
The key is allocation. If your facility contains both a grow operation and an office, only the portion of rent, utilities, and overhead attributable to the grow space flows into COGS. The allocation must be documented, consistent, and defensible.
Processors / Manufacturers
Processors transform raw plant material into consumer products (concentrates, edibles, topicals, cartridges). Their COGS includes:
- Raw material cost (flower, trim purchased from cultivators)
- Extraction equipment depreciation (attributable to production)
- Solvents, consumables, and supplies used in extraction
- Direct production labor for extraction and manufacturing
- Packaging materials incorporated into the final product
- Quality assurance testing
- Production facility overhead (allocated portion of rent, utilities)
Run your COGS calculation now
The TrimBooks calculator handles all three business types and shows you exactly what's deductible vs. non-deductible.
Calculate Your COGS FreeCOGS vs. Non-Deductible: Quick Reference
| Expense | Dispensary | Cultivator | Processor |
|---|---|---|---|
| Wholesale product cost | COGS ✓ | N/A | COGS ✓ |
| Seeds / clones / raw material | N/A | COGS ✓ | COGS ✓ |
| Direct production labor | Non-ded. ✗ | COGS ✓ | COGS ✓ |
| Production facility rent (allocated) | Non-ded. ✗ | COGS ✓ | COGS ✓ |
| Retail / office rent | Non-ded. ✗ | Non-ded. ✗ | Non-ded. ✗ |
| Sales staff wages | Non-ded. ✗ | Non-ded. ✗ | Non-ded. ✗ |
| Marketing / advertising | Non-ded. ✗ | Non-ded. ✗ | Non-ded. ✗ |
| Production equipment depreciation | N/A | COGS ✓ | COGS ✓ |
| Packaging (applied to product) | COGS ✓ | COGS ✓ | COGS ✓ |
The Most Common COGS Mistakes
1. Underallocating indirect costs
Many operators correctly identify direct production costs but fail to capitalize indirect overhead — the allocated portion of facility rent, utilities, supervision salaries, and maintenance. This leaves legitimate COGS on the table. For cultivators especially, properly capitalizing overhead can materially reduce taxable income.
2. Not tracking labor by function
If you have employees who do both production work and non-production work, you need time-tracking records to support allocating their wages between COGS and non-deductible expense. Without documentation, the IRS may deny the entire labor allocation. This is one of the most common audit triggers for cannabis businesses.
3. Including non-production overhead in COGS
The opposite error: including executive salaries, corporate administrative costs, or marketing expenses in COGS. This is aggressive and not defensible. The IRS knows the playbook, and overstating COGS triggers penalties, not just adjustments.
4. Inconsistent allocation methodology
If you allocate shared costs (rent, utilities, supervision) based on square footage this year and headcount next year, without documentation for the change, the IRS will question both years. Pick a methodology, document it, and apply it consistently.
5. Failing to perform a year-end COGS true-up
COGS is not a plug number you enter at tax time. It should be tracked throughout the year in your accounting system, with a true-up at year-end when you reconcile beginning and ending inventory. Businesses that calculate COGS at tax time, rather than tracking it throughout the year, almost always miss something.
The Practical Workflow
Here is the workflow that well-run cannabis operations follow to maximize and defend their COGS:
- Chart of accounts setup — Create separate accounts for direct production costs, indirect production overhead, and non-production operating expenses from day one. Retrofitting this later is painful.
- Time tracking — Require employees who work in both production and non-production roles to log their time. This creates the documentation trail for labor allocation.
- Facility square footage documentation — Measure and document the square footage of production vs. non-production space. Take photos. This supports your facility cost allocation.
- Inventory reconciliation — Conduct physical inventory counts at year-end (and ideally quarterly). Discrepancies between book inventory and physical inventory raise flags.
- Quarterly COGS review — Don't wait until year-end. Review your COGS calculation quarterly so you can make adjustments before it's too late.
The TrimBooks calculator walks through all of this systematically. Enter your revenue and expense data by category, and it tells you exactly how much is COGS-eligible, what's non-deductible, and what your estimated federal tax looks like under 280E. It's not a replacement for a cannabis CPA at tax filing time — but it gives you the visibility you need to manage the business proactively.
Know where you stand before year-end
Run your numbers now — see your estimated COGS allocation and 280E tax exposure in minutes.
Try the 280E Calculator Free