Climate Classification
Köppen-Geiger: Csb
The Köppen-Geiger system sorts every climate on Earth into a short letter code, using only monthly temperature and rainfall.
- First letter, the main group: A tropical, B dry, C temperate, D continental, E polar.
- Second letter, the rainfall pattern: f no dry season, s dry summer, w dry winter.
- Third letter, the summer heat: a hot, b warm, c cool.
- Devised by the German climatologist Wladimir Köppen from 1884; Rudolf Geiger later revised it.
BSkCold semi-arid (steppe)CsaHot-summer MediterraneanCsbWarm-summer MediterraneanCsbWarm-summer MediterraneanCsbWarm-summer MediterraneanDscDry-summer subarcticBWkCold desertBShHot semi-arid (steppe)San FranciscoSacramentoSan JoseFresnoReno- Csb Warm-summer Mediterranean 29.3%
- Csa Hot-summer Mediterranean 23.2%
- BWk Cold desert 16.5%
- Dsc Dry-summer subarctic 14.3%
- BSk Cold semi-arid (steppe) 13%
- BSh Hot semi-arid (steppe) 3.5%
San Francisco is Csb: a warm-summer Mediterranean climate.
Temperate
Coldest month averages above 32°F (or 26.6°F).
Dry summer
Driest summer month under 1.6 in, and a third or less of the wettest winter month.
Warm summer
Every month averages under 71.6°F; at least four average above 50°F.
Does San Francisco qualify?
- Dry-summer climates like ours cover about 2% of Earth's land — Porto, Valparaíso and the Oregon coast share our code.
- One code covers the whole city. The sections below break it down.
Why It’s Cold
A cold current
The California Current runs south past us all year.
Upwelling
Northwest winds push surface water offshore; cold water rises to replace it. The ocean at Ocean Beach sits at 52–56°F in August.
The North Pacific High
Parked offshore from spring to fall. It blocks storms, and its sinking air lays a warm lid — the inversion — over the cool air below.
The Central Valley
95–105°F inland. Hot air rises, pressure falls, and marine air gets pulled through the gaps in the Coast Range.
- The sea-level gaps are the Golden Gate, the San Bruno Gap, the Petaluma Gap and Carquinez. They act as nozzles.
- Hotter Valley = harder push. The fog is strongest when inland California is at its worst.
- Winter turns it off: the High slides south, storms arrive, the lid breaks up. The clearest days of the year follow a January storm.
The Year
Average high and low, °F
Rain, inches a month
- September is the warmest month, October second. June is not summer here.
- Very little air conditioning in the housing stock, and not much heating either.
- 72°F in the Mission and 58°F with a 25 mph wind at Ocean Beach, same hour, same day.
Month-by-month table
| Month | High | Low | Rain |
|---|---|---|---|
| Jan | 57° | 46° | 4.4" |
| Feb | 61° | 48° | 4.4" |
| Mar | 62° | 49° | 3.2" |
| Apr | 63° | 50° | 1.5" |
| May | 64° | 52° | 0.6" |
| Jun | 67° | 53° | 0.2" |
| Jul | 67° | 55° | — |
| Aug | 68° | 56° | 0.1" |
| Sep | 70° | 56° | 0.2" |
| Oct | 69° | 54° | 1.1" |
| Nov | 63° | 50° | 2.6" |
| Dec | 58° | 47° | 4.5" |
Bay Micro
Around the Bay
The Bay Area’s eleven microclimates
- 1The Fog Coast 63°FFirst land the marine layer touches. Grey summers, green winters.Bodega Bay · Point Reyes · Pacifica · Half Moon Bay
- 2The City 67°FAll four fog zones in seven miles — see below.San Francisco
- 3The Bayshore 76°FMarine air softened by the crossing. The region's mildest strip.Berkeley · Oakland · San Mateo · Burlingame
- 4The Redwood Ridges 78°FThe Santa Cruz Mountains crest. Fog-catching redwoods, up to 45 inches of rain.Skyline · Kings Mountain · La Honda
- 5The Hills 80°FOverlooking Berkeley and Oakland, above much of the marine layer. Warmer, more sun, less fog.Berkeley & Oakland hills · 500–800 ft
- 6The Wind Tunnel 81°FA low break in the Coast Range. One of the windiest corridors in California.Petaluma · Sears Point
- 7Tam's Shadow 82°FMount Tamalpais blocks the direct marine push.San Rafael · Mill Valley · Novato
- 8The Sun Bowl 84°FFar from every gap and in the mountains' rain shadow. Driest and sunniest.Redwood City · Palo Alto · San Jose · Los Gatos
- 9The Delta Breeze 86°FWhere the Bay narrows into the Delta. Hot afternoons, then an evening breeze through the Carquinez Strait cools the whole inland valley.Benicia · Martinez · Pittsburg · Antioch
- 10Wine Country 88°FHot afternoons, fog-cooled nights — the swing that grows the grapes.Santa Rosa · Sonoma · Napa · CalistogaWine AVA map →
- 11Over the Hills 91°FEast of the Berkeley–Oakland hills: 90°F+ afternoons, cooled at night by the Delta breeze.Walnut Creek · Concord · Livermore · Fairfield
- 28°F separates Bodega Bay from Livermore on the same July afternoon, 80 miles apart.
- Skyline collects three times the rain San Jose does — storms are forced up and over the Santa Cruz Mountains.
- December afternoons barely vary — 52°F on Skyline to 59°F in San Jose. July is what sorts this region.
SF Micro
San Francisco Primary Microclimates
What shapes the city’s microclimates
- Fog
- Ocean air crossing cold upwelled water rolls in May to August — pulled harder the hotter inland California gets.
- The ridge
- Mount Davidson (928 ft), Twin Peaks and Mount Sutro stop it: fog stacks on the west side, the northeast sits in the lee and the sun.
- Two gaps
- The Golden Gate feeds the north half, the San Bruno Gap the south along 280 — why Ingleside is foggier than the Mission.
- Wind
- 20–30 mph through the Golden Gate from midafternoon; ground just downwind of a hill can be 10°F warmer and half as windy.
- Elevation
- The fog deck usually tops out at 800–1,500 ft — peaks can sit in sun above a white sea while the slopes below are grey.
- Sun & slope
- The way a lot faces decides its winter sun: south slopes collect the most, a north slope can sit in shadow for weeks.
Advection Fog
- 1Sun
- 2Transition
- 3Fog
- 4Persistent Fog
A Summer Day in SF
How fog forms, step by step
- Dew point
- The temperature at which air can’t hold its water vapor any more. The closer the air is to it, the more humid it feels.
- Saturation
- Air at its dew point holds all the vapor it can: 100% relative humidity. Cool it any further and the extra water becomes droplets.
- Marine layer
- The cool, moist, foggy air that sits on top of the ocean, a few hundred to 1,500 feet deep.
- Inversion
- Normally air gets colder with height. Under a High it gets warmer, which makes a warm lid that traps the marine layer below.
- High & Low
- Air flows from high pressure to low. A High sits over the cool Pacific and a Low forms over the hot Valley, so the wind blows ashore.
Steps 1–5 · Making the fog
Cold water wells up
Always, strongest in summerWind blowing down the coast pushes warm surface water out to sea. Deep, cold water rises to replace it. This is the California Current, and it stays near 52–56°F all summer.
Ocean 52–56°FWarm, humid air arrives
Across the open PacificThe air over the ocean is warmer than the water and carries invisible water vapor. Its dew point is the temperature it would have to cool to before it can’t hold that vapor any more.
Air 62°FDew point 54°FGap 8°Air meets its dew point
Over the cold waterChilled from below, the air cools until its temperature equals its dew point. It is now saturated, 100% humid, and the vapor condenses into billions of tiny droplets. A cloud on the surface is fog.
Air 54°FDew point 54°FGap 0°A lid holds it down
May to SeptemberThe North Pacific High sinks warm, dry air from above, which forms a lid: an inversion. The cool, foggy air can’t climb through it, so it spreads out as a flat sheet called the marine layer.
Fog top 800–1,500 ftInland heat pulls it ashore
AfternoonThe Central Valley bakes. Its hot air rises and leaves low pressure behind. The cooler, high-pressure air at the coast flows toward it, a sea breeze that drags the marine layer through the Golden Gate.
Valley 95–105°FCoast low 60s
Steps 6–10 · A day over the peninsula
Thickest
Midnight – 8amNights are cool and the lid holds. Air stays within a degree or two of its dew point, so the fog is solid. It fills the west side, rises just over the hill and reaches across the Bay to the East Bay hills.
Air 55°FDew point 54°FGap 1°Burns back
8am – noonThe sun heats the ground, and the ground heats the air. Air temperature climbs away from the dew point, and the droplets evaporate. The fog thins from the top and retreats from the bay side first.
Air 58 → 65°FDew point 53°FGap 5 → 12°Clearest
Noon – 3pmThe gap is at its widest and the sky is open. The fog sits as a bank just off the coast, waiting. Inland, the Valley keeps heating.
Air 65°FDew point 52°FGap 13°The push
3pm – 7pmThe Valley peaks and the pull is strongest. The bank rolls back through the Golden Gate and lands on the west side first, on a 15–25 mph sea breeze. Air cools to its dew point again.
Air 62 → 56°FDew point 55°FGap 7 → 1°Over the hill
7pm – midnightAfter sunset the land cools and the lid still holds. The deck deepens, spills over the hill and runs down its east slope to the edge of the Bay overnight. Tomorrow it starts again.
Air 56°FDew point 54°FGap 2°
Schematic cross-section, west to east, not to scale. Temperatures are typical July values for the west side.
The gap that makes the fog
How deep the fog is
The ridge
- Marine air comes in low and heavy and stacks against the western slope.
- It spills through the saddles and around the ends rather than over the top.
- Cole Valley sits below a saddle and gets the overflow. The Castro, a mile east, stays in the sun.
Two doors
- The Golden Gate feeds the northern half — Presidio, Richmond, Marina, across the Bay.
- The San Bruno Gap feeds the south along the 280 corridor.
- That second door is why Ingleside and Lakeshore see far more fog than the Mission a few miles north.
Inversion
- A strong cap stops the deck mixing out — it can sit all day.
- A weak cap lets the morning sun break it up.
- Offshore wind removes it: the fog goes out to sea and the city gets its 80°F days.
The Ridge
The ridge down the middle of the city — Mount Davidson 928 ft, Twin Peaks 922, Mount Sutro 909 — does to marine air what the Coast Range does to the region.
Sun
- The northeast quadrant, in the lee of the ridge.
- Eight to ten degrees warmer than the west side on a summer afternoon.
- Least wind, most reliable sun, highest price per foot.
North Beach, Russian Hill, Nob Hill, Telegraph Hill, Marina, Hayes Valley, Mission Dolores, South of Market
Transition
- The 8.5-hour line, where fog spills through the ridge's saddles — 22 neighborhoods reach it.
- Fog arrives in the late afternoon, gone by eleven the next morning.
- Sun on one block, grey on the next — 30 neighborhoods cover more than one zone.
Noe Valley, Eureka Valley, Lower Pacific Heights, Laurel Heights / Jordan Park, Bernal Heights, Potrero Hill, Haight Ashbury, Presidio Heights
Fog
- West of the ridge, plus the southern tier fed by the San Bruno Gap.
- Summer afternoons in the low 60s with a 20+ mph west wind.
- Grey mornings and evenings, with a clear spell around midday.
Inner Richmond, Outer Richmond, Inner Sunset, Outer Sunset, Cole Valley, Glen Park, West Portal, Excelsior
Persistent Fog
- The southwest corner — Ingleside, Oceanview, Parkmerced, Lakeshore.
- Runs to 12.5 hours a day, the most in the city.
- The city's most affordable houses.
St. Francis Wood, Westwood Park, Ingleside Terraces, Balboa Terrace, Merced Heights, Sunnyside, Outer Mission
Single-family median, Jan 1 – Oct 31, 2026
Houses only, each counted by the fog zone at the house. Across all property types the order flips, because the Sun zone is mostly condos.
Block by Block
Wind
- 20–30 mph through the Golden Gate from midafternoon into the night.
- Ridgelines speed it up; the ground just downwind of a hill can be 10°F warmer and half as windy.
- Downtown towers throw their own gusts — a plaza can be unusable while the street behind it is calm.
Sun angle
- Low winter sun makes the direction a slope faces decisive.
- A north-facing slope can sit in its own shadow for weeks.
- A rear yard north of a three-story building may get no direct winter sun at all.
Elevation
- The fog deck has a top, usually 800–1,500 ft.
- Twin Peaks in sun above a white sea, Cole Valley 300 ft below it in grey — same afternoon.
- Higher is not automatically better: on a deep day the hilltops are first in and last out.
Grade
- Cold air is dense — at night it drains downhill and pools in the low ground.
- Glen Canyon and the Sunset's interior hollows run colder overnight than the slopes above them.
- A steep south-facing lot collects far more winter sun than flat ground next door.
Sun on the Lot
The Difference Direction Makes
- In June the sun rises and sets behind the north wall — northeast and northwest.
- In December it rises and sets well south of east and west, and tops out at 29°.
- A north-facing rear yard spends most of the winter in its own house's shadow.
A 40 ft neighbor to the south, at noon
December noon sun on a 20% grade
Measure it yourself
- Sun Seeker or Sun Surveyor (phone): draws the sun's path over the camera view.
- Compass and inclinometer apps: the direction and angle to any roofline or tree.
- Google Earth: 3D buildings and a sun slider for any date.
- A photo from the yard at noon near December 21 settles it.
Sky chart — the whole sky, seen from the rear yard
Grey is the skyline: whatever the sun passes behind is lost sun. Dots mark 9am, noon and 3pm. An example lot — a phone sun app draws this for a real one.
What does your block get?
Send an address. I’ll send back its sun, wind, fog and sales.
Climate normals: NOAA/NWS, downtown San Francisco station. Fog hours: USGS analysis of GOES satellite imagery, 1999–2009. Regional figures are rounded. Diagrams are schematic. Any single year departs from all of it.