Key facts
- Method: WGS84 to OSGB36 with Ordnance Survey's 7-parameter Helmert transformation and the National Grid projection; compared with OSTN15 at 757 British towns: mean error 1.7 m, maximum 4 m.
- Data and libraries: OpenFreeMap, MapLibre GL JS, Ordnance Survey National Grid (projection and transformation parameters), Irish Grid and Irish Transverse Mercator (projection and transformation parameters, EPSG registry), GeoNames (via all-the-cities), GeoNames postal codes (Great Britain), from Ordnance Survey Code-Point Open, Terrain Tiles (Mapzen / Tilezen on AWS Open Data).
- Free to use, with no sign-up and nothing to install.
Ordnance Survey maps of Great Britain are covered by the National Grid: blue lines every kilometre, numbered eastwards and northwards inside lettered squares of 100 km. A grid reference such as NN 166 712 names a spot by its square (NN, around Fort William) and the figures read from the lines: 166 east, 712 north, which together give a 100 m square on the summit of Ben Nevis. Walkers, mountain rescue, farmers, surveyors and planning applications all use these references, and they are what the emergency services ask for when a phone cannot give an address. Type or paste a reference with or without spaces, or a plain easting and northing, and the map jumps to the square it stands for, with the centre in decimal degrees and degrees, minutes and seconds. In the other direction, click the map, search for a town or press "Use my location" and read the reference with 2 to 10 figures, plus the full easting and northing in metres, each ready to copy. The National Grid is drawn on the map: the 100 km squares with their letters, and the 10 km, 1 km and 100 m lines as you zoom in, so you can read a reference the way you would on a paper Explorer or Landranger map. A whole list of references or coordinates, or a spreadsheet with grid references, eastings and northings or latitudes and longitudes, can be converted at once and downloaded as CSV, KML or GeoJSON, and the square can be saved as KML or GeoJSON.
How to use it
- Type a grid reference such as NN 166 712, or click the map, search a town or press "Use my location".
- Choose the precision, from 100 km (letters only) to 1 m (10 figures); 6 figures (100 m) is the usual choice for walkers.
- Copy the reference, the easting and northing or the latitude and longitude.
- Open "Convert a list or a spreadsheet" to convert many references, eastings/northings or coordinates at once – pasted from a spreadsheet or opened as a CSV file – and download them as CSV, KML or GeoJSON.
- Below the result you also find the height above sea level, the nearest postcode and town, and under "Distance to another grid reference" the distance and bearing to a second reference.
Example: Scafell Pike and Helvellyn in the Lake District
The summit of Scafell Pike, England's highest mountain, is at 54.45417° N, 3.21167° W. Clicked on the map, it gives easting 321540 and northing 507207, which is NY 21 07 with 4 figures (a 1 km square), NY 215 072 with 6 figures (100 m), NY 2154 0720 with 8 figures (10 m) and NY 21540 07207 with 10 figures (1 m). The 6-figure reference is the one printed on the Ordnance Survey Explorer map, and its centre is at 54.45456° N, 3.21153° W, about 44 m from the cairn: that is what a 6-figure reference means, a square 100 m across, not a point.
Typed the other way, NY 342 151, the reference for the top of Helvellyn, puts its 100 m square on the map. With "Distance to another grid reference", the two summits are 14.96 km apart in a straight line, bearing 57° (north-east) from Scafell Pike. The grid itself says 14.957 km, because the National Grid shrinks distances by about 0.03 % in the Lake District; the difference, under 5 m, matters for surveyors but not for walkers. Snowdon (Yr Wyddfa) works the same way: SH 609 543 in Wales.
What grid references are used for
- Planning a walk on an Explorer or Landranger map and writing the start, the summits and the escape routes as 6-figure references a group can find on paper.
- Telling mountain rescue or the emergency services where someone is when there is no address: an 8-figure reference from the phone's position puts them within 10 m.
- Planning applications, ecological surveys, tree and field records, which ask for a site's grid reference or its easting and northing.
How accurate is it?
How the conversion works
GPS and web maps use WGS84 latitude and longitude, while the National Grid is drawn on the older OSGB36 datum and the Airy 1830 ellipsoid. The tool converts between them in your browser with the 7-parameter Helmert transformation Ordnance Survey publishes for this purpose, then projects with the National Grid's Transverse Mercator formulas, which are exact to the millimetre. We checked the result against Ordnance Survey's official transformation OSTN15 at 757 towns across Great Britain: on average the two differ by 1.7 m, 95 % of towns are within 2.4 m, and the largest difference, in west Cornwall, is 4.0 m.
What that means for a grid reference
A 6-figure reference names a 100 m square and an 8-figure reference a 10 m square, so the few metres from the Helmert transformation only matter at the edge of a square, where the last figure can be one out. For a 10-figure (1 m) reference, or for survey work, use OSTN15 itself, for example in Ordnance Survey's free coordinate transformation tool. The phone's own position is usually good to 5–10 m outdoors, which is often a bigger error than the transformation.
Truncated, not rounded
Grid references are cut off, not rounded: NN 166 712 is the square whose south-west corner is 216,600 m east and 771,200 m north, and every point inside it has that reference. The tool therefore draws the whole square on the map and gives its centre, and a typed reference is never mistaken for a single point.
Height, nearest postcode and distance
The height comes from the open Terrain Tiles elevation model, read at the clicked point or at the centre of a typed square. Where a national lidar model is behind the data, as in much of Britain, it is usually within a metre or two of the ground; elsewhere allow 5–10 m, and it is always the bare ground, not a roof or a treetop. The nearest postcode is the closest postcode centre from Ordnance Survey's Code-Point Open (via GeoNames), with the distance and compass direction to it. A postcode centre stands for a group of addresses, not a property boundary, so in open country the nearest one can be a farm a kilometre away. The nearest town is the closest place with 15,000 inhabitants or more. The distance to a second grid reference is measured on the ellipsoid from the point, or the centre of the square, to the centre of the second square: a straight line, not a walking route, and a 6-figure reference can move each end by up to about 70 m.
Irish Grid and ITM
In Ireland and Northern Ireland the tool gives the Irish Grid reference (TM75 datum on the Airy Modified ellipsoid, EPSG:29903), with one letter for each 100 km square, such as O 159 346 in central Dublin, and the Irish Transverse Mercator (ITM, EPSG:2157) easting and northing that Tailte Éireann and OSNI have used since 2001. The shift from GPS coordinates to the Irish Grid uses the published 7-parameter Helmert transformation, generally good to 1–2 m; ITM is defined on ETRS89, which differs from WGS84 by under a metre. In tests at seven points across the island, the projection formulas agree with PROJ to within 5 cm. The official grid-based transformation between ITM and the Irish Grid is not used, so for survey work check the last figures with it.
Spreadsheets and CSV files
Open "Convert a list or a spreadsheet" and paste cells copied from Excel, Google Sheets or LibreOffice, or open a CSV, TSV or text file of up to 1,000 rows. The tool reads the column names: a column called GridRef, Grid reference, OSGR or NGR is read as grid references (British or Irish); Easting and Northing, or X and Y in metres, as British National Grid, or as Irish Grid or ITM when the names start with IG or ITM; latitude and longitude as GPS coordinates. The status line says which columns it used, so a wrong guess is easy to spot. The CSV keeps every original column and adds the latitude, longitude, reference, easting, northing, precision, grid (EPSG:27700 or EPSG:29903) and, in Ireland, the ITM easting and northing; a row that cannot be read stays in place with the reason. Grid references keep their own precision; coordinates and eastings/northings get the precision chosen above.
Good to know
Easting first
The figures are read easting first, then northing ("along the corridor, then up the stairs"). Swapping them gives a valid reference somewhere else entirely. If a reference ends up in the sea or in the wrong place, check the order and the two letters.
Northern Ireland, Ireland and the Channel Islands
The National Grid covers Great Britain and the Isle of Man. On the island of Ireland the tool switches to the Irish Grid, with single letters, and to ITM, and draws the Irish Grid on the map; a two-letter British reference is still read as British, wherever it lands. Jersey and Guernsey lie south of the National Grid and have their own grids (EPSG:3109 and EPSG:3108); there the tool says the point is outside the National Grid and gives no reference.
Lost leading zeros
Each half of the figures must have the same number of digits. SD 372 036 is not the same as SD 372 36, which is invalid; spreadsheets often drop leading zeros from eastings and northings, so check the figures before pasting a list.
Frequently asked questions
How accurate is a 6-, 8- or 10-figure grid reference?
Each extra pair of figures makes the square ten times smaller: 4 figures name a 1 km square, 6 figures 100 m, 8 figures 10 m and 10 figures 1 m. A phone's GPS is usually good to 5–10 m outdoors, so 8 figures is the most it can honestly give; 10 figures only make sense for surveyed points. The conversion itself is within about 4 m of Ordnance Survey's OSTN15, so a 6-figure reference can only differ from the official one when the point lies within a few metres of a square's edge.
What is a 4-figure grid reference?
Two figures for the easting and two for the northing name a 1 km square, the blue grid squares on an Ordnance Survey map: NY 21 07 is the square that contains Scafell Pike. It is enough for a village or a wood, but not for a meeting point; give 6 figures for that. Choose 4 figures in the precision list to see the square on the map.
How do I find my grid reference?
Press "Use my location" and allow your browser to share its position. The tool shows your grid reference at the precision you choose, 6 figures by default, with a button to copy it.
How do I read a 6-figure grid reference?
Take NN 166 712. NN is the 100 km square. The first three figures, 166, are the easting: line 16 plus six tenths of the way to line 17. The last three, 712, are the northing: line 71 plus two tenths. Where the two meet is the south-west corner of the 100 m square.
How do I convert a grid reference to latitude and longitude?
Type the reference, with or without spaces, and press Show. The panel gives the centre of the square in decimal degrees, ready for a GPS or Google Maps, and in degrees, minutes and seconds.
What is the difference between a grid reference and an easting and northing?
An easting and northing are the full distances in metres from the grid's false origin south-west of the Isles of Scilly, for example 216600, 771200. The grid reference replaces the hundreds of kilometres with the two letters and keeps the remaining figures, so it is shorter to write and say.
Does this work offline or on a phone?
It works on any phone or computer with a browser. The calculation runs on your device; only the background map needs a connection.
How do I get a 6-figure grid reference from Google Maps?
Google Maps shows latitude and longitude, not grid references. Right-click the spot on a computer (or press and hold on a phone) and copy the coordinates, then paste them into the box here: you get the 6-figure grid reference, the full easting and northing and the 100 m square on the map. The answer is accurate to about 4 m, well within a 6-figure square.
How do I find the grid reference of a postcode?
Type the postcode, such as CA12 5DJ, in the search box and pick it from the list: the map jumps to the centre of the postcode and shows its grid reference, easting and northing. Royal Mail puts the average full postcode at about 15 addresses, usually on one street or part of one, so its 6-figure reference normally falls on that street; click the exact building or field for a precise one. Postcodes come from Ordnance Survey Code-Point Open via GeoNames and are looked up in your browser.
How do I find the height of a grid reference?
Type the grid reference, or click the spot, and the panel shows the height above sea level in metres and feet under the reference. It is read in your browser from an open elevation model, so expect a metre or two of error where lidar exists and 5–10 m elsewhere. For a summit, the spot height printed on the Ordnance Survey map is more exact.
How far apart are two grid references?
Open "Distance to another grid reference" below the result and type the second reference. The tool gives the straight-line distance in kilometres and miles and the bearing from the first reference to the second, measured on the ellipsoid, and draws the line on the map. A walk is longer, because paths bend and climb.
How do I find an Irish Grid reference?
Click the spot in Ireland or Northern Ireland, search for the town or press "Use my location": the panel gives the Irish Grid reference, such as O 159 346 for central Dublin, at the precision you choose, with the Irish Grid and ITM eastings and northings and the latitude and longitude. Type a reference with one letter, such as J 338 740, to see its square on the map.
How do I convert ITM coordinates to latitude and longitude?
Type ITM followed by the easting and northing, for example ITM 715826 734697, and press Show. The tool gives the Irish Grid reference, the latitude and longitude and the point on the map, calculated in your browser. Without the word ITM, two large numbers are read as a British easting and northing.
How do I convert a spreadsheet of grid references to latitude and longitude?
Copy the cells from the spreadsheet, including the header row, and paste them into "Convert a list or a spreadsheet", or save the sheet as CSV and open the file. A column named GridRef (or Grid reference, OSGR, NGR) is found by itself, and the downloaded CSV has your columns plus latitude and longitude in decimal degrees, ready for Google My Maps, QGIS or a GPS. Up to 1,000 rows are read at a time, in your browser.
How do I convert eastings and northings in Excel to grid references?
Paste the Easting and Northing columns with their header, or open the sheet saved as CSV, and choose the precision, such as 6 figures. Each row gets its grid reference, such as SD 372 036, and its latitude and longitude, and the points appear numbered on the map. Columns named ITM E and ITM N, or IG Easting and IG Northing, are read as Irish coordinates; plain names are read as British National Grid.
Something wrong or missing? E-mail [email protected] and it will be fixed.