FX Energy (Nasdaq: FXEN) reported earnings on Aug. 9. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended June 30 (Q2), FX Energy missed estimates on revenue and exceeded expectations on earnings per share.

Compared to the prior-year quarter, revenue shrank and GAAP earnings per share dropped to a loss.

Gross margins improved, operating margins grew, and net margins shrank.

Revenue details
FX Energy logged revenue of $8.6 million. The four analysts polled by S&P Capital IQ looked for sales of $9.4 million on the same basis. GAAP reported sales were 6.6% lower than the prior-year quarter's $9.2 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.02. The four earnings estimates compiled by S&P Capital IQ averaged $0.00 per share. GAAP EPS were -$0.23 for Q2 compared to $0.05 per share for the prior-year quarter.

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 84.6%, 890 basis points better than the prior-year quarter. Operating margin was 17.2%, 2,340 basis points better than the prior-year quarter. Net margin was -141.2%, 16,890 basis points worse than the prior-year quarter.

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

Next year's average estimate for revenue is $34.1 million. The average EPS estimate is $0.03.

Investor sentiment
The stock has a three-star rating (out of five) at Motley Fool CAPS, with 126 members out of 144 rating the stock outperform, and 18 members rating it underperform. Among 18 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 16 give FX Energy 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 FX Energy is buy, with an average price target of $9.88.