SEATTLE (AP) -- Real estate website operator Zillow (NASDAQ:ZG) posted a profit for its third quarter on Monday, reversing a loss a year earlier, as revenue grew sharply. But the Seattle-based company's revenue outlook for the current quarter fell shy of Wall Street's expectations, and its stock fell sharply after-hours.

Zillow earned $2.3 million, or 7 cents per share, in the July September period. That compares with a loss of $570,000, or 2 cents per share, in the same period a year earlier.

Revenue rose 67 percent to $31.9 million from $19.1 million.

Analysts, on average, were expecting earnings of 7 cents per share on revenue of $31.6 million, according to FactSet (NYSE:FDS).

For the current quarter, Zillow is forecasting revenue of $30 million to $31 million, below Wall Street's expectations of $32.5 million.

The company also said that it is buying Mortech, a Lincoln, Neb.-based software and services company that serves the mortgage industry. The purchase price is $12 million in cash plus 150,000 shares of restricted stock. If the deal is based on Zillow's closing price of $34.37 on Monday, that makes it worth about $17.2 million.

Zillow's stock plunged $7.99, or 23.3 percent, to $26.38 in after-hours trading. The stock had closed down $1.91, or 5.3 percent, at $34.37 in the regular session. That's up about 53 percent since the start of the year.

The Motley Fool owns shares of Zillow. Motley Fool newsletter services recommend FactSet Research Systems and Zillow. 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.