Qibla Finder

One page, everything included: set your location once and get the compass dial, the bearing in degrees, the distance to the Kaaba and the map line together. If you only need one of those, the specialist pages below each do a single job.

1. Set your location

Your location is used only in your browser to calculate the direction. It is never stored on a server or sent to analytics.

2. Your Qibla direction

NESW🕋
Qibla bearing
267.7°
Direction
W
Distance to Kaaba
2,800 km
From
Karachi, Pakistan (default — set your location)

24.8608° N · 67.0011° E — this is a default city; set your own location for your exact direction.

Face 268° clockwise from true north. Phone compasses can drift — keep the phone flat, away from metal and magnets, and move it in a figure-eight to calibrate.

Loading map…

How it is calculated — and its limits

The bearing is the initial direction of the great-circle path from your coordinates to the Kaaba at 21.4225° N, 39.8262° E — the standard definition used by Qibla calculators worldwide, computed with the same formula the adhan library implements.

Distance is the surface (haversine) distance along that same path, rounded to the nearest kilometre.

Limits: the result is only as good as the location you give it. A city-centre coordinate can be a few hundred metres from where you stand — that changes the bearing by far less than a degree — but a disturbed phone compass can be off by much more, which is why the map line is shown as an independent check.

How to use it

  1. Tap “Use My Location”, search for a city, or enter latitude and longitude.
  2. Read your bearing in degrees and the compass dial's gold needle.
  3. Check the dashed line on the map — it should point the same way.
  4. Face that direction to pray; on a phone, open the Qibla Compass page for a live, rotating dial.

Related tools

Frequently asked questions

What bearing should I face from my city?

It is calculated live above for the exact place you select — there is no single bearing per country, because the direction changes with your position. Two cities in the same country can differ by several degrees.

Does the finder work indoors?

The calculation works anywhere, but GPS is weaker indoors and phone compasses are disturbed by steel structures. Near a window, or by checking the map line against a known landmark, gives the most reliable result.

Why show both a compass and a map?

They fail in different ways: a compass depends on your phone's sensor, while the map line depends only on coordinates. When both agree, you can be confident in the direction.