The increase was mainly due to increases in gasoline and natural gas prices, Statistics Canada said on Tuesday.