A loading gauge is the envelope or contoured shape within which all railway vehicles, engines, coaches and trucks must fit. It is dictated by the size of tunnels, height of bridges and shape and height of platforms.It varies between different countries and may also vary on different lines within a country.