Qibla direction in San Rafael
From San Rafael, face 18.7° from true north, roughly north-north-east. The Kaaba in Makkah is 13,158 km away along the shortest path over the Earth.
How to face the Qibla in San Rafael
- Open the compass on your phone, or NearMasjid’s Qibla screen, and hold the phone flat.
- Turn until the heading reads 18.7°. NearMasjid shows “Facing Qibla” when you are lined up.
- Compass apps point to magnetic north unless set to true north; NearMasjid uses true north.
Face the Qibla anywhere
NearMasjid shows the Qibla on a compass or on a map, with the bearing from your location, your current heading and the distance to Makkah. It tells you when you are facing the Qibla.
Download on the App StoreFree for iPhone and iPad. No ads, no account, no in-app purchases.

How this is calculated
The bearing is the initial great-circle direction from the centre of San Rafael (37.9735, -122.5311) to the Kaaba (21.4225° N, 39.8262° E). It is the same calculation NearMasjid uses on your phone.
- Novato 18.6°
- Richmond 18.9°
- San Francisco 18.8°
- Berkeley 19.0°
- Vallejo 19.0°
- Oakland 19.0°
- Petaluma 18.5°
- Daly City 18.8°
Frequently asked questions
Is the Qibla in San Rafael exactly north-north-east?
Not exactly. The precise bearing is 18.7° from true north; north-north-east is the nearest compass point.
Why isn’t the Qibla simply south-east from the UK or east from the US?
The Qibla follows the shortest path over the curved Earth (a great circle), so on a flat map it can look different from a straight line.