Fastenal (Nasdaq: FAST) reported earnings on July 12. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), Fastenal met expectations on revenues and beat expectations on earnings per share.

Compared to the prior-year quarter, revenue improved and GAAP earnings per share increased significantly.

Gross margins dropped, operating margins increased, net margins improved.

Revenue details
Fastenal booked revenue of $804.9 million. The 11 analysts polled by S&P Capital IQ wanted to see a top line of $809.3 million on the same basis. GAAP reported sales were 15% higher than the prior-year quarter's $701.7 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.38. The 11 earnings estimates compiled by S&P Capital IQ anticipated $0.37 per share. GAAP EPS of $0.38 for Q2 were 19% higher than the prior-year quarter's $0.32 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 51.6%, 60 basis points worse than the prior-year quarter. Operating margin was 22.2%, 80 basis points better than the prior-year quarter. Net margin was 14.0%, 60 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $3.18 billion. The average EPS estimate is $1.45.

Investor sentiment

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Fastenal is hold, with an average price target of $45.00.

Seth Jayson had no position in any company mentioned here at the time of publication. You can view his stock holdings here. He is co-advisor of Motley Fool Hidden Gems, which provides new small-cap ideas every month, backed by a real-money portfolio. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.