Home / Landmarks / Madrid

Madrid Coordinates

Community of Madrid, Spain · Elevation 667m

Quick answer: Madrid is located at 40.416800, -3.703800 (N, W).

Different tools require different formats — Garmin devices default to DDM, military maps use MGRS, topo maps use UTM, and web apps expect Decimal Degrees. Copy whichever format your device or application needs. Click any format abbreviation to learn how it works.

All Coordinate Formats

DD

Decimal Degrees

40.416800, -3.703800
DMS

Degrees Minutes Seconds

40°25'0.48"N 3°42'13.68"W
DDM

Degrees Decimal Minutes

40°25.0080'N 3°42.2280'W
UTM

Universal Transverse Mercator

30T 440290 4474257
MGRS

Military Grid Reference

30TVK4029074257
Geohash

Geohash Encoding

ezjmgtwuz
Plus Code

Open Location Code

8CGRC78W+MQ

Map Location

Map data © OpenStreetMap contributors

Antipodal Point

The point on the exact opposite side of Earth from Madrid. If you drilled straight through the planet's center, you would emerge here.

Antipodal coordinates

-40.416800, -3.703800

Hemisphere: S, W

DD

Decimal Degrees

-40.416800, -3.703800
DMS

Degrees Minutes Seconds

40°25'0.48"S 3°42'13.68"W
DDM

Degrees Decimal Minutes

40°25.0080'S 3°42.2280'W
UTM

Universal Transverse Mercator

30G 440290 5525743
MGRS

Military Grid Reference

30GVA4029025743
Geohash

Geohash Encoding

7bv65dqgp
Plus Code

Open Location Code

4CFRH7MW+79

MGRS Decoded

MGRS encodes location as a nested hierarchy — zone, band, grid square, and offsets. Here is what each component of 30TVK4029074257 means.

Component Value Meaning
UTM Zone 30 One of 60 vertical slices of Earth (6° wide each). Zone 30 runs -6° to 0° longitude.
Latitude Band T One of 20 horizontal bands (8° tall each), lettered C–X (skipping I and O). Indicates the general latitude region.
100 km Square VK A 100 × 100 km grid square within the zone/band. Column letter V (west–east) and row letter K (south–north).
Easting 40290 Distance east within the 100 km square. 5-digit value = 10 m resolution. Multiply by 1 to get meters.
Northing 74257 Distance north within the 100 km square. Same resolution as easting (10 m).

Geohash Precision

A geohash encodes coordinates by subdividing the Earth into progressively smaller cells. Each extra character roughly halves the cell area. The table below shows Madrid's geohash at every precision level alongside the bounding box each level represents.

Length Geohash Cell Size
1
e
≈ 5,000 × 5,000 km
2
ez
≈ 1,250 × 625 km
3
ezj
≈ 156 × 156 km
4
ezjm
≈ 39 × 20 km
5
ezjmg
≈ 4.9 × 4.9 km
6
ezjmgt
≈ 1.2 km × 610 m
7
ezjmgtw
≈ 153 × 153 m
8
ezjmgtwu
≈ 38 × 19 m
9
ezjmgtwuz
≈ 4.8 × 4.8 m

Precision 9 (highlighted) is the default and provides sub-5-metre accuracy for most applications.

About Madrid

Capital of Spain, one of Europe's highest capitals at 667 m, home to the Prado Museum and Real Madrid.

Live Converter

The coordinates above are fixed to this landmark. Use this converter to enter any other coordinates — such as a nearby trailhead, parking area, or a location you want to compare — and get all 7 formats instantly.

DD

40.416800, -3.703800

DMS

40°25'0.48"N 3°42'13.68"W

DDM

40°25.0080'N 3°42.2280'W

UTM

30T 440290 4474257

MGRS

30TVK4029074257

GH

ezjmgtwuz

OLC

8CGRC78W+MQ