18.8° from true north
The Qibla in San Francisco is north-north-east. The Kaaba in Makkah is about 13,176 km (8,187 miles) away.
Find the Qibla in San Francisco with the sun
Today (Sunday 29 November), at these times in San Francisco:
- 13:09: the sun is exactly behind the Qibla. Stand with your back to the sun: your shadow points to the Kaaba.
The time moves by a few minutes from day to day; this page is updated every day.
When the sun is over the Kaaba
Four times a year the sun stands directly over the Kaaba or directly opposite it on the globe. At those moments every upright object, a pole, a door frame, a pencil held straight, casts a shadow along the Qibla line. Next times, in San Francisco local time:
- Wed, 13 January 2027, 13:29: sun opposite the Kaaba. Shadows point towards the Qibla.
- Fri, 28 May 2027, 02:18: sun over the Kaaba. The sun is below the horizon here then.
- Fri, 16 July 2027, 02:27: sun over the Kaaba. The sun is below the horizon here then.
- Sun, 28 November 2027, 13:09: sun opposite the Kaaba. Shadows point towards the Qibla.
Within a few minutes either side the shadow is still close enough.
With a compass
Hold the phone or compass flat, away from metal and electrical devices, and turn until it reads 19° (north-north-east). Phone compasses show true north once calibrated (move the phone in a figure of eight). A hand-held magnetic compass points to magnetic north, which can differ from true north by several degrees depending on where you are.
Mosques near San Francisco
- San Francisco Muslim Community Center (SFMCC) · 947 m
- Islamic Society of San Francisco · 979 m
- Alsabeel Masjid Noor Al Islam · 1.1 km
- Al Tawheed Mosque · 1.4 km
- Islamic Center of San Francisco · 4.5 km
- Bay View Islamic Unity Center · 5.9 km
A mosque's mihrab shows the Qibla too. Mosque data © OpenStreetMap contributors.
Frequently asked questions
Which direction is the Qibla in San Francisco?
The Qibla in San Francisco is 18.8° from true north, which is north-north-east. Facing that way, you face the Kaaba in Makkah.
How many degrees is the Qibla from San Francisco?
18.8° clockwise from true north. On a phone compass set to true north, turn until it reads 19°.
How far is Makkah from San Francisco?
The Kaaba in Makkah is about 13,176 km (8,187 miles) from San Francisco in a straight line over the Earth.
How can I find the Qibla in San Francisco without a compass?
Use the sun: today at 13:09 (local time), the sun is exactly behind the Qibla, so your shadow points to it. Also, at 13:29 on 13 January, the sun is opposite the Kaaba, and every upright shadow points towards the Qibla.
Why does the Qibla direction from San Francisco look wrong on a flat map?
The Qibla follows the shortest path over the globe (a great circle), and flat maps bend those paths. That is why from the Americas the Qibla is north-east or east, not south-east as a flat map suggests.
Is my phone compass accurate for the Qibla?
Usually to within a few degrees, if you hold it flat, away from metal, magnets and electrical devices, and calibrate it by moving the phone in a figure of eight. Phone compasses correct for magnetic north automatically; a hand-held magnetic compass does not, so check its local magnetic variation.
The Qibla on your phone
Sunnah is a free app with a true-north Qibla compass, prayer times with the full adhan, the Quran and nearby mosques. In 12 languages.
Open SunnahQibla direction near San Francisco
- Qibla in Oakland 19.0°
- Qibla in Hayward 19.2°
- Qibla in Concord 19.2°
- Qibla in Fremont 19.3°
- Qibla in Sunnyvale 19.3°
- Qibla in San Jose 19.5°
- Qibla in Santa Rosa 18.4°
- Qibla in Stockton 20.0°
- Qibla in Elk Grove 19.8°
- Qibla in Sacramento 19.6°