PasteZap
🌐 English
Free · No account

FREE · TIME & DATE TOOLS

Qibla Direction Finder.

Find the qibla direction to the Kaaba in Makkah from any city or your location, in degrees from true north, with a compass, the distance and the times when the sun points the way.

Limits & supported formats

Bearing from true north; a magnetic compass needs your local declination. The sun times only exist when the sun passes the right direction that day. Your location is used only on this page and never sent anywhere.

Loading the calculator…

Steps to use Qibla Direction Finder

Choose a city or press “Use my location”. Turn until the green needle points ahead, using true north. For a check without a compass, face the sun at the time shown under “Sun in the qibla direction”, or follow your shadow at the “opposite” time.

How Qibla Direction Finder processes your input

The qibla is the initial great-circle bearing to the Kaaba (21.4225° N, 39.8262° E). Sun azimuths come from the NOAA solar equations, accurate to about 0.02°.

Qibla Direction Finder: worked example

From London the qibla is 119° from true north (east-south-east), 4,794 km from the Kaaba. In 2026 the sun stands over the Kaaba on 28 May at 10:18 and 15 July at 10:27 London time.

Find the qibla direction from where you are

  1. Choose your city, or let the page use your device location.
  2. Read the qibla bearing in degrees from true north and the distance to the Kaaba in Makkah.
  3. Turn until the green needle points ahead. Or check without a compass: face the sun at the time shown for the sun in the qibla direction, or follow your shadow at the opposite time.

Example: from London the qibla is 119° from true north (east-south-east), 4,794 km from the Kaaba. In 2026 the sun stands over the Kaaba on 28 May at 10:18 and on 15 July at 10:27 London time; at those moments shadows everywhere in daylight point directly away from the qibla.

Accuracy and compass tips

  • The qibla is calculated as the shortest path on the globe (great circle) to the Kaaba at 21.4225° N, 39.8262° E. Sun positions come from the NOAA solar equations, accurate to about 0.02°.
  • The bearing is measured from true north. A magnetic compass points to magnetic north, so add your local magnetic declination, and keep the phone away from metal and magnets.
  • The sun method only works on days when the sun passes the right direction; the page shows the times only when they exist.
  • Your location is used only on this page and never sent anywhere. For daily prayer times, use the prayer times calculator.

Questions about Qibla Direction Finder

Why is the qibla not simply the direction of Makkah on a flat map?

The Earth is round, so the shortest path follows a great circle. On a flat map that path looks curved, which is why the bearing can surprise you.

Can I trust my phone compass?

Phone compasses can be off by several degrees near metal or electronics. Calibrate it, or check with the sun times shown on the page.

Is my location sent to a server?

No. The location stays in your browser and is used only for the calculation.

Is Qibla Direction Finder free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

Bearing from true north; a magnetic compass needs your local declination. The sun times only exist when the sun passes the right direction that day. Your location is used only on this page and never sent anywhere. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.