X Percent of the Population of Scotland Lives Within Y Miles of Edinburgh

Follow up from the Glasgow post by request.

This is a pretty easy question to answer, using the 2011 Scottish Census population results and the Census Output Area Population Weighted Centroids. Then we get the extents of Edinburgh City Council from OS Boundary Line.

The results are:

,Pop. Count:,%
Scotland, 5295403, 100
Edinburgh , 476626, 9
25 km, 1276757, 24.1
50 km, 2500093, 47.2
50 miles, 3919910, 74
100 km, 4310869, 81.4
100 miles, 4812421, 90.9

So we see more than people live close to Glasgow, but with 50 miles + they are closer to the capital.

To see how these boundaries look on a map:

Population buffers around Edinburgh

A few caveats:
We are using the population weighted centroids, which will produce some minor inaccuracies, but is a very good generalisation.
Also we are using euclidean buffers on the British National Grid plain, so these are not geodesic buffers. The difference will likely be small at these distances.