Japan Plane Rectangular Coordinate Converter | Convert latitude and longitude (decimal, DMS or degrees and decimal minutes) to X and Y in metres in zones I–XIX of the Japan Plane Rectangular Coordinate System with the grid convergence and scale factor, convert X and Y back to latitude and longitude, get the standard grid square mesh codes (primary, secondary, tertiary, half, quarter and eighth) and the area of a mesh code, the distance and azimuth between two points (GRS80, Vincenty), a simple Tokyo Datum ⇔ world geodetic system conversion, and a list of the 19 zone origins and areas

The Japan Plane Rectangular Coordinate Converter is a free tool that turns latitude and longitude into the X and Y of the plane rectangular coordinate system (zones I–XIX) used for surveying and public coordinates in Japan, and turns X and Y back into latitude and longitude. It uses the same formulas as the Geospatial Information Authority of Japan (GRS80 ellipsoid, scale factor 0.9999) and also shows the grid convergence and scale factor. Latitude and longitude can be typed as decimal degrees, degrees-minutes-seconds or degrees and decimal minutes, and pasting “35.68, 139.76” from Google Maps fills in both. It lists the standard grid square mesh codes for the same point (primary 4 digits, secondary 6, tertiary 8, plus half, quarter and eighth meshes), and from a mesh code it finds the latitude and longitude of the south-west corner, north-east corner and centre along with the size. It also gives the distance and azimuth between two points (Vincenty on GRS80), a simple conversion between the old Tokyo Datum and the world geodetic system, the origins and areas of the 19 zones, and the sizes of each mesh. Everything is calculated in your browser, and your location is never sent to a server.

Convert latitude and longitude

Enter latitude and longitude as decimals (35.681236) or as DMS (35°40′52.45″, 35 40 52.45 or N35°40′52.45″). Paste “35.68, 139.76” from Google Maps into the latitude box and it is split into latitude and longitude.

Datum of the values entered

Decimal (world geodetic system)

35.681236, 139.767125

DMS: 35°40′52.45″ / 139°46′01.65″

Degrees and decimal minutes (DMM, as on GPS units)

35°40.8742′ 139°46.0275′

The seconds divided by 60 and added to the minutes.

In the old Tokyo Datum (approx.)

35.678009, 139.770334

DMS: 35°40′40.83″ / 139°46′13.20″

Plane rectangular zone IX (m)

X -35,363.238 / Y -5,992.920

Grid convergence -0.038618°, scale factor 0.999900
Grid square mesh codes
Mesh typeMesh code
Primary mesh (about 80 km square)5339
Secondary mesh (about 10 km square)533946
Tertiary mesh (about 1 km square, basic grid square)53394611
Half mesh (about 500 m square)533946113
Quarter mesh (about 250 m square)5339461132
Eighth mesh (about 125 m square)53394611323
Open in Google MapsOpen in GSI Maps

From plane rectangular coordinates to latitude and longitude

Enter X (north) and Y (east) in metres from a survey drawing or public coordinates to get latitude and longitude (world geodetic system JGD2011).

Latitude and longitude (decimal)

35.68123600, 139.76712500

DMS: 35°40′52.45″ / 139°46′01.65″

Tertiary mesh / eighth mesh

53394611 / 53394611323

In surveying X points north and Y points east (the reverse of x and y in maths). If the drawing's coordinates are in mm or km, convert them to m first.

Look up the area of a mesh code

From a 4-digit (primary), 6-digit (secondary), 8-digit (tertiary) or 9–11-digit (half, quarter, eighth) mesh code, find the latitude and longitude of the south-west corner, north-east corner and centre.

Mesh type

Tertiary mesh (about 1 km square, basic grid square)

About 925 m north-south × 1,132 m east-west

Centre

35.679167, 139.768750

South-west corner

35.675000, 139.762500

35°40′30.00″ / 139°45′45.00″

North-east corner

35.683333, 139.775000

35°41′00.00″ / 139°46′30.00″

Distance and azimuth between two points

