Flickr

Investors loaded up shares on BJ's Wholesale Club (BJ - Get Report) Thursday as the chain known for its bulk discount prices beat analysts' earnings estimates.

BJ's stock price rocketed 10.35% to $24.90 in premarket trading as the wholesaler posted second-quarter earnings of $54.5 million, or 39 cents a share, compared with a loss of $5.6 million, or 5 cents a share, a year ago.

At 39 cents a share, earnings beat the 37 cents a share estimate of analysts surveyed by FactSet and Zacks Investment Research.

The wholesaler reported a 1.6% rise in comparable-store sales - a number that excludes gasoline sales - matching the consensus of analysts polled by FactSet.

Net sales rose 1.1% to $3.35 billion.

The Westborough, Mass.-based chain also maintained its 2019 outlook for sales of $12.9 billion to $13.2 billion and earnings of $1.42 to $1.50 a share.

Christopher J. Baldwin, BJ's chairman and CEO, said in a press statement that sales were "particularly strong" during the second half of the quarter as weather improved from mid-June through the beginning of August.

"Second quarter results for sales and earnings were in line with our expectations," Baldwin said. "We delivered improved margins and continued to grow earnings as we executed against our strategic priorities."

Save 57% With Our Labor Day Sale. Join Jim Cramer's Action Alerts PLUS investment club to become a smarter investor! Click here to sign up!