Heartland Payment Systems (NYSE: HPY) reported earnings on July 31. Here are the numbers you need to know.

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

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

Margins grew across the board.

Revenue details
Heartland Payment Systems reported revenue of $149.7 million. The 15 analysts polled by S&P Capital IQ expected to see revenue of $151.7 million on the same basis. GAAP reported sales were 5.4% higher than the prior-year quarter's $518.5 million.

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.58. The 15 earnings estimates compiled by S&P Capital IQ forecast $0.58 per share. Non-GAAP EPS of $0.58 for Q2 were 16% higher than the prior-year quarter's $0.50 per share. GAAP EPS of $0.53 for Q2 were 20% higher than the prior-year quarter's $0.44 per share.

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 14.9%, 200 basis points better than the prior-year quarter. Operating margin was 6.1%, 40 basis points better than the prior-year quarter. Net margin was 3.6%, 20 basis points better than the prior-year quarter. (Margins calculated in GAAP terms.)

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

Next year's average estimate for revenue is $608.0 million. The average EPS estimate is $2.18.

Investor sentiment
The stock has a five-star rating (out of five) at Motley Fool CAPS, with 389 members out of 409 rating the stock outperform, and 20 members rating it underperform. Among 160 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 156 give Heartland Payment Systems a green thumbs-up, and four give it a red thumbs-down.

Of Wall Street recommendations tracked by S&P Capital IQ, the average opinion on Heartland Payment Systems is outperform, with an average price target of $36.31.

Is Heartland Payment Systems playing the right part in the new technology revolution? Computers, mobile devices, and related services are creating huge amounts of valuable data, but only for companies that can crunch the numbers and make sense of it. Meet the leader in this field in "The Only Stock You Need To Profit From the NEW Technology Revolution." Click here for instant access to this free report.