B&G Foods (NYSE: BGS) reported earnings on July 19. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), B&G Foods missed estimates on revenues and beat expectations on earnings per share.

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

Margins increased across the board.

Revenue details
B&G Foods logged revenue of $148.6 million. The five analysts polled by S&P Capital IQ expected net sales of $154.9 million on the same basis. GAAP reported sales were 15% higher than the prior-year quarter's $129.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.33. The six earnings estimates compiled by S&P Capital IQ predicted $0.31 per share. GAAP EPS of $0.33 for Q2 were 27% higher than the prior-year quarter's $0.26 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 34.8%, 220 basis points better than the prior-year quarter. Operating margin was 23.6%, 330 basis points better than the prior-year quarter. Net margin was 10.8%, 110 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $644.0 million. The average EPS estimate is $1.38.

Investor sentiment

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

Over the decades, small-cap stocks, like B&G Foods have provided market-beating returns, provided they're value priced and have solid businesses. Read about a pair of companies with a lock on their markets in "Too Small to Fail: Two Small Caps the Government Won't Let Go Broke." Click here for instant access to this free report.