104.0° ESE
A compass needle points to magnetic north, which in Madrid lies 0.7° east of true north, so on a regular compass you face 103.3° instead of 104.0°.
Open the live Qibla compass- Bearing calculated to 0.1°
- Location never leaves your device
- Free, with no ads
How to face the Qibla in Madrid
- With your phone: tap Open the live Qibla compass, allow location (and, on iPhone, motion access), then turn slowly until the Kaaba on the dial reaches the mark at the top.
- With a regular compass: hold it flat, turn it until the needle sits on N, then face 103.3° on the dial. That is the magnetic bearing; reading 104.0° off a magnetic compass would leave you about 0.7° off.
- With the map: open the live compass, switch to Map and follow the gold line from your position to the Kaaba. It does not use the compass at all.
If a phone compass looks wrong, move the phone in a figure-eight a few times, away from laptops, speakers, car dashboards and magnetic cases, and hold it flat while you turn.
Why the Qibla from Madrid points east-southeast
Madrid is at 40.4° N, 19.0° of latitude north of Makkah and 4,598 km (2,857 miles) from the Kaaba. On a flat Mercator map the straight line between them points 117°, east-southeast; on the globe, the shortest path, called a great circle, leaves Madrid at 104.0°, east-southeast. From Madrid, the great-circle bearing is about 13° to the left of the flat-map line. Across the Southern European cities on this site the Qibla runs from 104.0° in Madrid to 123.6° in Milan.
Nearby cities
- Barcelona, Spain110.6° ESE · 505 km away
- Marseille, France116.3° ESE · 816 km away
- Lyon, France118.6° ESE · 913 km away
- Paris, France119.2° ESE · 1,053 km away
- Milan, Italy123.6° ESE · 1,188 km away
See every city in Europe, or use the Qibla Finder for your exact spot.
Learn to recite it properly, with a live teacher
One-to-one Quran lessons for children and adults — tajweed, memorisation and reading, scheduled around you.
Book a free trial class- 1-to-1 tutors
- Male & female teachers
- Any time zone
- Ages 4+


