This might get a little complicated.
Factors that affect time of flight are,
Barrel Length.
Shell Charge
Atmospheric pressure.
Humidity
Gun's muzzle velocity.
Shell Weight.
Planetary Rotation.
Weather; precipitation & wind for example.
Barrel temperature.
Charge Temperature.
Barrel elevation.
Air Density.
And more. In the good old days when I was at RSA Larkhill they would teach us ""emergency manual firing" which involved a slide rule, an inch and a half thick book of firing tables, various plotting boards, graphs and a sheaf of meteorology reports. Apparently they don't teach it anymore and I met a number of senior officers surprised to find I knew how to do it.
The whole thing would take minutes to calculate bearing, elevation, time of flight and most suitable charge for any given target. A specialised computer like Gunzen or FCA can do the whole thing in a second.
So in answer to your question, nope, no easy way to calculate it.