Qibla Direction Calculator

Calculates the great-circle bearing from any location on Earth to the Kaaba in Mecca (21.4225°N, 39.8262°E) using spherical trigonometry. Shows the bearing in degrees from True North, compass direction (N/NE/E/SE/S/SW/W/NW), and distance to the Kaaba in kilometres and miles. Includes instructions for finding your latitude and longitude from Google Maps.

Qibla Direction Calculator

Qibla Direction Calculator

Find the direction of the Qibla (Kaaba in Mecca) from any location on Earth.

RESULT

The Qibla direction calculator finds the compass bearing from your location to the Kaaba in Mecca, Saudi Arabia — the direction Muslims face during prayer. Enter your latitude and longitude for an instant bearing in degrees.

How Qibla Direction Is Calculated

Qibla Bearing = atan2(sin(ΔLng), cos(φ₁)×tan(φ₂) − sin(φ₁)×cos(ΔLng)) Kaaba Coordinates: Latitude: 21.4225°N Longitude: 39.8262°E Result: degrees clockwise from True North

How to Find Your Coordinates

  1. Open Google Maps and right-click your location
  2. Your latitude and longitude appear at the top of the menu
  3. Enter them in this calculator

Qibla Direction Calculator FAQ

How do I find the Qibla direction?

Enter your latitude and longitude into this calculator. It computes the great-circle bearing from your location to the Kaaba in Mecca (21.4225°N, 39.8262°E) in degrees from True North.

Is the Qibla always east?

No. The Qibla direction varies by your location. From North America, it is roughly northeast. From Europe, roughly southeast. From Indonesia, roughly northwest. The calculator gives the precise bearing for your exact coordinates.

Should I use True North or Magnetic North?

This calculator gives True North bearing. If using a magnetic compass, adjust for your local magnetic declination. In most of the US, magnetic declination is 0–15° west.

How do I find my latitude and longitude?

Right-click on your location in Google Maps — coordinates appear at the top. Or search "my coordinates" on your phone. GPS coordinates are typically shown as latitude, longitude.

Why is the great-circle direction different from a straight line on a map?

Maps distort the Earth's curved surface. A great-circle route (shortest path on a sphere) appears curved on a flat map. The Qibla bearing follows the great-circle direction, which is the actual shortest path to Mecca.

Is this Qibla calculator free?

Yes, completely free. Enter coordinates for instant Qibla bearing with distance to Kaaba.

Related Calculators