Gross Profit
| | | | | | | | | | | |
| | For the nine months ended June 30, |
(in thousands, except percentages) | | 2020 | | 2019 | | $ Change | | % Change |
Aerospace and Defense gross profit | | $ | 12,209 | | $ | 6,489 | | $ | 5,720 | | 88.1% |
Broadband gross profit | | | 10,910 | | | 8,832 | | | 2,078 | | 23.5% |
Total gross profit | | $ | 23,119 | | $ | 15,321 | | $ | 7,798 | | 50.9% |
Our cost of revenue consists of raw materials, compensation expense including non-cash stock-based compensation expense, depreciation expense and other manufacturing overhead costs, expenses associated with excess and obsolete inventories, and product warranty costs. Historically, our cost of revenue as a percentage of revenue, which we refer to as our gross margin, has fluctuated significantly due to product mix, manufacturing yields and sales volumes, and inventory and specific product warranty charges.
Consolidated gross margins were 30.2% and 24.3% for the nine months ended June 30, 2020 and 2019, respectively.
Stock-based compensation expense within cost of revenue totaled approximately $0.5 million and $0.3 million for the nine months ended June 30, 2020 and 2019, respectively.
Aerospace and Defense Gross Profit:
For the nine months ended June 30, 2020, Aerospace and Defense gross profit increased $5.7 million, or 88%, compared to the same period in the prior year, primarily due to higher revenue, of which $6.6 million results from the inclusion of SDI gross profit in the nine months ended June 30, 2020, compared to a $0.6 million inclusion of SDI gross profit in the nine months ended June 30, 2019. For the nine months ended June 30, 2020 and 2019, Aerospace and Defense gross margin was 30.0% and 33.9%, respectively. The lower gross margin in the nine months ended June 30, 2020 is primarily due to product mix.
Broadband Gross Profit:
For the nine months ended June 30, 2020, Broadband gross profit increased $2.1 million, or 24%, compared to the same period in the prior year, primarily as a result of product mix in the nine months ended June 30, 2020. For the nine months ended June 30, 2020 and 2019, Broadband gross margin was 30.4% and 20.1%, respectively. The higher gross margin in the nine months ended June 30, 2020 was primarily the result of product mix.
Selling, General and Administrative (“SG&A”)
SG&A consists primarily of compensation expense including non-cash stock-based compensation expense related to executive, finance, and human resources personnel, as well as sales and marketing expenses, professional fees, legal and patent-related costs, and other corporate-related expenses.
Stock-based compensation expense within SG&A totaled approximately $1.6 million and $1.0 million for the nine months ended June 30, 2020 and 2019, respectively.
SG&A expense for the nine months ended June 30, 2020 was lower than the amount reported in the same period in the prior year, primarily due to lower attorneys’ fees and costs arising from litigation proceedings, partially offset by an increase in compensation (including due to a higher U.S. headcount than the prior period due to the SDI acquisition), insurance and bad debt expenses.
As a percentage of revenue, SG&A expenses were 24.8% and 37.9% for the nine months ended June 30, 2020 and 2019, respectively.