The Earth is roughly 6370 km which is not far from 6400, so if your eyes are 2m = 0.002 km up then the horizon is about sqrt(264000.002) = sqrt(25.8) km away, which is roughly 5 km or a bit over 3 miles.
If you apply this to a 6 km tall mountain, the horizon is about sqrt(263706) km away which is about 276.5 km. So something of the same height at the opposite end of the horizon would be 553 km away. So the top distance of 538 km is pretty close to the maximum that we would expect.
What about an airplane? An airplane flies about 11 km up. So it can see around 375 km. If you work it out, that puts the horizon about 3.37 degrees below horizontal. This isn't much, but if you take a plumb line and a right angle on an commercial flight, it is enough to actually see that the horizon is below horizontal.