ForHosting KIT · Developer Utilities

Easting and northing to OSGB grid reference converter

Convert a British National Grid easting and northing into the familiar two-letter OSGB grid reference used on maps, in field records, and in location datasets across Great Britain.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

Choose how many digits to retain for each coordinate, from a broad 100 kilometre square to a precise one metre cell. The converter applies standard grid-square lettering and truncates coordinate digits correctly, producing a clean reference such as TQ 300 800 without requiring network access or a coordinate lookup service.

Provide coordinates in the correct grid system

Enter an easting and northing expressed in metres in the British National Grid. An easting measures distance eastward from the grid origin, while a northing measures distance northward. These values are not longitude and latitude, and the converter deliberately does not guess or transform the coordinate system. Before converting, confirm that the source identifies the values as British National Grid, OSGB, or EPSG:27700 coordinates. A plausible-looking pair from another projected system can still produce a plausible-looking grid reference, but it will describe the wrong place. Eastings must be at least zero and less than 700000; northings must be at least zero and less than 1300000. Decimal metre values are accepted, although only whole grid cells can be represented by the selected precision. The calculation is local and deterministic: the same coordinate pair and precision always produce the same text, with no geocoding request, place-name matching, or dependence on a remote map service.

Choose precision for the job

Precision is the number of digits shown for each coordinate inside its 100 kilometre lettered square. Zero returns only the two letters and identifies a 100 kilometre square. One digit per coordinate identifies a 10 kilometre square, two identify a one kilometre square, three identify a 100 metre square, four identify a 10 metre square, and five identify a one metre square. A precision of three therefore creates a conventional reference such as TQ 300 800, with three easting digits and three northing digits. More digits make the cell smaller, but they do not make the source measurement more accurate. Choose a precision that reflects how the coordinate was collected and how the reference will be used. A handheld observation recorded only to 100 metres should not be presented as a one metre position merely because extra digits can be printed. The output keeps leading zeroes, since they are significant parts of a grid reference.

Understand lettering and truncation

The first two characters identify the 100 kilometre National Grid square. The calculation derives those letters directly from the easting and northing square indices and skips the letter I, which is omitted from the grid alphabet to avoid confusion with the numeral one. The remaining numeric groups describe distance east and north within that square. Their order is always easting first, northing second: read along the corridor, then up the stairs. Digits are truncated at the requested precision rather than rounded. This matters near a cell boundary, because a grid reference conventionally identifies the south-west corner of the containing cell. Rounding could incorrectly move the reference into the neighbouring cell. The returned object includes the complete formatted reference, its two-letter square, the separate digit groups when precision is above zero, and the applied precision. This structure supports both direct copying and reliable downstream storage without requiring consumers to split the formatted text themselves.

Standardise field survey records

Turn metre-based eastings and northings into consistently spaced grid references before adding observations to reports or asset registers.

Prepare map labels

Generate readable OSGB references at a shared precision for printed maps, route notes, signs, or visitor information.

Normalise imported location data

Convert numeric coordinate columns into a standard reference field for search, comparison, export, or quality review.

What coordinate system should I use?

Use British National Grid eastings and northings, commonly identified as OSGB or EPSG:27700. Do not enter longitude and latitude.

What does precision mean?

It is the number of digits in each numeric group. Zero gives a 100 kilometre square, three gives a 100 metre square, and five gives a one metre square.

Why are coordinate digits truncated instead of rounded?

Truncation keeps the reference inside the cell containing the supplied point and identifies that cell from its south-west corner.

Are leading zeroes preserved?

Yes. Each numeric group is padded to the selected precision because leading zeroes carry positional meaning.

Does a five-digit precision guarantee one metre accuracy?

No. It produces a one metre grid cell, but the true accuracy remains limited by the source coordinates and how they were measured or transformed.

What does the API request cost?

The API price is $0.002 per request. The same deterministic conversion can also run in the browser.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/geo/osgb-grid-reference

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/geo/osgb-grid-reference \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"easting":530000,"northing":180000}'
{
  "easting": 530000,
  "northing": 180000
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "geo.osgb_grid_reference",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →