Fresh Market (Nasdaq: TFM) reported earnings on Aug. 29. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended July 29 (Q2), Fresh Market beat slightly on revenues and beat expectations on earnings per share.

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

Margins expanded across the board.

Revenue details
Fresh Market booked revenue of $313.0 million. The 13 analysts polled by S&P Capital IQ expected a top line of $308.3 million on the same basis. GAAP reported sales were 21% higher than the prior-year quarter's $259.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.29. The 13 earnings estimates compiled by S&P Capital IQ predicted $0.27 per share. GAAP EPS of $0.28 for Q2 were 27% higher than the prior-year quarter's $0.22 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.1%, 140 basis points better than the prior-year quarter. Operating margin was 7.0%, 40 basis points better than the prior-year quarter. Net margin was 4.3%, 30 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $1.35 billion. The average EPS estimate is $1.43.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 121 members out of 148 rating the stock outperform, and 27 members rating it underperform. Among 45 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 31 give Fresh Market a green thumbs-up, and 14 give it a red thumbs-down.

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

If you're interested in retailers like Fresh Market as investments, you should check out the retail concept that is The Motley Fool's top stock for 2012. Its founder wrote the book on big box retailing, and it's growing in increasingly important international markets. Click here for instant access to this free report.