| Postcode | DG3 5AZ | 
|---|---|
| Post Town | Thornhill | 
| Nearest station | Sanquhar (15 km) | 
| Bus stops | Village (N) Carronbank (S) Carronbank (N) | 
| Number of UPRNs | 3 View | 
| Businesses | 
                        No businesses found
                     | 
| Latitude | 55.266153 | |
|---|---|---|
| Longitude | -3.774801 | |
| Easting | 287322 | |
| Northing | 598324 | |
| Grid reference | NX873983 | |
| UTM reference | 30U 450766 6124682 | |
| what3words | joined.plankton.reclusive | |
| FixPhrase | crushed lunchbox stadium triceps | |
| Plus code | 9C7R768G+F3 | |
| Altitude | 107 metres (351 feet) | |
| Sunrise (today) | 7:18 | |
| Sunset (today) | 16:41 | |
| Distance away | ||
| Distance to sea | 31.7 KMs (19.7 miles) | 
| Ward | Mid and Upper Nithsdale | S13002886 | 
|---|---|---|
| Council Area | Dumfries and Galloway | S12000006 | 
| Constituency (2024) | Dumfriesshire, Clydesdale and Tweeddale | S14000074 | 
| MP | David Mundell | Conservative | 
| Police force | Scotland | |
| Water company | Scottish Water | |
| NUTS/ITL 3 | Dumfries and Galloway | |
| NUTS/ITL 2 | Southern Scotland | |
| NUTS/ITL 1 | Scotland | |
| Country | Scotland | S92000003 | 
| Date introduced | January 1980 | 
|---|---|
| Last updated | September 2025 | 
| User type | Small (addresses receive less than 25 items of mail per day) | 
| Quality | Within the building of the matched address closest to the postcode mean | 
| Population (2011) | 5 | |
|---|---|---|
| Households (2011) | 2 | |
| Index of Multiple Deprivation (2019) | Most deprivedLeast deprived | |
| Rural/urban (2021) | Accessible Rural | |
| Rural/urban (2011) | Remote rural area | |
| Census output area (2021) | S00146113 | |
| Census output area (2011) | 1A3 | |
| Lower layer super output area (2011) | Thornhill - 01 | S01007559 | 
| Middle layer super output area (2011) | Thornhill | S02001420 | 
| Travel to work area | Dumfries | S22000055 |