Calculates the distance from the point entered at the top (A) to the point entered here (B) with the Vincenty method on the GRS80 ellipsoid. The same datum as above is used.

Distance

403.827 km

403,826.69 m

Azimuth of B from A

255.64°

WSW (clockwise from north)

Heading on arrival at B

253.18°

Azimuth of A from B is 73.18°

Origins and areas of the 19 zones

Zones are set by prefecture (by municipality or island in Hokkaido, Tokyo, Okinawa and some others). X and Y are 0 at the origin.

List of plane rectangular zones
ZoneOrigin latitudeOrigin longitudeMain area
I33°00′129°30′Nagasaki and Kagoshima's western and southern islands (Koshiki, Amami and others)
II33°00′131°00′Fukuoka, Saga, Kumamoto, Oita, Miyazaki and Kagoshima (except the islands in zone I)
III36°00′132°10′Yamaguchi, Shimane and Hiroshima
IV33°00′133°30′Kagawa, Ehime, Tokushima and Kochi
V36°00′134°20′Hyogo, Tottori and Okayama
VI36°00′136°00′Kyoto, Osaka, Fukui, Shiga, Mie, Nara and Wakayama
VII36°00′137°10′Ishikawa, Toyama, Gifu and Aichi
VIII36°00′138°30′Niigata, Nagano, Yamanashi and Shizuoka
IX36°00′139°50′Tokyo (except the remote islands), Fukushima, Tochigi, Ibaraki, Saitama, Chiba, Gunma and Kanagawa
X40°00′140°50′Aomori, Akita, Yamagata, Iwate and Miyagi
XI44°00′140°15′Western Hokkaido (Hakodate, Otaru, Date, Hokuto and others)
XII44°00′142°15′Central Hokkaido (Sapporo, Asahikawa, Tomakomai, Wakkanai and others)
XIII44°00′144°15′Eastern Hokkaido (Obihiro, Kushiro, Kitami, Abashiri, Nemuro and others)
XIV26°00′142°00′Tokyo's Ogasawara Islands (Chichijima, Hahajima and others)
XV26°00′127°30′Okinawa Island and nearby islands
XVI26°00′124°00′Okinawa's Sakishima Islands (Miyako, Ishigaki and others)
XVII26°00′131°00′Okinawa's Daito Islands
XVIII20°00′136°00′Okinotorishima (Tokyo)
XIX26°00′154°00′Minamitorishima (Tokyo)

The areas are a rough guide. Hokkaido, Tokyo, Okinawa and Kagoshima use different zones by municipality or island, so check the list published by the Geospatial Information Authority of Japan.

Mesh sizes

Dividing a primary mesh 8 × 8 gives secondary meshes, dividing a secondary mesh 10 × 10 gives tertiary meshes, and after that each is halved.

Mesh sizes
Mesh typeDigitsLatitude spanLongitude span
Primary mesh (about 80 km square)440′60′
Secondary mesh (about 10 km square)65′8′
Tertiary mesh (about 1 km square, basic grid square)830″45″
Half mesh (about 500 m square)915″22.5″
Quarter mesh (about 250 m square)107.5″11.25″
Eighth mesh (about 125 m square)113.75″5.625″

Conversion to and from the old Tokyo Datum uses a widely used linear approximation. For land boundaries or survey results, use an official conversion such as TKY2JGD from the Geospatial Information Authority of Japan. In eastern Japan, JGD2000 and JGD2011 coordinates also differ by up to a few metres. This tool treats input as JGD2011 (almost the same as the WGS84 used by GPS).

ABOUT

About Japan Plane Rectangular Coordinate Converter | Convert latitude and longitude (decimal, DMS or degrees and decimal minutes) to X and Y in metres in zones I–XIX of the Japan Plane Rectangular Coordinate System with the grid convergence and scale factor, convert X and Y back to latitude and longitude, get the standard grid square mesh codes (primary, secondary, tertiary, half, quarter and eighth) and the area of a mesh code, the distance and azimuth between two points (GRS80, Vincenty), a simple Tokyo Datum ⇔ world geodetic system conversion, and a list of the 19 zone origins and areas

