Our Integrated Yield Ramp revenue may continue to fluctuate from period to period primarily due to the contribution of Gainshare, which is dependent on many factors that are outside our control, including among others, continued production of ICs by our customers at facilities at which we generate Gainshare, sustained yield improvements by our customers, and whether we enter into new contracts containing Gainshare.
Our Analytics and Integrated Yield Ramp revenues may also fluctuate in the future and are dependent on a number of factors, including the semiconductor industry’s continued acceptance of our products, services and solutions, the timing of purchases by existing and new customers, cancellations by existing customers, and our ability to attract new customers and penetrate new markets, supply chain challenges and further penetration of our current customer base. Fluctuations in future results may also occur if any of our significant customers renegotiate pre-existing contractual commitments, including due to adverse changes in their own business.
Costs of Revenues
Costs of revenues consist primarily of costs incurred to provide and support our services, costs recognized in connection with licensing our software, IT and facilities-related costs and amortization of acquired technology. Service costs include material costs, hardware costs (including cost of leased assets under sales-type lease), personnel-related costs (including compensation, employee benefits, bonus and stock-based compensation expense), subcontractor costs, overhead costs, travel expenses, and allocated facilities-related costs. Software license costs consist of costs associated with third-party cloud-delivery related expenses and licensing third-party software used by us in providing services to our customers in solution engagements or sold in conjunction with our software products.
The decrease in costs of revenues of $0.1 million for the three months ended June 30, 2024, compared to the three months ended June 30, 2023, was primarily due to (i) a $0.3 million decrease in hardware costs and (ii) a $0.2 million decrease in facilities and IT-related costs including depreciation expense. These decreases were partially offset by (a) a $0.2 million increase in personnel-related costs due to higher stock-based compensation expenses, increased headcount, and worldwide salary increases, partially offset by lower bonus expense, and (b) a $0.1 million increase in third-party cloud-delivery costs.
The increase in costs of revenues of $1.5 million for the six months ended June 30, 2024, compared to the six months ended June 30, 2023, was primarily due to (i) a $1.4 million increase in hardware costs, (ii) a $0.2 million increase in third-party cloud-delivery costs and (iii) a $0.2 million increase in subcontractor costs. These increases were partially offset by a $0.3 million decrease in facilities and IT-related costs including depreciation expense.
Gross Margin
Gross margin increased one percentage point for the three months ended June 30, 2024, to 71%, compared to 70% for the three months ended June 30, 2023. The higher gross margin during the three months ended June 30, 2024, was primarily due to lower cost of revenues.
Gross margin decreased two percentage points for the six months ended June 30, 2024, to 69%, compared to 71% for the six months ended June 30, 2023. The lower gross margin during the six months ended June 30, 2024, was primarily due to lower Integrated Yield Ramp revenue and higher cost of revenues for the six months ended June 30, 2024.