Builders FirstSource (Nasdaq: BLDR) reported earnings on April 25. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended March 31 (Q1), Builders FirstSource beat expectations on revenues and exceeded expectations on earnings per share.

Compared to the prior-year quarter, revenue grew significantly. Non-GAAP loss per share shrank. GAAP loss per share dropped.

Gross margins contracted, operating margins grew, net margins increased.

Revenue details
Builders FirstSource logged revenue of $319.7 million. The four analysts polled by S&P Capital IQ anticipated a top line of $295.5 million on the same basis. GAAP reported sales were 46% higher than the prior-year quarter's $219.4 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.07. The four earnings estimates compiled by S&P Capital IQ forecast -$0.10 per share. Non-GAAP EPS were -$0.07 for Q1 versus -$0.11 per share for the prior-year quarter. GAAP EPS were -$0.12 for Q1 against -$0.20 per share for the prior-year quarter.

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 19.5%, 110 basis points worse than the prior-year quarter. Operating margin was 0.4%, 310 basis points better than the prior-year quarter. Net margin was -3.7%, 500 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $1.36 billion. The average EPS estimate is -$0.15.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 227 members out of 277 rating the stock outperform, and 50 members rating it underperform. Among 78 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 66 give Builders FirstSource a green thumbs-up, and 12 give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Builders FirstSource is outperform, with an average price target of $6.60.

Looking for alternatives to Builders FirstSource? 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.