A brief history of the gravitational constant G is made and the current value is given. G for the Earth is calculated at perihelion and aphelion, resulting in different values. G is variable on a revolution in all cosmic bodies. Variable G is calculated for the solar system. The physical consequences with variable G are explained, which are valid for all cosmic bodies. Measurements of G are suggested to be made on Earth at perihelion and aphelion, on the International Space Station, and on the Moon.