Just a quick note...after reading the many posts on this board. The longer the pipe run (from the gas meter) the larger the diameter needed. Also, care must be taken when tying into the existing house piping.
Usually an appliance (like a hot water tank) is installed with the minimum diameter...