Tesla shares soar on surprise third-quarter profit that beats Wall Street expectations

Wedbush Securities begins coverage of Tesla shares with an outperform rating.

Tesla shares soared by more than 12 percent after the company reported a surprise profit for the third quarter as CEO Elon Musk made good on his promise to start turning regular profits in the last half of the year.

The company's earnings report, released after the markets closed Wednesday, also showed better-than expected car sales and a faster timeline on its Model 3 production. The electric car maker said its midsize Model 3 sedan, which it hopes to produce on mass scale, was the best-selling car in the U.S. when measured by revenue and the fifth best-selling car in terms of volume.

Musk told analysts on a call it was an "incredibly historic quarter" for the young car company. It was welcome news for investors following an otherwise a tumultuous few months.

Here's how the company did compared with what Wall Street expected, based on average estimates of analysts polled by Refinitiv:

  • Adjusted earnings: $2.90 a share vs. an expected loss of 19 cents per share

  • Revenue: $6.82 billion vs. an expected $6.33 billion

Tesla posted net income of $311.5 million, or $1.75 per share, compared with a loss of $619.4 million, or $3.70 per share, a year ago. Revenue surged 70.5 percent from $4 billion a year ago.

After one-time adjustments, Tesla (TSLA) earned $516 million during the quarter. It was Tesla's third profitable quarter and compares with an adjusted loss of $520 million during the same period last year.

Musk previously said the company would become sustainably profitable by now , having had just two profitable quarters prior to Wednesday's report since it went public in 2010. The company confirmed that it also expects to generate a profit during the fourth quarter.

Production rates improve

Tesla gave investors hope that its production rates will improve, saying that the number of labor hours to build the Model 3 fell by more than 30 percent from the second to the third quarter, and it took less time to build than the Model S sedan and Model X sport utility vehicle — another first for the company.

The electric car maker has been struggling to ramp up production of its Model 3 sedan, telling investors Oct. 2 that it made 53,239 of the vehicles during the quarter. That fell just shy of its goal of producing an average of 5,000 a week, but the company said it built more than 5,300 during the last week of the quarter.

"We will focus even further on cost improvements while continuing to increase our production rate" during the fourth quarter, the company said.

Strong demand for the Model 3 also bolstered the results. Musk told analysts on a call that demand for Model 3s was "probably on the order of anywhere from 500,000 to 1 million cars a year."

The company said customers were trading in cheaper vehicles to buy a Model 3, "even though there is not yet a leasing option."

"This leads us to believe that the total market potential for Model 3 is larger than just the premium sedan," the company said.

Musk announced on Twitter Tuesday that the company is limiting certain options on its higher-end Model S sedans and Model X SUVs to streamline production. The company also recently announced plans to start selling a $45,000 version of the Model 3; the price was raised this week to $46,000. It has yet to produce the base Model 3, which it has promised for a price of $35,000 before incentives.

The company said it was "working hard" to bring down the price on its Model 3 to $35,000. "Better than expected Model 3 cost reduction is allowing us to bring more affordable options to the market sooner," the company said, noting its slight price cut over the last week.

China accelerates

Tesla said it was accelerating its Model 3 production, especially in China where it just bought land for a factory.

"We are definitely going to do local production in China, we are moving rapidly on that," Musk told analysts, adding that Tesla will be producing Model 3s in China next year.

The company said earlier this month that was moving fast on building a factory in Shanghai to try to minimize the impact of tariffs there, which it said increased the tax rate on Teslas sold in China to 40 percent, compared with 15 percent for all other imported cars. The company paid 973 million yuan, or $140 million for an 864,885-square meter plot in Shanghai's Lingang area for the new factory last week.

The company's cash position also improved by $731 million during the quarter, despite repaying $82.5 million in bonds, the company said. It said it had $881 million in free cash flow, cash produced through operations minus capital expenses, and expects flat or positive free cash flow next quarter as well, even with greater debt coming due.

"Our cash position should remain at least flat in spite of our plan to repay $230 million of convertible notes in cash during Q4," the company said.

Tesla's had been burning cash at a rate of almost $1 billion per quarter, and is expected to need more to proceed with its plans to build factories in China and Europe. Tesla also needs to invest in its Fremont, California, factory to continue to ramp up production there. It also wants to develop the Model Y, a new roadster and a heavy-duty truck.

This is Tesla's first earnings report since the company and Musk agreed to pay a combined $40 million to settle civil fraud charges with the Securities and Exchange Commission over his Aug. 7 tweets about taking the company private at $420 a share . It's also Musk's last report as chairman for at least three years. The agency is allowing him to stay on as CEO, but gave him 45 days to resign his role running the board as part of the settlement.

Shares of the company have been whipsawed over the last quarter with record trading volume and wild daily swings, depending on the news. The stock, which closed at $288.50 a share Wednesday, had tumbled by more 25 percent since Musk's now-infamous take-private tweets sent shares soaring to an intraday high of $387.46 a share on Aug. 7.

Executives are holding a conference call with investors to discuss the company's results at 6:30 p.m. ET.

—CNBC's Lora Kolodny and Robert Ferris contributed to this article.

WATCH: Gene Munster gives his take on Tesla earnings