The Japan Plane Rectangular Coordinate Converter is a free tool that converts between latitude/longitude and the X and Y of the Japan Plane Rectangular Coordinate System (zones I–XIX) used for surveying and public coordinates, and also gives the grid square mesh codes for the same point and the distance and azimuth between two points. It uses the same formulas as the Geospatial Information Authority of Japan (GRS80 ellipsoid, scale factor 0.9999): Tokyo Station (35.681236° N, 139.767125° E) is X −35,363.238 m and Y −5,992.920 m in zone IX, and its tertiary mesh code is 53394611.

How to use Japan Plane Rectangular Coordinate Converter | Convert latitude and longitude (decimal, DMS or degrees and decimal minutes) to X and Y in metres in zones I–XIX of the Japan Plane Rectangular Coordinate System with the grid convergence and scale factor, convert X and Y back to latitude and longitude, get the standard grid square mesh codes (primary, secondary, tertiary, half, quarter and eighth) and the area of a mesh code, the distance and azimuth between two points (GRS80, Vincenty), a simple Tokyo Datum ⇔ world geodetic system conversion, and a list of the 19 zone origins and areas

  1. 1Enter the latitude and longitude (decimal or DMS; pasting “35.68, 139.76” from Google Maps into the latitude box fills in both)
  2. 2Choose whether the values are in the world geodetic system or the old Tokyo Datum, and choose the zone number (set by prefecture)
  3. 3Check the decimal, DMS and degrees-and-minutes forms, the plane rectangular X and Y, and the grid square mesh codes (primary to eighth)
  4. 4To go from the X and Y of a survey drawing back to latitude and longitude, enter X, Y and the zone in the second box
  5. 5To see the area of a mesh code or the distance and azimuth between two points, enter the code or point B in the boxes below

Great for

  • Find where the X and Y (public coordinates) on a survey drawing, cadastral map or control point are on a map
  • Convert latitude and longitude from GPS or Google Maps into plane rectangular coordinates for CAD or GIS
  • Find which mesh code a point falls in for grid square statistics such as the Japanese census
  • Check which range of latitude and longitude a mesh code covers
  • Put Tokyo Datum coordinates from old documents onto a modern map (world geodetic system)
  • Get an accurate distance and azimuth between two points on the ellipsoid

Good to know

  • The plane rectangular coordinate system divides Japan into 19 zones and gives positions as distances in metres from each zone's origin. X points north and Y points east, the opposite of x and y in mathematics. At the origin X and Y are both 0; the origin of zone IX, which covers Tokyo and most of the Kanto region, is 36° N, 139° 50′ E.
  • The zone is set by prefecture, but Hokkaido (zones XI, XII, XIII), Tokyo (IX, XIV, XVIII, XIX), Okinawa (XV, XVI, XVII) and Kagoshima (I, II) differ by municipality or island. Sapporo, for example, is in zone XII, and picking the origin nearest to a point can give a different zone, so choose the zone from the list of areas.
  • The scale factor is 0.9999 on the north-south line through the origin (the central meridian) and grows with distance east or west, reaching 1 at about 90 km. The grid convergence is the angle between grid north (the X axis) and true north.
  • A primary mesh is 40′ of latitude by 1° of longitude (about 80 km square, 4 digits). Dividing it 8 × 8 gives secondary meshes (about 10 km, 6 digits), dividing those 10 × 10 gives tertiary meshes (30″ by 45″, about 1 km, 8 digits), and after that each mesh is halved into half (9 digits), quarter (10 digits) and eighth (11 digits) meshes. The first two digits of the primary mesh are latitude × 1.5 and the last two are longitude − 100.
  • The size of a tertiary mesh depends on the latitude: 53394611 at Tokyo Station is about 925 m north-south and 1,132 m east-west. Each digit from the half mesh onwards is 1 for south-west, 2 for south-east, 3 for north-west and 4 for north-east.
  • The distance between two points uses the Vincenty method on the GRS80 ellipsoid. From Tokyo Station to Osaka Station (34.702485, 135.495951) it is about 403.827 km at an azimuth of about 255.64° (west-south-west). It may differ slightly from the straight-line distance in map apps.
  • The conversion to and from the old Tokyo Datum uses a widely used linear approximation. Around Tokyo Station latitude and longitude each shift by about 11.6″, about 460 m on the ground. For land boundaries or survey results, use an official conversion such as TKY2JGD from the Geospatial Information Authority of Japan.

