Qibla direction in San Ramon
From San Ramon, face 19.3° from true north, roughly north-north-east. The Kaaba in Makkah is 13,163 km away along the shortest path over the Earth.
How to face the Qibla in San Ramon
- Open the compass on your phone, or NearMasjid’s Qibla screen, and hold the phone flat.
- Turn until the heading reads 19.3°. 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 Ramon (37.7799, -121.9780) to the Kaaba (21.4225° N, 39.8262° E). It is the same calculation NearMasjid uses on your phone.
- Dublin 19.3°
- Castro Valley 19.2°
- Hayward 19.2°
- Pleasanton 19.4°
- Walnut Creek 19.2°
- San Leandro 19.1°
- Union City 19.3°
- Livermore 19.5°
Frequently asked questions
Is the Qibla in San Ramon exactly north-north-east?
Not exactly. The precise bearing is 19.3° 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.