Old Dominion Freight Line (Nasdaq: ODFL) reported earnings on July 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Old Dominion Freight Line beat slightly on revenues and beat expectations on earnings per share.

Compared to the prior-year quarter, revenue grew. GAAP earnings per share expanded significantly.

Margins grew across the board.

Revenue details
Old Dominion Freight Line notched revenue of $590.2 million. The 13 analysts polled by S&P Capital IQ anticipated revenue of $580.3 million on the same basis. GAAP reported sales were 9.0% higher than the prior-year quarter's $541.5 million.

Source: S&P Capital IQ. Quarterly periods. Dollar amounts in millions. Non-GAAP figures may vary to maintain comparability with estimates.

EPS details
EPS came in at $0.68. The 19 earnings estimates compiled by S&P Capital IQ averaged $0.64 per share. GAAP EPS of $0.68 for Q2 were 24% higher than the prior-year quarter's $0.55 per share.

Source: S&P Capital IQ. Quarterly periods. Non-GAAP figures may vary to maintain comparability with estimates.

Margin details
For the quarter, gross margin was 29.0%, 80 basis points better than the prior-year quarter. Operating margin was 16.5%, 120 basis points better than the prior-year quarter. Net margin was 9.9%, 110 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

Looking ahead
Next quarter's average estimate for revenue is $594.1 million. On the bottom line, the average EPS estimate is $0.66.

Next year's average estimate for revenue is $2.28 billion. The average EPS estimate is $2.34.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 108 members out of 128 rating the stock outperform, and 20 members rating it underperform. Among 42 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 34 give Old Dominion Freight Line a green thumbs-up, and eight give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Old Dominion Freight Line is outperform, with an average price target of $44.20.

Looking for alternatives to Old Dominion Freight Line? It takes more than great companies to build a fortune for the future. Learn the basic financial habits of millionaires next door and get focused stock ideas in our free report, "3 Stocks That Will Help You Retire Rich." Click here for instant access to this free report.