K12 (NYSE: LRN) reported earnings on Feb. 5. Here are the numbers you need to know.

The 10-second takeaway
For the quarter ended Dec. 31 (Q2), K12 met expectations on revenues and beat expectations on earnings per share.

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

Margins grew across the board.

Revenue details
K12 booked revenue of $206.0 million. The seven analysts polled by S&P Capital IQ expected revenue of $208.1 million on the same basis. GAAP reported sales were 24% higher than the prior-year quarter's $166.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.24. The six earnings estimates compiled by S&P Capital IQ anticipated $0.22 per share. GAAP EPS of $0.24 for Q2 were 118% higher than the prior-year quarter's $0.11 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 40.4%, 100 basis points better than the prior-year quarter. Operating margin was 7.9%, 360 basis points better than the prior-year quarter. Net margin was 4.6%, 210 basis points better than the prior-year quarter.

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

Next year's average estimate for revenue is $847.7 million. The average EPS estimate is $0.69.

Investor sentiment
The stock has a two-star rating (out of five) at Motley Fool CAPS, with 164 members out of 188 rating the stock outperform, and 24 members rating it underperform. Among 50 CAPS All-Star picks (recommendations by the highest-ranked CAPS members), 41 give K12 a green thumbs-up, and nine give it a red thumbs-down.

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

Looking for alternatives to K12? It takes more than great companies to build a fortune for the future. Learn the basic financial habits of millionaires next door and get focused stock ideas in our free report, "3 Stocks That Will Help You Retire Rich." Click here for instant access to this free report.