International · Great Britain

OS grid reference converter.

Convert an Ordnance Survey National Grid reference (such as NN 166 712) or an easting and northing to WGS84 latitude and longitude, and convert latitude and longitude back to a grid reference.

Accuracy: this page uses the approximate Helmert method from the OS guide, which Ordnance Survey says is good to about 3.5 m (95%) in Britain. For survey work use OSTN15, the OS transformation. How it works: the National Grid is a Transverse Mercator projection on the Airy 1830 ellipsoid with its true origin at 49° N, 2° W. The grid’s false origin is 400 km west and 100 km north of that point, and the letters name 500 km then 100 km squares.

Source: Ordnance Survey, “A Guide to Coordinate Systems in Great Britain” v3.6 (2020)Verified 30 September 2026

Advertisement

Grid reference to lat/long

Two letters then an even number of digits (2 to 10), with or without spaces: NN 1671, NN 166 712, NN 16600 71200.

Easting and northing to lat/long

Lat/long to grid reference

Result

Enter a grid reference, an easting and northing, or coordinates and press the button.

Advertisement

How OS grid references work

The British National Grid is a Transverse Mercator map projection with scale factor 0.9996012717 on the central meridian, true origin at 49° N, 2° W, and map coordinates of E 400 000 m, N −100 000 m at that origin, on the Airy 1830 ellipsoid. That puts the grid’s zero point (the false origin) 400 km west and 100 km north of the true origin, just south-west of the Scilly Isles, so every coordinate in Britain is positive. To shorten references the grid is cut into 100 km squares with two-letter codes (first letter the 500 km square, second the 100 km square, letters A to Z without I, laid out as in Figure 8 of the guide). Digits after the letters are the easting and northing inside that square, measured from its south-west corner.

Grid reference length and precision
DigitsExampleIdentifies a square of
0NN100 km
2NN 1710 km
4NN 16711 km
6NN 166 712100 m
8NN 1660 712010 m
10NN 16600 712001 m

Which point you get: a grid reference names a square, and this tool converts the south-west corner of that square, which is the convention for the digits. A 6 figure reference is therefore up to 100 m south-west of the middle of its square.

Method and accuracy

Going from a grid reference to WGS84 latitude and longitude takes two steps. First the OS projection formulae (Annex C.2) turn easting and northing into latitude and longitude on the Airy 1830 ellipsoid, which is OSGB36. Then a datum transformation moves that to WGS84: the position is converted to 3D Cartesian coordinates (Annex B), a seven-parameter Helmert transformation is applied (translations −446.448, +125.157, −542.060 m; scale +20.4894 ppm; rotations −0.1502, −0.2470, −0.8421 arc seconds), and the result is converted back (position-vector convention, equation 3 of the guide; reversed by changing the sign of every parameter, as the guide describes). Going from latitude and longitude to a grid reference runs the same steps in the other direction.

Accuracy limit: the guide says this Helmert transformation is only approximate, with an error of up to 3.5 m (95%) horizontally and should not be used for work needing better than that, or outside Britain. Ordnance Survey’s accurate method is the OSTN15 grid transformation, which is distributed under its own licence and is not included here. Use the official OS tools or OSTN15 for surveying, legal boundaries and anything where a few metres matter.

Height: this tool ignores height (it assumes zero ellipsoid height), which moves the result by far less than the transformation error. Great Britain only: latitude and longitude outside about 49° to 61.5° N and 9.5° W to 3.5° E are refused, and grid references must lie inside the 700 km by 1300 km grid in Figure 8. Northern Ireland uses a different grid (the Irish Grid) and is not covered.

Checked against OS worked examples: the code is tested against the guide’s worked examples for Annex B (Cartesian), Annex C (projection both ways) and Annex D (Helmert, which turns 53° 36′ 43.1653″ N, 1° 39′ 51.9920″ W, 299.800 m into 422297.792 E, 412878.741 N).

Sources

Reading an OS grid reference, step by step

An Ordnance Survey National Grid reference is a compact way to say “this square of Britain”. It has two parts: two letters that pick a 100 km square, then digits that split into an easting (distance east) and a northing (distance north) measured from the south-west corner of that square. Always read the easting first. A reference with six digits, such as NN 166 712, splits into 166 and 712; a reference with eight digits, such as TQ 3027 7964, splits into 3027 and 7964. The two halves must be the same length, which is why the tool rejects NN 166 71 with “Easting and northing must have the same number of digits”.

Worked example. For NN 166 712 the NN square starts at 200 000 m east and 700 000 m north. The digits 166 and 712 mean 16 600 m and 71 200 m (each digit group is padded with zeros to five digits). Add them and the full coordinates are 216 600 E, 771 200 N. Converted to WGS84, that south-west corner is about 56.7961° N, 5.0047° W. Because six digits describe a 100 m square, the real middle of the square is about 50 m further north-east.

