Decimal degrees


Decimal degrees express latitude and longitude geographic coordinates as decimal fractions and are used in many geographic information systems, web mapping applications such as OpenStreetMap, and GPS devices. Decimal degrees are an alternative to using degrees, minutes, and seconds. As with latitude and longitude, the values are bounded by ±90° and ±180° respectively.
Positive latitudes are north of the equator, negative latitudes are south of the equator. Positive longitudes are east of the Prime Meridian; negative longitudes are west of the Prime Meridian. Latitude and longitude are usually expressed in that sequence, latitude before longitude.

Precision

The radius of the semi-major axis of the Earth at the equator is 6,378,137.0 m resulting in a circumference of 40,075,016.7 m. The equator is divided into 360 degrees of longitude, so each degree at the equator represents 111,319.5 m or approximately 111.32 km. As one moves away from the equator towards a pole, however, one degree of longitude is multiplied by the cosine of the latitude, decreasing the distance, approaching zero at the pole. The number of decimal places required for a particular precision at the equator is:
decimal
places
decimal
degrees
DMSObject that can be unambiguously recognized at this scaleN/S or E/W
at equator
E/W at
23N/S
E/W at
45N/S
E/W at
67N/S
01.01° 00′ 0″country or large region111.32 km102.47 km78.71 km43.496 km
10.10° 06′ 0″large city or district11.132 km10.247 km7.871 km4.3496 km
20.010° 00′ 36″town or village1.1132 km1.0247 km787.1 m434.96 m
30.0010° 00′ 3.6″neighborhood, street111.32 m102.47 m78.71 m43.496 m
40.00010° 00′ 0.36″individual street, land parcel11.132 m10.247 m7.871 m4.3496 m
50.000010° 00′ 0.036″individual trees, door entrance1.1132 m1.0247 m787.1 mm434.96 mm
60.0000010° 00′ 0.0036″individual humans111.32 mm102.47 mm78.71 mm43.496 mm
70.00000010° 00′ 0.00036″practical limit of commercial surveying11.132 mm10.247 mm7.871 mm4.3496 mm
80.000000010° 00′ 0.000036″specialized surveying 1.1132 mm1.0247 mm787.1 μm434.96 μm

A value in decimal degrees to a precision of 4 decimal places is precise to 11.132 m at the equator. A value in decimal degrees to 5 decimal places is precise to 1.1132 m at the equator. Elevation also introduces a small error: at 6,378 m elevation, the radius and surface distance is increased by 0.001 or 0.1%. Because the earth is not flat, the precision of the longitude part of the coordinates increases the further from the equator you get. The precision of the latitude part does not increase so much, more strictly however, a meridian arc length per 1 second depends on the latitude at the point in question. The discrepancy of 1 second meridian arc length between equator and pole is about 0.3 metres because the earth is an oblate spheroid.

Example

A value is converted to decimal degrees using the formula:
For instance, the decimal degree representation for
is
In most systems, such as OpenStreetMap, the degree symbols are omitted, reducing the representation to
To calculate the D, M and S components, the following formulas can be used:
where is the absolute value of and is the truncation function. Note that with this formula only can be negative and only may have a fractional value.