LankaTools
✦ Sri Lanka

Qibla Direction

Find the Qibla bearing from a city, coordinates or your location.

In your browser
WorkspaceIn your browser

Use a true-north heading. This page does not read a compass sensor. City centres are approximate; use your own coordinates for your exact position.

−90 to 90; north positive, south negative.
−180 to 180; east positive, west negative.

This is a spherical great-circle initial bearing, measured clockwise from true north: 0° north, 90° east, 180° south, 270° west. The diagram stays north-up; it does not follow your phone orientation. Align with true north independently. Magnetic compass readings need local declination correction.

Fixed Kaaba reference: 21°25′21″ N, 39°49′34″ E (Abdali). Display rounded to 0.1°; precision of your coordinates and the spherical Earth approximation limit accuracy.

Manual coordinates are calculated locally without a remote API or storage. Location is requested only when you press the button; your browser may use its location service. No compass sensor is read.

City coordinates: GeoNames · CC BY 4.0 · CC BY 4.0

Calculation and reference source