Tesla just posted its best second quarter ever, delivering 480,126 vehicles globally and leaving Wall Street’s forecast in the rearview mirror. Analysts had penciled in somewhere between 397,000 and 406,000 deliveries. Tesla beat the high end of that range by roughly 74,000 units.

The numbers behind the surge

Year-over-year, deliveries climbed 25%. Quarter-over-quarter, the jump was even more dramatic at 34%. Production came in at 451,758 units, which means Tesla delivered roughly 28,000 more vehicles than it built during the quarter.

The geographic story is equally interesting. Europe and international markets were the primary engines behind the delivery beat, compensating for what appears to be softer demand in North America.

Context matters: two years of pressure