Yes, there are many variables to consider, its a static equation, but there are assumptions such as gravity that changes over each short distance on the planet, temp, and product. For instance the temp of the medium under question changes density, as does sea level.
If its dynamic equation you...