Question: how to calculate the distance of the horizon?
Answer: If you want to know the distance to the horizon, first calculate your height of eye. ... 
Once you know your height of eye, you simply plug that into the following formula:
1.17 X the square root of height of eye = distance to the horizon in nautical miles.