NEW YORK (TheStreet) -- TubeMogul  (TUBE) shares soared in after-hours trading Tuesday after the software company reported second-quarter earnings and issued guidance that handily beat analysts' expectations.

The company reported a net gain attributable to common stockholders of a penny per diluted share, up from a loss 39 cents a share in the same period one year earlier. Revenue rose year-over-year to $28.72 million from $12.64 million. The consensus estimate called for a loss of 15 cents a share on revenue of $24.7 million.

TubeMogul expects third-quarter revenue in the range of $20 million to $22 million and full-year revenue in the range of $98 million to $102 million. Analysts expect third-quarter and full-year revenue of $18.94 million and $91.71 million, respectively.

STOCKS TO BUY: TheStreet Quant Ratings has identified a handful of stocks that can potentially TRIPLE in the next 12 months. Learn more.

The stock was up 24.73% to $11.50 at 4:46 p.m.

Image placeholder title

TUBE

data by

YCharts

EXCLUSIVE OFFER: See inside Jim Cramer's multi-million dollar charitable trust portfolio to see the stocks he and Stephanie Link think could be potentially HUGE winners. Click here to see the holdings for FREE.

Editor's Note: Any reference to TheStreet Ratings and its underlying recommendation does not reflect the opinion of TheStreet, Inc. or any of its contributors including Jim Cramer or Stephanie Link.