Distance to the Horizon

The observer's altitude is
Distance to the horizon is