How to find the Qibla direction without a compass
Use coordinates, a map, the sun, or a known local reference to face the Qibla when your phone has no working compass sensor.
7 min read · updated
The most reliable method begins with a calculated bearing. Open the Qibla direction finder, allow location access or enter coordinates, and note the true Qibla bearing. The bearing is measured clockwise from geographic north. A result of 72° means the direction is 72° clockwise from true north.
Use a north-oriented map
Open a map that can show your position and true north. Keep north at the top rather than rotating the map to your movement. Imagine or draw a line from your position at the displayed Qibla angle. Choose a visible feature on that line, such as a building edge, road, or distant landmark, and face it.
A map method avoids magnetometer errors, but its quality depends on a correct location and map orientation. Building interiors can make a distant feature hard to see, so establish the direction outside or beside a window before moving to the prayer space.
Use the sun as a true-bearing reference
The sun compass calculates solar azimuth from your coordinates and time. Suppose the Qibla is 120° true and the sun is at 200°. Face the sun, then turn 80° counterclockwise to face 120°. Use the smallest signed angular difference and keep your body rotation direction clear.
A shadow can replace direct sighting. A vertical object's shadow points away from the sun's azimuth. Avoid staring at the sun, especially through optics. Cloud, buildings, darkness, and a wrong device clock can remove or shift the reference.
Use a known local direction
A nearby mosque, marked prayer room, or mihrab can provide a practical reference when its orientation is trusted. Buildings are not always aligned exactly, and copied directions can be wrong, so compare the local reference with the calculated bearing when possible.
Hotel staff, airport prayer rooms, and local Islamic organisations may also provide an established direction. A wall arrow is useful only if it belongs to your current location and has not been moved.
Understand true and magnetic bearings
A physical compass points toward magnetic north. A map and the sun use true north. The angle between them is magnetic declination. Use the magnetic Qibla value with a baseplate compass and the true value with a map or celestial reference.
The declination calculator shows the local correction from WMM2025. Do not apply declination twice: if the Qibla page already labels a value magnetic, that value is ready for a magnetic compass.
Check the result
Repeat the method with a second reference. Compare a map line with the sun, or compare a local mosque direction with the calculated bearing. Small differences can come from pointing by eye, location rounding, and building alignment. A large disagreement signals a wrong north reference, magnetic interference, incorrect coordinates, or a calculation setup problem.
Once you identify the direction, mark a distant object or stable room feature. That removes the need to repeat the full process for each prayer in the same place.
Return to the Qibla direction finder to calculate the true and magnetic bearings for your exact position.
Frequently asked questions
Can I find Qibla without a compass?
Yes. Calculate the true bearing to the Kaaba, then align it with a north-oriented map, the sun's known bearing, or a trusted local reference.
Does GPS show which way I am facing?
GPS can provide coordinates and may report travel direction while moving. It does not reliably show the direction a stationary phone faces without orientation sensors.
Can I use the sun to face Qibla?
Yes. Compare the sun's current true bearing with the Qibla true bearing, then turn by the angular difference.