City comparison
Castro Valley, CA is about 30 miles (40 km) from Cupertino, CA in a straight line. By road, the drive is roughly 30 miles, or about 34 min behind the wheel at highway speeds.
Driving distance is a rough estimate (great-circle × 1.25); driving time assumes a 60 mph blended average. Real trips run 10–20% longer with stops.
A direct flight from Castro Valley, CA to Cupertino, CA takes about 3 min, covering roughly 30 miles in a straight line. Connecting itineraries with a layover typically add 1–3 hours.
Block-to-block estimate at ~500 mph cruise, including taxi, climb, and descent — what an airline would publish, not pure airborne time.
Castro Valley has a population of 65,444, vs 59,763 in Cupertino — about the same size. By land area, Castro Valley covers about 17 sq mi vs 11 sq mi for Cupertino.
Population from US Census ACS. Land area from the Census Gazetteer (city proper, excluding inland water).
Cost indices by category, with the US city average (100) marked.
Index: 100 = US city average. Lower is more affordable.
Side-by-side costs, salaries, and sub-category indices.
| Metric | Castro Valley | Cupertino | Difference |
|---|---|---|---|
| Median rent | $2,383/mo | $3,501/mo | 46.9% higher in Cupertino |
| Median home value | $1,013,900 | $2,000,001 | 97.3% higher in Cupertino |
| Median household income | $132,174 | $223,667 | 69.2% higher in Cupertino |
| Groceries index | 108.1 | 105.1 | 2.9% higher in Castro Valley |
| Utilities index | 168.3 | 153.8 | 9.4% higher in Castro Valley |
| Transportation index | 106.1 | 100.7 | 5.4% higher in Castro Valley |
| Healthcare index | 106.0 | 100.6 | 5.4% higher in Castro Valley |
How much you'd need to earn in the other city to keep the same standard of living.
If you earn $100,000 in Castro Valley, you'd need $104,315 in Cupertino to maintain your standard of living.
Climate, safety, and demographics side by side.
Castro Valley, CA is about 4.1% cheaper overall than Cupertino, CA, based on our cost-of-living index. Housing costs are roughly 12% higher in Cupertino than in Castro Valley. If you earn $80,000 in Castro Valley, you'd need about $83,452 in Cupertino to keep the same standard of living.