The reverse direction works the same way. A point in central London at 51.5007° N, 0.1246° W becomes TQ 30269 79640 (easting 530 269.9, northing 179 640.7 before rounding down to whole metres). If you already have two plain numbers, entering easting 530270 and northing 179641 in the easting/northing mode gives TQ 30270 79641.

Grid letters, digits and the usual input mistakes

  • Letters are not arbitrary. The letters run A to Z without I, and only the squares that actually cover Britain exist. A reference beginning II is rejected, and so is a single letter.
  • Spaces are optional. nn166712 and NN 166 712 are the same reference, and lower case is accepted. With no space the digits are split down the middle, so an odd number of digits cannot be read.
  • Ten digits is the maximum. Five plus five gives a 1 m square. A full numeric easting and northing such as 530270 179641 should go in the easting/northing fields instead of being typed after the letters.
  • Swapped values. Entering northing in the easting box produces a point far from where you meant, or an error that the value lies outside the 700 km by 1300 km grid.
  • Precision is not accuracy. A 10-digit reference names a 1 m square, but the converted latitude and longitude carry the uncertainty described below.

Why the accuracy limit exists, and what OSTN15 is

OS grid references are tied to the OSGB36 datum, while GPS receivers, web maps and this page's latitude and longitude use WGS84. Moving between them needs a datum transformation. This tool uses a seven-parameter Helmert transformation: simple, fully published, and good enough for walking, geocaching, planning and locating a postcode centroid. Ordnance Survey's own guide states that its error can reach 3.5 m (95%) horizontally, and OS's developer documentation says a Helmert-type transformation is limited to applications needing an accuracy of only about 3 m.

OSTN15 is the answer when you need more. OS describes it as the definitive OSGB36/ETRS89 transformation: a “rubber-sheet” grid of easting and northing shifts at one-kilometre resolution that also corrects the distortions in the old triangulation network, which a Helmert transformation cannot. This converter does not include OSTN15, so its output can differ from an OSTN15 result by a few metres. If you are marking a boundary, setting out a building or reconciling survey control, use Ordnance Survey's own tools instead.

Who this converter is for, and what it leaves out

It is for people who meet grid references in hiking guides, planning documents, historic-environment records, mountain-rescue reports or older GIS exports and want a latitude and longitude they can paste into a map, or the other way round. It covers Great Britain only. It ignores height. It does not convert to or from the Irish Grid used in Northern Ireland, and it does not look up place names. For other projected systems, the UTM to lat/long converter handles UTM zones, the Maidenhead locator converter handles amateur-radio squares, and the distance between coordinates calculator measures between two latitude and longitude points once you have them.

Frequently asked questions

What is an OS grid reference?

An OS grid reference is a location in the Ordnance Survey National Grid for Great Britain. It uses two letters for a 100 km square followed by an even number of digits that give the easting and then the northing within that square, for example NN 166 712.

How do I convert latitude and longitude to an OS grid reference?

Enter the latitude and longitude in WGS84 decimal degrees and choose the lat/long mode. The tool applies a Helmert datum shift to OSGB36, projects onto the National Grid and returns a reference such as TQ 30269 79640 for a point in central London.

What do the digits in a six-figure grid reference mean?

The first three digits are the easting and the last three are the northing, each measured in 100 m steps from the south-west corner of the lettered 100 km square. NN 166 712 therefore means 16 600 m east and 71 200 m north of the NN square corner.

How accurate is this OS grid converter?

About 3.5 m (95%) horizontally. That is the limit Ordnance Survey states for the Helmert transformation used here. For legal boundaries, engineering or surveying you should use the OSTN15 transformation or Ordnance Survey tools, which are more accurate.

What is OSTN15?

OSTN15 is the Ordnance Survey grid transformation between ETRS89 and OSGB36. OS describes it as a rubber-sheet style transformation, using shift grids at one-kilometre resolution, and as the definitive OSGB36/ETRS89 transformation. This tool does not include it.

Which point does a grid reference give me?

The south-west corner of the square it names. A six-figure reference names a 100 m square, so the middle of that square is about 50 m north-east of the point the tool converts. Use more digits when you need the point closer to a specific spot.

Can I use this for Northern Ireland or outside Britain?

No. It is intended for Great Britain: latitudes and longitudes outside about 49 to 61.5 degrees north and 9.5 degrees west to 3.5 degrees east are refused. Northern Ireland uses the Irish Grid, which this tool does not convert.

Is my grid reference sent to a server?

No. The conversion runs entirely in your browser and nothing you type is transmitted, stored or logged.

Sources used for this guide (retrieved 2026-10)

Privacy and scope

This tool runs entirely in your browser. Nothing you type is transmitted, stored or logged. Results are approximate (up to about 3.5 m) and are not for surveying, navigation or legal use.

Advertisement