David Miller
Analyst · Craig-Hallum
Thanks, Ronnie. Our full results on Form 10-Q will be filed with the SEC on or before Monday, March 15.
Our third quarter revenue was a record $10.8 million compared to $9 million in the year ago period, a robust year-over-year increase of $1.8 million or 20%. As we've noted over the years, quarterly revenue can fluctuate based on the timing of study completions. This quarter, we did benefit from some Q4 scheduled revenue completing early pulling into Q3.
Excluding stock-based compensation and depreciation, we recognized income of $1.3 million compared to income of $900,000 in the year ago period, an increase of 46%. Our noncash expenses, including stock comp and depreciation, totaled $530,000 for the quarter, resulting in GAAP income from operations of $763,000 compared to $433,000 in the year ago period. I will now focus on our results on a cash basis.
Our third quarter gross margin was 56%, up from 52% in the same period last year. Cost of sales was $4.8 million in the quarter compared to $4.3 million last year, a year-over-year increase of $500,000 or 11%. As discussed on our prior earnings calls, we've partnered with other companies to expedite the expansion of our service offerings, specifically our Ex Vivo platform, to continue to drive top line growth. While these partnerships enabled us to accelerate our growth rate, it put pressure on our margins as we recognize upfront costs on finding the business while the revenue is only recognized when the work is completed.
I indicated that as revenue was recognized, we would see an improving margin, which materialized this quarter. I'll highlight that just as our true margins were higher in the 45% reported previously, our margins received a lift this quarter above the traditional norm. But most importantly, as Ronnie mentioned, we are taking this work in-house, which will generate higher Ex Vivo specific margins in the future as well as smoothing out the Ex Vivo related margin fluctuation.
R&D expense was $1.9 million compared to $1.4 million in the year ago period, an increase of $500,000 or 35%. The increase is due to the continued development work to expand and enhance our product offerings, including an investment in proteomic characterization of our tumor bank.
Sales and marketing expense was $1.4 million compared to $1.2 million last year, an increase of $229,000 or 19%. The increase in sales and marketing was mainly due to compensation-related expenses as we continue to invest in expanding our sales team and marketing efforts.
Our G&A expense increased to $1.4 million compared to $1.2 million in the year ago period. As a percentage of revenue, our G&A expense remained flat at 17%, and we anticipate greater leverage as we grow. In total, our cash-based expenses were $9.5 million for the third quarter of fiscal 2021 compared to $8.1 million in the same period last year, an increase of approximately $1.4 million, consisting of a $500,000 increase in R&D and modest increases in other expenses, given our revenue jump.
Now turning to cash. We ended the quarter with a balance of $7.4 million compared to $3.3 million in the same period last year. For the quarter, net cash from operating activities was via breakeven. During the quarter, we reduced our accounts payable by nearly $2 million, which contributed to this result.
While there can be variability in cash from operations on a quarterly basis due to the timing of receipts and disbursements in our working capital accounts, directionally, our anticipated revenue growth should lead to an overall increase in cash generated from operations over the coming quarters. Our balance sheet remains strong, and we have no debt.
In summary, it was a very successful quarter. We hit a new record for quarterly revenue, and excluding stock comp and depreciation, we had net profit of $1.3 million. The underlying strength of our core business remains solid, and our new products are contributing to our revenue growth.
Overall, our long-term prospects are promising. As we're currently in our year-end quarter, the next earnings call will likely occur in late July. We will disclose any significant milestones should they occur before our next call. We're looking forward to closing out our fiscal year 2021 and speaking with you again on our year-end call. We would now like to open the call for your questions.