Qibla · California
Qibla direction in San Bernardino
To face the Kaaba in San Bernardino, turn to 24.8° measured clockwise from true north, which is north-east (24.8° east of north). The Sacred Mosque in Mecca lies 13,382 km away along the shortest path over the globe, and this is the direction the mihrabs of the mosques in San Bernardino should follow.
The compass rose shows the Qibla of San Bernardino as a needle at 24.8°. With a phone app set to true north, simply turn until it reads 25°. A traditional magnetic compass also works, provided you allow for the local difference between magnetic and true north.
Find the Qibla with your phone
How to face the Qibla in San Bernardino
Stand where you will pray and find north first. Then turn towards north and move a further 24.8° towards east: the result is the bearing of 24.8°. A small error of a few degrees is forgiven by most scholars, but aiming simply at north would leave you about 25° off.
The scholars distinguish two cases: the one who sees the Kaaba aims at the building itself, while the one who cannot see it, as anywhere in San Bernardino, aims at its direction as well as he reasonably can. Comparing with the mihrab of a local mosque is a quick way to confirm the result. If you travel or move house, check the angle again, since it changes from place to place.
Why a flat map shows a different direction
This is a place where maps mislead badly: a straight line on a flat map from San Bernardino to Mecca points to 95.2° (east), a full 70.4° away from the true Qibla of 24.8° (north-east). The map line keeps one compass heading and is 2,092 km longer than the great-circle route. Because the Earth is a sphere, the shortest way to Mecca from San Bernardino first heads north-east, and that is the direction to face.
The value of 24.8° is the direction in which the shortest route from 34.1083° N, 117.2898° W sets off towards the Kaaba at 21.4225° N, 39.8262° E. Every accurate Qibla calculator, and the plans of well-oriented mosques, arrive at the same angle for this point.
Distance from San Bernardino to Mecca and Medina
Mecca is 13,382 km from San Bernardino as the crow flies, and Medina, the city of the Prophet ﷺ, is 13,060 km away. A direct flight would take roughly 16 h 15 min, although most pilgrims from San Bernardino connect through Jeddah or Medina airport.
Clocks in San Bernardino run 11 hours behind Mecca in winter and 10 hours behind Mecca in summer, because of daylight saving time. Prayer times, however, depend on the sun at your own location, so always use the prayer times of San Bernardino rather than those of Mecca.
Finding the Qibla with the sun in San Bernardino
From San Bernardino the sun never rises high in the Qibla direction of 24.8°, so you cannot simply face the sun. The opposite method works instead, as the right-hand column of the table shows.
On 365 days the sun stands exactly opposite the Qibla: then the shadow of any vertical object, a pole, a door frame or a plumb line, points straight towards Mecca. This is most frequent in January (31 days), for instance on 1 January 2027 at 13:27.
| Date | Sun in the Qibla direction (face the sun) | Sun opposite (shadows point to the Qibla) |
|---|---|---|
| 1 January 2027 | — | 13:27 |
| 15 January 2027 | — | 13:29 |
| 1 February 2027 | — | 13:27 |
| 15 February 2027 | — | 13:20 |
| 1 March 2027 | — | 13:11 |
| 15 March 2027 | — | 13:59 |
| 1 April 2027 | — | 13:44 |
| 15 April 2027 | — | 13:32 |
| 1 May 2027 | — | 13:21 |
| 15 May 2027 | — | 13:14 |
| 1 June 2027 | — | 13:11 |
| 15 June 2027 | — | 13:11 |
| 1 July 2027 | — | 13:15 |
| 15 July 2027 | — | 13:20 |
| 1 August 2027 | — | 13:26 |
| 15 August 2027 | — | 13:31 |
| 1 September 2027 | — | 13:35 |
| 15 September 2027 | — | 13:38 |
| 1 October 2027 | — | 13:42 |
| 15 October 2027 | — | 13:46 |
| 1 November 2027 | — | 13:53 |
| 15 November 2027 | — | 13:00 |
| 1 December 2027 | — | 13:11 |
| 15 December 2027 | — | 13:19 |
Twice a year the sun passes directly over the Kaaba, on 28 May 2027 and 16 July 2027. Both happen at night in San Bernardino (02:18 and 02:27 local time), so they cannot be used here. Instead, on 13 January 2027 at 13:29 and 28 November 2027 at 13:09 the sun is over the point opposite the Kaaba, and every vertical shadow in San Bernardino points straight to Mecca.
San Bernardino compared with other cities
Compared with Washington D.C., 3,608 km away, the Qibla in San Bernardino is turned 31.8° further anticlockwise (24.8° against 56.6°), and Mecca is 2,749 km farther away. The nearest city with its own Qibla page, Moreno Valley (20 km), prays towards 24.9°, a difference of 0.1°.
Across the 244 cities in the United States on this site, the Qibla ranges from 17.2° in Hillsboro to 350.9° in Anchorage, a spread of 333.7°. That is too large to use one national direction, so each city has its own bearing.
See all cities on the Qibla page for United States.
Qibla in cities near San Bernardino
- Moreno Valley24.9° · 20 km
- Riverside24.7° · 20 km
- Rancho Cucamonga24.5° · 28 km
- Corona24.6° · 36 km
- Pomona24.4° · 43 km
- Victorville24.7° · 48 km
Qibla in San Bernardino: questions and answers
What is the Qibla direction in San Bernardino?
It is 24.8° from true north, which is north-east: 24.8° east of north.
How far is San Bernardino from Mecca?
13,382 km in a straight line over the globe, and 13,060 km to Medina.
When does the sun show the Qibla in San Bernardino?
The sun never stands in the Qibla direction here, but on 365 days it is exactly opposite, and shadows then point to Mecca.
Why is the Qibla in San Bernardino not the direction shown on a map?
Flat maps distort directions. The line on a map points to 95.2°, but the shortest route on the globe leaves San Bernardino at 24.8°, and that is the Qibla.
Does the Qibla change during the year?
No. The direction of 24.8° is fixed; only the times when the sun lines up with it change from day to day.
