Tilray's stock fell after the Canadian cannabis company reported a wider-than-expected loss for the second quarter after the markets closed Tuesday.

Here's what the company reported compared with what Wall Street was expecting, based on a survey of analysts by Refinitiv:

Adjusted earnings per share: A loss of 32 cents vs. a loss of 25 cents expected

Revenue: $45.9 million vs. $41.1 million expected

Shares of the Canadian pot company slid by more than 7% in after-hours trading.

On an unadjusted basis, Tilray reported a second-quarter net loss of $35.1 million, or 36 cents per share, wider than its loss during the same quarter last year of $12.8 million, or 17 cents per share.

After excluding for acquisition-related expenses and an inventory accounting charge, Tilray lost 32 cents per share, a steeper loss than the 25 cents per share analysts surveyed by Refinitiv expected.

Sales rose 371% to $45.9 million, beating expectations of $41.1 million. Tilray attributed the increase to its acquisition of hemp food producer Manitoba Harvest, Canada legalizing recreational marijuana last year and growth in international markets, especially in Europe.

Tilray's total kilogram equivalents sold reached 5,588 kilograms, tripling the 1,514 kilograms in the year-ago quarter. Investing in cultivation centers in Canada and Portugal increased Tilray's costs and ate into the company's gross margin.

"The way we look at it is it's early days, and we're continuing to invest to build long-term value for our shareholders," Tilray CEO Brendan Kennedy said on CNBC's "Closing Bell" on Tuesday.