(Reuters) - Canadian National Railway Co (>> Canadian National Railway Company) reported better-than-expected quarterly profit and revenue on Tuesday, as the railroad moved higher volumes of commodities including Canadian grains and fertilizers.

Northern American railroad operators' results are being lifted this year by higher volumes because of improving economic conditions.

CN chief executive Luc Jobin said on a call with analysts that he expects volume growth during the second half of the year, despite tougher comparable figures from the fourth quarter of 2016. CN expects 10 percent growth in 2017 revenue ton-mile (RTM), which measures the relative weight and distance of freight transported by a railroad.

"It's a lot of volume coming at us," CN chief financial officer Ghislain Houle said on the call.

CN, which added 540 people between the first three months of 2017 and the end of the second quarter, will continue hiring and investing to support its intermodal and other businesses, Houle said.

During the fourth quarter, CN chief marketing officer Jean-Jacques Ruest said he was not yet sure how well volumes of U.S. coal and grains would perform.

"The fourth quarter question mark is on the bulk side," Ruest told analysts.

CN reaffirmed 2017 adjusted earnings per share of C$4.95 to C$5.10, despite headwinds posed by the rising loonie, which traded at 80 U.S. cents this week, a 14 month high.

CN earns what the company calls a "large portion" of its revenue in U.S. dollars, which has less value as the loonie rises.

Smaller rival Canadian Pacific Railway (>> Canadian Pacific Railway Limited) last week reported a better-than-expected quarterly profit as it earned more from higher shipments of commodities.

CN said total carloads, the amount of freight loaded into freight cars during a specified period, rose 14 percent, while rail freight revenue per carload increased 3 percent.

The railway's operating ratio, a key measure of efficiency, increased to 55.1 percent from 54.5 percent a year earlier. The lower the ratio, which measures operating costs as a percentage of revenue, the more efficient the railroad.

Canada's largest railroad company said net income rose to C$1.03 billion ($823 million), or C$1.36 per share, in the second quarter ended June 30 from C$858 million, C$1.10 per share, a year earlier.

Excluding items, the company earned C$1.34 per share, slightly ahead of analysts' average estimate of C$1.32, according to Thomson Reuters I/B/E/S.

Revenue rose 17 percent to C$3.33 billion, beating analysts' average estimate of C$3.27 billion.

(Reporting by Allison Lampert and John Benny; Editing by Sriraj Kalluvila and Grant McCool)

By Allison Lampert