Questions this tool answers

Use Japan Plane Rectangular Coordinate Converter | Convert latitude and longitude (decimal, DMS or degrees and decimal minutes) to X and Y in metres in zones I–XIX of the Japan Plane Rectangular Coordinate System with the grid convergence and scale factor, convert X and Y back to latitude and longitude, get the standard grid square mesh codes (primary, secondary, tertiary, half, quarter and eighth) and the area of a mesh code, the distance and azimuth between two points (GRS80, Vincenty), a simple Tokyo Datum ⇔ world geodetic system conversion, and a list of the 19 zone origins and areas for searches like these:

  • japan plane rectangular coordinate converter
  • lat lon to japan plane rectangular
  • which zone japan plane rectangular
  • japan public coordinates to lat lon
  • grid square mesh code lat lon
  • tertiary mesh code calculation
  • distance between two lat lon points
  • tokyo datum to wgs84 conversion

FAQ

Which of X and Y points north in plane rectangular coordinates?
X points north and Y points east. That is the reverse of a maths graph, so swapping X and Y puts the point tens or hundreds of kilometres away. X is negative south of the origin and Y is negative west of it.
How do I find which zone my land is in?
It is set by prefecture. Tokyo, the six other Kanto prefectures and Fukushima are in zone IX, Osaka and Kyoto in zone VI, and Aichi and Gifu in zone VII. Hokkaido, Tokyo's outlying islands, Okinawa and Kagoshima differ by municipality or island, so check the list at the bottom of the page and the materials of the Geospatial Information Authority of Japan.
What are the plane rectangular coordinates of Tokyo Station?
35.681236° N, 139.767125° E in the world geodetic system (JGD2011) is about X −35,363.238 m and Y −5,992.920 m in zone IX: about 35 km south and 6 km west of the origin (36° N, 139° 50′ E).
How is a tertiary mesh code calculated from latitude and longitude?
The first two digits of the primary mesh are the integer part of latitude × 1.5, and the next two are the integer part of longitude − 100. The remaining latitude split every 5′ and longitude split every 7′30″ give digits 5 and 6 (secondary mesh), and splitting again every 30″ of latitude and 45″ of longitude gives digits 7 and 8 (tertiary mesh). Tokyo Station is 53394611.
How do I convert DMS to decimal degrees?
Degrees + minutes ÷ 60 + seconds ÷ 3600. For 35° 40′ 52.45″ that is 35 + 40 ÷ 60 + 52.45 ÷ 3600 = about 35.681236°. South latitudes and west longitudes are negative.
How far apart are the Tokyo Datum and the world geodetic system?
About 450–460 m around Tokyo (Tokyo Datum figures plotted as they are on a modern map land to the south-east). The conversion in this tool is an approximation; for precise work, use TKY2JGD from the Geospatial Information Authority of Japan.

ARTICLES

Guides for Japan Plane Rectangular Coordinate Converter | Convert latitude and longitude (decimal, DMS or degrees and decimal minutes) to X and Y in metres in zones I–XIX of the Japan Plane Rectangular Coordinate System with the grid convergence and scale factor, convert X and Y back to latitude and longitude, get the standard grid square mesh codes (primary, secondary, tertiary, half, quarter and eighth) and the area of a mesh code, the distance and azimuth between two points (GRS80, Vincenty), a simple Tokyo Datum ⇔ world geodetic system conversion, and a list of the 19 zone origins and areas