Qibla · Punjab Province
Qibla direction in Khanpur
To face the Kaaba in Khanpur, turn to 262.5° measured clockwise from true north, which is west (7.5° south of west). The Sacred Mosque in Mecca lies 3,198 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in Khanpur should follow.
On the compass the green needle points to 262.5°. If your phone shows true north, rotate until the heading reads 263°; with a classic magnetic compass, first correct for the local magnetic declination, which can shift the needle by several degrees.
Find the Qibla with your phone
How to face the Qibla in Khanpur
Stand where you will pray and find north first. Then turn towards west and move a further 7.5° towards south: the result is the bearing of 262.5°. The direction is close to due west, which makes it easy to remember.
Scholars agree that someone who can see the Kaaba must face it exactly, while someone far away faces its direction (jihat al-Ka‘bah) as precisely as reasonably possible. If a mosque is nearby, its mihrab and prayer lines are the easiest reference, since they were set when the building was laid out. At home, mark the direction once with tape or a small arrow so the whole family prays the same way.
Why a flat map shows a different direction
A straight line drawn on a flat (Mercator) map from Khanpur to Mecca points to 255.5° (west), 7.0° away from the correct 262.5°. That map line is a rhumb line: it keeps the same compass heading all the way, but it is 7 km longer than the true shortest route. The Qibla follows the great circle, the shortest path on the curved Earth, which is why the bearing differs.
The angle on this page is the initial bearing of the great circle from 28.6474° N, 70.6569° E to the Kaaba (21.4225° N, 39.8262° E). It is the method used by mosque architects and by every serious Qibla calculator, and it gives one exact answer for each point on Earth.
Distance from Khanpur to Mecca and Medina
Mecca is 3,198 km from Khanpur as the crow flies, and Medina, the city of the Prophet ﷺ, is 3,114 km away. A direct flight would take roughly 4 h 16 min, although most pilgrims from Khanpur connect through Jeddah or Medina airport.
Clocks in Khanpur run 2 hours ahead of Mecca all year. Prayer times, however, depend on the sun at your own location, so always use the prayer times of Khanpur rather than those of Mecca.
Finding the Qibla with the sun in Khanpur
On 210 days of 2027, the sun passes exactly through the Qibla direction of Khanpur while it is well above the horizon. At that moment, facing the sun means facing Mecca. The effect is most frequent in May (31 days); for example, on 15 March 2027 it happens at 17:40 local time.
On 142 days the sun stands exactly opposite the Qibla: then the shadow of any vertical object, a pole, a door frame or a plumb line, points straight towards Mecca. This is most frequent in May (31 days), for instance on 15 April 2027 at 06:26.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | — |
| 15 January 2027 | — | — |
| 1 February 2027 | — | — |
| 15 February 2027 | — | — |
| 1 March 2027 | — | — |
| 15 March 2027 | 17:40 | — |
| 1 April 2027 | 16:48 | — |
| 15 April 2027 | 16:05 | 06:26 |
| 1 May 2027 | 15:20 | 07:06 |
| 15 May 2027 | 14:44 | 07:40 |
| 1 June 2027 | 14:11 | 08:16 |
| 15 June 2027 | 13:59 | 08:34 |
| 1 July 2027 | 14:04 | 08:36 |
| 15 July 2027 | 14:26 | 08:19 |
| 1 August 2027 | 15:02 | 07:43 |
| 15 August 2027 | 15:36 | 07:06 |
| 1 September 2027 | 16:17 | — |
| 15 September 2027 | 16:50 | — |
| 1 October 2027 | 17:29 | — |
| 15 October 2027 | — | — |
| 1 November 2027 | — | — |
| 15 November 2027 | — | — |
| 1 December 2027 | — | — |
| 15 December 2027 | — | — |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both moments are in daylight in Khanpur: at 14:18 and 14:27 local time, face the sun and you face the Qibla exactly, anywhere in the city.
Khanpur compared with other cities
Compared with Islamabad, 608 km away, the Qibla in Khanpur is turned 6.7° further clockwise (262.5° against 255.8°), and Mecca is 330 km closer. The nearest city with its own Qibla page, Rahim Yar Khan (43 km), prays towards 262.7°, a difference of 0.2°.
Across the 125 cities in Pakistan on this site, the Qibla ranges from 253.6° in Mingora to 269.0° in Badin, a spread of 15.5°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for Pakistan.
Qibla in cities near Khanpur
- Rahim Yar Khan262.7° · 43 km
- Saddiqabad262.8° · 64 km
- Ahmedpur East262.0° · 80 km
- Dajal260.7° · 105 km
- Jalalpur Pirwala261.4° · 110 km
- Jampur260.7° · 111 km
Qibla in Khanpur: questions and answers
What is the Qibla direction in Khanpur?
It is 262.5° from true north, which is west: 7.5° south of west.
How far is Khanpur from Mecca?
3,198 km in a straight line over the globe, and 3,114 km to Medina.
When does the sun show the Qibla in Khanpur?
On 210 days of 2027 the sun stands in the Qibla direction; the table on this page gives the exact time for the 1st and 15th of each month.
Why is the Qibla in Khanpur not the direction shown on a map?
Flat maps distort directions. The line on a map points to 255.5°, but the shortest route on the globe leaves Khanpur at 262.5°, and that is the Qibla.
Does the Qibla change during the year?
No. The direction of 262.5° is fixed; only the times when the sun lines up with it change from day to day.
