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