Qibla Direction Calculator

Direct answer: Your Qibla direction is the great-circle bearing from your location to the Kaaba in Makkah (21.4225° N, 39.8262° E), measured in degrees clockwise from true north.

Find the exact Qibla direction for prayer, anywhere on Earth. Enter your coordinates or use your device location, and get the bearing in degrees plus a live compass needle.

How it works

  1. Enter your latitude and longitude, or tap Use my location.
  2. We compute the great-circle bearing to the Kaaba.
  3. Turn to that degree on a compass and face that way to pray.

Formula & methodology

Bearing θ = atan2( sin Δλ, cos φ₁·sin φ₂ − sin φ₁·cos φ₂·cos Δλ ), where φ is latitude and Δλ the longitude difference to the Kaaba. Distance uses the spherical law of cosines (Earth radius 6,371 km).

Frequently asked questions

What is the Qibla direction?

The Qibla is the direction of the Kaaba in Makkah (21.4225° N, 39.8262° E) that Muslims face in prayer, from wherever they are in the world.

How accurate is this Qibla calculator?

It uses the great-circle (shortest path) bearing formula — the same method used by compass apps — accurate to a fraction of a degree.

Does magnetic north matter?

Phone compasses point to magnetic north, which differs from true north by local declination. Our bearing is true north — most phones correct automatically.

What is the Qibla from the UK / USA?

From London it is about 119° (south-east); from New York about 58° (north-east). Enter your city coordinates to get your exact bearing.

Related faith calculators

Last updated: 2026-11-21 · Author: FaithCalculator Editorial Team · Reviewed for calculation accuracy against the published formulas on this page.