Right-triangle trigonometry
↺

Chosen angle
sin θ · O/H
cos θ · A/H
tan θ · O/A

Readings are rounded. Keep full calculator values when calculating a new length.

Ideal right-triangle geometry; the aircraft gives a distance context, not a flight simulation.