Gas consumption calculation