Investors were expecting good news from Target (NYSE:TGT) in its second-quarter earnings report. Peers like Walmart (NYSE:WMT) had recently announced accelerating sales growth thanks to strengthening economic trends and favorable weather patterns, after all. And Target's management team said in late May that its recent customer traffic trend -- the best rate the retailer had managed in a decade -- had strengthened further into the first few weeks of the new quarter.

Target surpassed even those high expectations in an earnings report Wednesday that was almost uniformly positive.

Let's take a closer look at the latest results. 

 Metric

Q2 2018

Q2 2017

YOY Growth

Revenue

$16.6 billion

$16 billion

7%

Net income

$718 million

$678 million

5.9%

Earnings per share

$1.34

$1.23

8.9%

Data source: Target. YOY = year over year.

What happened this quarter?

Sales gains shot up to a new high thanks mainly to surging customer traffic. Target's e-commerce business, meanwhile, continued to pressure profitability. But those issues weren't a significant drag on overall earnings results.

Two women share a secret while shopping.

Image source: Getty Images.

A few key highlights of the quarter:

  • Comparable-store sales more than doubled to a 6.5% rate as customer traffic jumped to a 6.4% gain from 7% last quarter. Target has now enjoyed three straight quarters of accelerating shopper volume.
  • E-commerce sales growth sped up to 41% and contributed 1.5 percentage points of the retailer's overall growth for the period.
  • Gross profit margin ticked down to 30.3% of sales from 30.4%, while expenses ticked up to 21.7% of sales from 21.6%. Together, these trends lowered operating margin to 6.4% of sales from 6.6% a year ago. Still, overall operating income rose to $1.13 billion from $1.09 billion.
  • Target was an aggressive buyer of its own stock, spending $431 million on buybacks compared to $330 million of dividend payments.

What management had to say

"We are extremely pleased with Target's second quarter results, which demonstrate our guests' excitement for the enhanced and differentiated shopping experience we're building," CEO Brian Cornell said in a press release. Executives tied the rebound to growth in the broader economy but also said it reflected progress on key initiatives including cost cuts and improvements to the customer shopping experience. Cornell pointed out that the customer traffic metric was a 10-year high, and comp growth was "Target's best in 13 years."

As for the slight decline in profitability, management said investments in the e-commerce channel more than offset the positive impact of cost improvements and higher prices.

Looking forward

Cornell and his team are feeling more confident about their 2018 growth outlook now that half of the fiscal year has passed. As a result, Target lifted its sales forecast and now sees comps rising by about 5% compared to the prior forecast of low-single-digit growth.

The earnings picture is brightening, too. After falling by double digits last quarter, and for the full 2017 year, operating income has rebounded to a 3.6% decline so far in 2018. Thus, with demand spiking both online and in stores, the retailer is in a good position to improve on the sharp drop it posted in fiscal 2017.

It's conceivable that, with a solid holiday performance, the retailer might even return to modest core earnings growth this year, ahead of management's forecast of an overall rebound starting in 2019.

Demitrios Kalogeropoulos has no position in any of the stocks mentioned. The Motley Fool has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy.