Rihlah home
N

Can You Find the Qiblah?

Find the direction of prayer with maps, sun, and stars — the way Muslims have for 1,400 years.

1.9 billion Muslims. Five daily prayers. One direction: the Qiblah — the direction of the Kaaba in Makkah.

قِبْلَة
Qiblah

From the Arabic for “to face.” One direction unites believers into a single body.

Masjid al-Aqsa · Jerusalem

For the first ~16–17 months after the migration to Madinah, Muslims prayed facing Bayt al-Maqdis — Masjid al-Aqsa in Jerusalem: the first Qiblah.

Then, mid-prayer, revelation came: “So turn your face toward al-Masjid al-Haram” (Qur’an 2:144). The congregation pivoted where they stood — the mosque is still called Masjid al-Qiblatayn, the Mosque of the Two Qiblahs.

Can you?

Easy in Makkah. But from Alaska? For 1,400 years Muslims answered with shadows, stars, and spherical geometry.

Tap to continue
{{ lanterns }}
{{ lintSub }}

{{ lintTitle }}

Tap anywhere to start

{{ factText }}

Tap to continue
{{ roundPrompt }}

{{ roundCity }}, {{ roundCountry }}

Aim here Makkah You N pole you ✦ true north
the shadow points away from Makkah
{{ starHintText }}

{{ roundInstruction }}

N E S W
{{ needleReadout }}
Drag me
{{ resultTitle }}
Off by {{ resultDiff }}°

{{ resultMessage }}

The First Qiblah
Masjid al-Aqsa · Jerusalem

Masjid al-Aqsa in Jerusalem was the first qiblah — faced for the first ~16–17 months in Madinah.

اَلْأَقْصَىٰ

It is the second mosque established on Earth — forty years after the Kaaba, per hadith — and the destination of the Night Journey (Qur’an 17:1), where the Prophet led the earlier prophets in prayer.

The Qur’an calls the change of qiblah a test — to make clear who would follow the Messenger from who would turn back (2:142–143).

{{ lastCity }} Jerusalem Makkah

One direction changed. The devotion never did.

Tap to continue
Your Journey
{{ finalTitle }}
{{ finalDef }}
{{ lanterns }}
Lanterns earned
{{ bestLine }}

{{ finalBlurb }}

Choose a level
Level {{ howToLevel }}
How to play
{{ st.num }} {{ st.text }}

{{ howToNote }}

Level {{ howToLevel }} guide
{{ guideTitle }}

What you're finding. The Qiblah is the direction of the Kaaba in Makkah — the direction Muslims face in every prayer. Your job: point the needle from your city toward Makkah.

Reading the map. The gold shapes are continents. The small glowing cube marked Makkah is the Kaaba. The white dot marked You is your city.

Reading the compass. N at the top is north — the same as "up" on the map. The number is your needle's angle, measured clockwise from north:

0° = North 90° = East 180° = South 270° = West

A worked example. From Cairo, Makkah lies to the south-east. South-east sits between S (180°) and E (90°) — so the needle belongs near 135°. Check the map, estimate the angle, then fine-tune with −1° / +1°.

Scoring. Within 5° earns all 3 lanterns. Within 20° earns 2 — classical scholars accepted this general direction (jihat al-Ka‘bah) for lands far from Makkah. Further off, you simply try again; nothing is ever lost.

The trap. This level plays exactly like Level 1 — but the cities are chosen to fool you. Nearly everyone gets the first one wrong. That's the point.

Why flat maps lie. Earth is a ball. To print it flat, mapmakers must stretch it — and the stretching grows extreme near the poles. Directions read off a flat map are distorted there.

The string trick. Stretch a string on a globe between your city and Makkah and pull it tight: that is the true shortest path (a great circle). From North America the tight string runs up and over the pole:

North Pole Anchorage Makkah

What to do. Ignore the flat map's suggestion. Picture the tight string on the ball. From Alaska it points almost due north; from Los Angeles or New York, north-east — not east or south-east. Answer with the globe in your mind, then watch the reveal prove it.

A rare day. Twice a year the sun passes almost directly over the Kaaba at Makkah's solar noon: around May 27–28 at 12:18 Makkah time, and July 15–16 at 12:27. Muslims call sighting the direction this way rasd al-qiblah.

Why it works. At that exact minute, from anywhere on the daylit half of Earth, the sun sits precisely in the direction of Makkah. And a shadow always falls exactly opposite the sun — so every vertical stick's shadow points directly away from Makkah.

shadow → away from Makkah Qiblah = opposite

Your steps. 1) Find the stick's shadow on the ground. 2) Note the direction the shadow points. 3) Turn the needle to the exactly opposite direction — if the shadow points north-west, the Qiblah is south-east.

Real life. On those two dates you can check your home's Qiblah with nothing but a bottle, a broom, or your own shadow. Mosques worldwide still verify their orientation this way.

Step 1 — find true north. Polaris, the North Star, sits almost exactly above Earth's axis, so it never appears to move — face it and you face north (in the Northern Hemisphere). It is not the brightest star in the sky; find it with the Big Dipper:

Big Dipper — the two “pointer” stars Polaris = true north

Take the two stars at the outer edge of the Dipper's bowl and extend the line between them upward about five times its length — the bright, steady star there is Polaris. Tap it in the game.

Step 2 — the muwaqqit's number. Knowing north isn't enough: you need your city's Qiblah angle. For centuries this came from tables computed by mosque astronomers (muwaqqits) — al-Khalīlī's 14th-century tables covered 2,880 localities. When you tap Polaris, the game hands you your city's table entry.

Step 3 — execute. Turn the needle clockwise from north to the table's bearing. Samarkand's 240°, for example, lands between south-west (225°) and west (270°). One star + one number — that's how night travelers found the Qiblah for a thousand years.

All bearings in this game are computed on the great circle to the Kaaba (21.4225° N, 39.8262° E) — the same mathematics the muwaqqits used.