Masco (NYSE: MAS) reported earnings on July 29. Here are the numbers you need to know.

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

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

Margins grew across the board.

Revenue details
Masco reported revenue of $2.10 billion. The 14 analysts polled by S&P Capital IQ anticipated sales of $2.10 billion on the same basis. GAAP reported sales were 7.2% higher than the prior-year quarter's $2.00 billion.

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

EPS details
EPS came in at $0.23. The 17 earnings estimates compiled by S&P Capital IQ predicted $0.20 per share. Non-GAAP EPS of $0.23 for Q2 were 130% higher than the prior-year quarter's $0.10 per share. (The prior-year quarter included -$0.05 per share in earnings from discontinued operations.) GAAP EPS were $0.21 for Q2 versus -$0.22 per share for the prior-year quarter.

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

Margin details
For the quarter, gross margin was 28.3%, 210 basis points better than the prior-year quarter. Operating margin was 8.7%, 260 basis points better than the prior-year quarter. Net margin was 3.6%, 730 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

Looking ahead
Next quarter's average estimate for revenue is $2.08 billion. On the bottom line, the average EPS estimate is $0.25.

Next year's average estimate for revenue is $8.05 billion. The average EPS estimate is $0.78.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 244 members out of 296 rating the stock outperform, and 52 members rating it underperform. Among 106 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 94 give Masco 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 Masco is outperform, with an average price target of $21.61.

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