Ihsabha
AREN
IhsabhaIslamic Tools › Prayer Times & Qibla Direction Finder

🕋 Prayer Times & Qibla Direction Finder

Get today's five daily prayer times for your location and find the exact Qibla direction (bearing to the Kaaba in Makkah) from your coordinates.

🕌 Featured Tools
🛡️ Reviewed by: Ihsabha Editorial Team · Method: Mainstream, consensus-based Islamic calculation methods (Zakat Nisab and 2.5% rate, Kuwaiti Hijri algorithm, Aladhan.com prayer time API, great-circle Qibla bearing) — no sectarian rulings, no data ever leaves your browser except the optional prayer-time lookup · Last updated: August 8, 2026
🔒 Privacy note: Everything on this page runs entirely inside your browser using client-side JavaScript. Nothing you type is ever uploaded, logged, or sent to any server.

How to use this tool

  1. Press "Use my current location" to let your browser detect your coordinates automatically, or type your latitude and longitude manually.
  2. Press Calculate.
  3. Read your Qibla bearing in degrees from North, plus today's five prayer times for your location.
  4. Use a compass (physical or a phone compass app) to align to the bearing shown.

Everything runs locally in your browser — no sign-up required, and no data is ever sent anywhere.

About this tool

The Qibla is the direction Muslims face during prayer, pointing toward the Kaaba in Makkah (21.4225°N, 39.8262°E). This tool calculates the initial great-circle bearing from your coordinates to the Kaaba using standard spherical trigonometry, the same method used in geodesy and aviation navigation for shortest-path headings on a sphere — a straight compass line on a flat map would not point the correct direction over long distances. Prayer times are fetched from the Aladhan API using the Umm al-Qura University (Makkah) calculation method, based on the sun's position relative to your location. Because the Qibla bearing is computed locally from pure geometry, it keeps working even if the live prayer-time lookup cannot be reached. The bearing is expressed as a compass heading in degrees measured clockwise from true North, the same convention used on physical and digital compasses worldwide, so the number displayed can be dialed directly into any compass app without further conversion.

Finding Your Qibla Direction and Prayer Times Anywhere in the World

Knowing the exact direction of the Kaaba matters for every one of the five daily prayers, and it becomes especially important while traveling, staying in an unfamiliar city, or praying in a building with no clear existing prayer space. A common mistake is assuming that the Qibla is a simple straight line drawn on a flat world map — because the Earth is a sphere, the true shortest path (and therefore the correct compass heading) is calculated using great-circle geometry, the same navigation math used by pilots and ship captains for long-distance headings.

This tool takes your coordinates — either detected automatically through your device's GPS or entered manually — and calculates the initial bearing along that great-circle path to the Kaaba's known coordinates in Makkah. The result is a single number in degrees, measured clockwise from true North, which you can dial into any compass app or physical compass to know exactly which way to turn.

Alongside the Qibla bearing, the tool also retrieves today's five prayer times for the same coordinates, using a well-established international calculation method. This is useful when you are away from your usual mosque or home city and don't have a local prayer timetable memorized. Because coordinates alone are enough to calculate accurate prayer times almost anywhere on Earth, this works equally well for major cities and for remote locations far from any city center.

One detail worth understanding: the Qibla calculation itself never depends on an internet connection, because it is pure geometry computed instantly on your own device. Only the prayer-times lookup needs to reach an external service, since prayer times depend on solar position data that is calculated on request. If you ever find yourself with a weak signal — traveling, hiking, or on a flight with limited connectivity — the Qibla direction will still display correctly as long as you can enter or detect your coordinates, which makes this tool reliable in exactly the situations where a paper compass or a memorized direction is least reliable.

Frequently asked questions

How is the Qibla direction calculated?

It is calculated using the great-circle initial bearing formula from your latitude and longitude to the Kaaba's coordinates in Makkah (21.4225°N, 39.8262°E). This gives the shortest-path compass heading to face, accounting for the curvature of the Earth.

Which calculation method is used for prayer times?

Prayer times are retrieved from the Aladhan API using the Umm al-Qura University, Makkah method, which is widely used across the Muslim world.

Does this tool work without an internet connection?

The Qibla direction is calculated entirely offline once you provide your coordinates. Only the live prayer-times lookup requires an internet connection; if it fails, the Qibla result above still remains fully accurate.

What does the Qibla bearing number mean?

It is the compass heading in degrees measured clockwise from true North. For example, 118° means you should face slightly east of southeast.

How accurate is this Qibla calculation?

It is mathematically exact for the coordinates you provide. Real-world accuracy depends on how precisely your device detects your latitude and longitude, and on using a reliable compass (magnetic compasses can be affected by nearby metal or electronics).