ETA: The OP’s post just above mine wasn’t there when I loaded the page. This is in response to the OP’s original post #1.
Back to the OP …
Your location is apparently London.
As said above clouds in your area can be at any altitude from zero (fog) to roughly 40,000 ft (high cirrus in summer).
For most purposes we can ignore the curvature of the earth.
Assuming a flat earth, simple trig says that the distance to the spot beneath a cloud will be cloud height / tan (look angle). Where “lookangle” means the angle above the horizon to the cloud from your location.
For a 45 degree look angle, the cloud is exactly as far away as it is high. So if it’s at 25,000 ft it’s about 5 miles up & therefore about 5 miles away.
for a 30 degree look angle it’s about 1.73 (or very very roughly twice) as far away as it is high.
For a 60 degree look angle, it’s about .57 (or very roughly half) as far away as it is high.
The relationship of distance and angle isn’t linear because the tangnet function isn’t linear.
For a 10 deree look angle the cloud is about 5.6 times as far away as it is high. At 5 degrees it’s about 11 times farther away as it is high. And at 15 degrees it’s about 3.7 times farther away as it is high.
So armed with these rough factors you can estimate cloud distances once you can estimate clould heights & look angles.
For very shallow look angles (“clouds on the horizon”), you’re not going to get a good answer. At low look angles a small error in angle estimation (looks like 2 degrees to me; or is it 3?) will double or halve the distance you’d compute. Likewise, it’s very hard to decide how high distant clouds are. The cloud type gives you some hints, but even then the uncertainty is a factor of 2 or 3 or even 10. e.g. Fair weather puffy cumulus could be anywhere from 1,500 ft to 15,000 ft. Cirrus is found anywhere from ~25,000 to ~40,000
If you have access to a local aviation weather report they will include cloud layer heights above the ground which will give you one half of the equation. See also here http://en.allexperts.com/q/Meteorology-Weather-668/2009/6/Cloud-base-heights.htm for a technique to estimate the height of the base of the lowest clouds if you know both the temperature & dew point. This technique works most places most times, but there are exceptions.
To bound the problem (based on the OP’s post just above mine) …
5 degrees is about as shallow as you can estimate accurately, and 8 miles up is about as high as clouds can get in your area. So ballpark the farthest away they can be is about 88 miles. And at that distance the curvature iof the earth isn’t zero, but it’s a lot smaller than the uncertainly in the other numbers & hence can (& should) be ignored.