California

Distance from Ontario to San Bernardino

Straight-line distance

19.1mi

Ontario, CA and San Bernardino, CA are 19.1 miles (30.8 km) apart in a straight line. From Ontario, the shortest path starts out heading ENE (68°).

kilometers
30.8
nautical miles
16.6
heading from Ontario
68° ENE
heading from San Bernardino
248° WSW
OntarioSan Bernardino

Orange line: great-circle path · ring: midpoint · thin lines: county borders

How far Ontario is from San Bernardino

The great-circle distance between the Census internal points of Ontario and San Bernardino is 19.1 miles, 30.8 km or 16.6 nautical miles. That is the shortest path over the Earth's surface, computed with the haversine formula on a sphere with the mean Earth radius, 6,371.0 km. A course held on one compass bearing (a rhumb line) would be 19.1 miles, practically the same at this range.

Measurements

Miles
19.1
Kilometers
30.8
Nautical miles
16.6
Bearing from Ontario
67.9° ENE
Bearing arriving at San Bernardino
68.1°
Bearing from San Bernardino
248.1° WSW

Halfway between Ontario and San Bernardino

The great-circle midpoint is at 34.089447, -117.449595 (34°05'22.01"N 117°26'58.54"W). The nearest incorporated place of 1,000 or more people is Fontana, CA, with 218,455 residents, 1.6 miles from the midpoint. To find towns near the midpoint of any two places, use the halfway tool.

Time zones and daylight

Both use America/Los_Angeles, so there is no time difference. On June 21, Ontario gets 14 h 26 min of daylight and San Bernardino 14 h 26 min; on December 21, 9 h 53 min and 9 h 53 min. The two sit at nearly the same latitude, so their day lengths match closely all year.

Population compared

San Bernardino has 1.2 times the population of Ontario. From July 2020 to July 2024, Ontario changed by +5.4% and San Bernardino by +1.2%. Both are in California.

  1. 01Ontario, CA185,285 (+5.4%)
  2. 02San Bernardino, CA224,775 (+1.2%)
July 1, 2024 population and change since July 2020, Census Vintage 2024.

Questions people ask

How far is Ontario from San Bernardino?

19.1 miles, 30.8 km or 16.6 nautical miles along the great circle between the two Census internal points. Road distance is longer.

Which direction is San Bernardino from Ontario?

ENE. The great-circle path leaves Ontario on a bearing of 67.9° and arrives at San Bernardino on 68.1°. The return trip starts on 248.1°.

What is halfway between Ontario and San Bernardino?

The midpoint is at 34.089447, -117.449595. The nearest incorporated place of 1,000+ is Fontana, CA, 1.6 miles from it.

Is there a time difference between Ontario and San Bernardino?

Both use America/Los_Angeles, so there is no time difference.

Which is bigger, Ontario or San Bernardino?

San Bernardino, with 224,775 residents in July 2024 against 185,285 for Ontario, 1.2 times as many.

Sources and data as of

Data as of: Census 2024 Gazetteer internal points and Vintage 2024 estimates; time zones from Open-Meteo.

  1. 01Census 2024 Gazetteer, places
  2. 02Census Vintage 2024 subcounty population estimates
  3. 03SunCalc library (Vladimir Agafonkin), algorithms after Jean Meeus
  4. 04IANA time zone database (clock times and daylight saving rules)

How every number is computed: methodology. Spotted a wrong figure? Report an error.