J&J Snack Foods (Nasdaq: JJSF) reported earnings on April 23. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended March 24 (Q2), J&J Snack Foods beat expectations on revenues and crushed expectations on earnings per share.

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

Gross margins dropped, operating margins were steady, and net margins improved.

Revenue details
J&J Snack Foods booked revenue of $189.6 million. The two analysts polled by S&P Capital IQ predicted revenue of $182.1 million on the same basis. GAAP reported sales were 16% higher than the prior-year quarter's $162.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.55. The three earnings estimates compiled by S&P Capital IQ averaged $0.42 per share. GAAP EPS of $0.55 for Q2 were 20% higher than the prior-year quarter's $0.46 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 28.5%, 160 basis points worse than the prior-year quarter. Operating margin was 8.6%, about the same as the prior-year quarter. Net margin was 5.5%, 20 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $802.0 million. The average EPS estimate is $2.64.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 137 members out of 142 rating the stock outperform, and five members rating it underperform. Among 49 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 47 give J&J Snack Foods a green thumbs-up, and two give it a red thumbs-down.

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

Over the decades, small-cap stocks like J&J Snack Foods have produced 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: 2 Small Caps the Government Won't Let Go Broke." Click here for instant access to this free report.

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.