Cost of goods sold for the three months ended September 30, 2022 was $9,317,241, an increase of $1,062,797 compared to the three months ended September 30, 2021 of $8,254,444, driven by higher production volume and sales.
Gross profit for the three months ended September 30, 2022 was $9,536,860, representing a gross margin of 51%. This is compared to gross profit for the three months ended September 30, 2021 of $5,114,988 or a 38% gross margin. The increase in gross profit and margin was driven primarily by increased retail sales in Minnesota.
Our current production capacity has not been fully realized and we expect future gross profits to increase with revenue growth reflective of higher demand, increased product output and new product development. However, we expect gradual price compression as markets mature that could place downward pressure on our retail and wholesale gross margins.
Total Expenses
Total expenses other than the cost of goods sold consist of selling costs to support customer relationships, marketing, and branding activities. It also includes a significant investment in the corporate infrastructure required to support ongoing business.
Selling costs generally correlate to revenue. In the short-term as a percentage of sales, we expect selling costs to remain relatively flat. However, as positive regulatory developments in our core markets occur, we expect selling costs as a percentage of sales to decrease via growth in our retail and wholesale channels.
General and administrative expenses also include costs incurred at the corporate offices, primarily related to personnel costs, including salaries, benefits, and other professional service costs, as well as corporate insurance, legal and professional fees associated with being a publicly traded company. We expect general and administrative expenses as a percentage of sales to decrease as we realize revenue growth organically and through positive regulatory developments in our core markets.
Total expenses for the three months ended September 30, 2022 were $9,726,016 an increase of $480,167 compared to total expenses of $9,245,849 for the three months ended September 30, 2021. The increase in total expenses is primarily attributable to an increase in professional fees driven by the Arrangement Agreement.
Operating Income (Loss) before Income Taxes
Operating income (loss) before other income (expense) and provision for income taxes for the three months ended September 30, 2022 was $(189,156) a decrease of $3,941,705 compared to an operating loss of ($4,130,861) for the three months ended September 30, 2021.
Total Other Income (Expense)
Total other expense for the three months ended September 30, 2022 was $(7,594,633), a change of $5,415,098 compared to other expense of $(2,179,535) for the three months ended September 30, 2021. This change is primarily attributable to increased interest expense driven by the Credit Facility.
Provision for Income Taxes
Income tax expense is recognized based on the expected tax payable on the taxable income for the year, using tax rates enacted or substantively enacted at year-end. For the three months ended September 30, 2022, tax expense totaled $640,000 compared to a tax expense of $560,000 for the three months ended September 30, 2021. The increase in tax expense is primarily attributable to increased gross profit partially offset the recognition of deferred tax assets related to property, plant, and equipment impairments and state net operating loss carryforwards.
Nine months ended September 30, 2022 Compared to Nine months ended September 30, 2021
Revenue