Qibla finder / India

Qibla direction from Rampur, 267.3° west

From Rampur, face 267.3° clockwise from true north to face the Kaaba in Makkah, 4,013 km away. With a magnetic compass, face 266.1°.

Qibla from Rampur267.3°

west (W), from true north

Distance to the Kaaba
4,013 km (2,493 miles)
Magnetic compass bearing
266.1°
Magnetic declination
1.2° east
City centre
28.8152, 79.0250

How to face the qibla

Stand with a compass and turn until it reads 266.1°. That is 267.3° from true north, adjusted for the 1.2° east magnetic declination in Rampur. Or open the live compass on your phone.

Worked out for the centre of Rampur. Across the city the direction changes by less than a degree.

Guide

Why the qibla is west from Rampur

The qibla is the direction of the Kaaba, measured along the shortest path over the globe. From Rampur that path leaves heading west, at 267.3° from true north. Flat maps distort this route, so it can look wrong on a map even though it is the true direction.

A compass points to magnetic north, which in Rampur is 1.2° east of true north this year, by the World Magnetic Model 2025. That is why the compass bearing, 266.1°, differs from the true bearing.

Hanafi position

Someone far from Makkah faces the direction (jihah) of the Kaaba. A small turn to the left or right does not affect the prayer, and a prayer made after a genuine effort stays valid even if you later learn you were slightly off.

Other madhhabs
Shafi'i
The stronger view is to aim at the Kaaba itself by your best effort, even from far away.
Maliki, Hanbali
Facing the direction is enough, as in the Hanafi school.

Qibla from cities near Rampur in India

Moradabad, the closest city in this list, is 25 km away. Its qibla is 267.1°, 0.2° less clockwise than Rampur. Over this distance the change is too small to matter when you pray.

CityDistanceQiblaDirection
Moradabad25 km267.1°W
Bareilly64 km268.1°W
Meerut130 km266.3°W
Aligarh137 km268.1°W
Ghaziabad154 km266.7°W
Delhi179 km266.6°W
Saharanpur192 km264.8°W
Agra208 km269.1°W
Lucknow289 km270.9°W
Kanpur293 km271.1°W

Reviewed by Hafez Mawlana Abu Darda and Mawlana Akramul Haque Fenwi, Islamic scholars. For a more accurate answer to your own situation, consult a scholar.

Questions

Good to know

What is the qibla direction from Rampur?

The qibla from Rampur is 267.3° from true north, which is west. With an ordinary magnetic compass, face 266.1°.

How far is Rampur from Makkah?

About 4,013 km (2,493 miles) in a straight line over the globe.

Why is the qibla west from Rampur?

The qibla follows the shortest route over the curved Earth to the Kaaba, called a great circle. On a flat map this route looks curved, so the direction can look different from what a map suggests.

How exact do I need to be?

In the Hanafi school, someone far from Makkah faces the general direction of the Kaaba. A small turn to either side does not affect the prayer. Do your best, or follow the direction of your local masjid.