Terri Pizzuto
Analyst · those projected in these forward-looking statements. Copies of these SEC filings may be obtained by contacting the company or the SEC.
Now I would like to introduce Terri Pizzuto
Thanks, Keith, and thank you, all, for being with us this afternoon. We had a record third quarter, and I'd like to highlight 3 points: First, truck brokerage fired on all cylinders; second, gross margin, as a percentage of sales, held steady; and third, intermodal volume growth was solid.
Here are the key numbers for the third quarter. Hub Group's revenue increased 7% to $805 million. Hub Group's diluted earnings per share was $0.50. EPS is up 9% compared to an adjusted 2011 EPS. 2011 diluted earnings per share, excluding onetime costs related to the Mode integration and Hub truck brokerage restructuring, was $0.46.
Now I'll discuss details for the quarter, starting with the financial performance at the Hub segment. The Hub segment generated revenue of $619 million, which is a 10% increase over last year. Taking a closer look at Hub's business lines, intermodal revenue increased 11%. This change includes a 9% volume increase. 200 basis points of the volume increase came from Hub fleet containers sold to Mode agents. Our fastest-growing customer segments were retail, which was up 14%; and consumer products, which was up 9%. Prices, fuel and mix were all up slightly this quarter. Truck brokerage revenue was up 6% due to 13% more load, partially offset by a 7% shorter length of haul. Logistics revenue was 14% higher than last year.
Hub's gross margin increased by $3.7 million due to growth in truck brokerage and logistics. Truck brokerage gross margin increased $2.2 million year-over-year. Truck brokerage gross margin, as a percentage of sales, is up 180 basis points compared to last year. The increase in margin comes from more cost-effective purchasing, as well as success in winning new business. We look for more good things to come from truck brokerage since the new organization is just hitting its stride.
Logistics gross margin is up $1.5 million due to an improvement in yield, as well as an increase in business for both new and existing customers. Intermodal gross margin is flat since volume growth, price increases and savings from doing more of our own drayage were offset by rail cost increases. Hub's gross margin, as a percentage of sales, was 10.9%. This margin percentage is the same as the first and second quarter of 2012, and it's down 40 basis points compared to last year's 11.3% margin.
The driver of the decrease in the gross margin percentage is intermodal. Our intermodal cost increases were about what we expected, the challenging and competitive market dynamics made it difficult to fully pass along the cost increases. As a result, intermodal yield was down 110 basis points compared to last year. Yield was up both year-over-year and sequentially, for logistics and truck brokerage. We expect the Hub segment gross margin percentage to be slightly lower in the fourth quarter. Hub's cost and expenses were $41.9 million compared to $38.7 million last year. Last year's costs included $335,000 of onetime expenses related to truck brokerage restructuring.
We had several claims settled this quarter, which resulted in claim expense being $1.5 million higher than normal. Higher IT cost also contributed to the increase in general and administrative expense. Finally, operating margin for the Hub segment was 4.1%.
Now I'll discuss results for our Mode segment. Mode's revenue increased to $200 million. Revenue breaks down as $93 million in intermodal, $80 million in truck brokerage and $27 million in logistics. Mode's intermodal business was up, while truck brokerage and logistics sales were down. Mode's gross margin increased $1.2 million over last year due to growth in IBO business.
Gross margin, as a percentage of sales, was 12.2% compared to 11.7% last year. Mode continues to buy well. $700,000 of the increase in gross margin resulted from a positive adjustment to the bad debt reserve. Mode's total cost and expenses decreased $2.1 million compared to last year. Mode had $800,000 of onetime costs in 2011 related to the integration. Salaries and employee benefits are down, in line with our cost reduction plan. Operating margin for Mode was 2.5%. We expect operating margin in the fourth quarter to be between 1.5% and 2% at Mode.
Turning to headcount. We had 1,339 employees, excluding drivers, at the end of September. That's down 23 people compared to the end of June. Logistics and truck brokerage headcount is down compared to last quarter.
Now I'll talk about 2012 full year earnings guidance. We're comfortable that our diluted earnings per share will be within the current analyst range of between $1.78 to $1.87 this year. We think we'll have 37,200,000 weighted average diluted shares. We're estimating that our fourth quarter cost and expenses will range between $60 million and $62 million.
Turning now to our balance sheet and how we used our cash. We ended the quarter with $80 million in cash and no debt. During the quarter, we spent $13.6 million on capital expenditures, bringing the year-to-date capital expenditures to $35 million. In the fourth quarter, we think we'll spend between $20 million and $25 million on capital expenditures, primarily for containers and our new corporate headquarters.
To wrap it up for the financial section, we're confident that we're taking the right steps to navigate through this challenging pricing environment. And now you'll hear from our CEO, Dave Yeager.