How do I calculate horizon distance from a given height?
You need an angle as well.
then you can use trigonometry.