Whole Foods Market reported an earnings beat and a slight miss on revenue after the closing bell Wednesday.
The upscale grocer posted adjusted earnings of 44 cents a share on revenues of $3.70 billion. Analysts expected Whole Foods to report earnings of about 41 cents a share on $3.74 billion in revenue, according to a consensus estimate from Thomson Reuters.
Whole Foods also said that total sales increased to $3.7 billion in the second quarter.
"We produced record sales and operating cash flow, and returned $144 million of capital to our shareholders. Through our improved cost structure and expense disciplines, we delivered strong EBITDA in a challenging sales environment," John Mackey, co-founder and co-CEO of Whole Foods, said in a statement.
Whole Foods shares were up more than 5 percent after the result, before giving back some of those gains. The stock was last up about 2 percent in after-hours trading.