How to Create 100,000 Parking Spots in San Francisco
*“If all the planets are properly aligned, if you’re holding your mouth right and if you avoided walking under that ladder, you might, just might, be able to find a parking space in San Francisco.”
- Someone named Jay*
Sadly, Rudyard Kipling got it wrong. San Francisco has two drawbacks: ‘tis hard to leave, and parking. The pain parking causes San Franciscans is widely documented, and can evidently be so severe that it drives people to attempt crazy things, to write crazy things, and, in one tragic instance, to kill each other.
Rather than blame a lack of space, steep hills, or quick-triggered parking attendants for these problems, we should blame something else: driveways. As anyone who’s tried to park in San Francisco knows, not only are driveways a tease (“Finally, a spot?…Could it be…I think….it is……a driveway.”), but their haphazard arrangement also wastes a tremendous amount of space. Because driveways appear to sit randomly in front of houses, the gaps between them are often too small for a car, which leaves large portions of curb space unused - or encourages some, like Svbtle writer Brian Mayer, to push their luck.
But it doesn’t have to be this way.
Two Visions of San Francisco #
In one San Francisco - the San Francisco we currently live in, as best I can tell - driveways are positioned in front of houses at random. In this world, a simple model estimates that, under some basic assumptions outlined below, residential neighborhoods in San Francisco have about 265,000 street parking spots. This figure is pretty close the city’s count of 255,000 unmetered spots in San Francisco (unmetered spots are typically in residential neighborhoods, while metered spots are usually in commercial areas), suggesting these calculations do a decent job of modeling city parking.
In an alternative world in which driveways are arranged in a way that maximizes street parking space, the same residential areas could accommodate 355,000 spots. This world includes the same number of blocks, with the same number of houses and the same number of driveways. But by simply arranging driveways in organized manner, San Francisco could increase residential parking capacity by 33%.
A better world awaits
Graphic designed by Brett Ashton
Unfortunately, rearranging all the driveways in San Francisco probably isn’t feasible anymore. As new apartments and houses get built and new neighborhoods are developed, however, San Francisco - as well as other cities with limited space for parking - should consider ways to organize driveways that benefit both drivers and homeowners.
I started with a few basic assumptions:
The average driveway requires ten feet of curb space - seven feet for the driveway, and 18 inches of buffer on either side.
Houses and apartments are about 30 feet wide, implying that there are about 10 houses per 300-foot block, and 23 per 700-foot block.
An estimated 70% of houses have a single driveway.
For each block, to account for differences in block size, house size, and other variables, each input is allowed to vary randomly by 10%. Once these inputs are decided for a particular block, I determined how many spots can fit on that block with randomly positioned driveways and with optimally positioned driveways. In both models, the same number of houses have the same number of driveways; the only difference is the driveway arrangement.
Because there are assumed to be 3,700 residential blocks in San Francisco, this calculation is repeated 7,400 times using the long block length (corresponding to the two long sides of each blocks) and 7,400 times using the short block length (the two short sides of each block). Summing the number of parking spots on the 14,800 curbsides around these 3,700 blocks provides a city-wide total.
The entire calculation can be recreated by running this Python script. If you want to adjust some of the assumptions and see what the totals look like under different scenarios, inputs are clearly marked at the top of the script.
Of course, some of these assumptions may be oversimplifications. Different cars require different amounts of space to park, which means some the larger unused spaces could actually be occupied by small cars or motorcycles. Also, because driveways have to fit to the house behind them, it may not always be possible to arrange driveways in an optimal way.
Nevertheless, the potential for improvement is clear. More parking could save San Franciscans from untold hours of stress. And if nothing else, because many of us aren’t as good at parallel parking as others, we could at least use a little extra space.
Are there questions you’re interested in exploring? I’m always looking for new datasets and cool problems to write about. If you have questions that you think could be answered with data - on topics ranging from Miley Cyrus to Hyperloops and perfect games - feel free to send me your questions at firstname.lastname@example.org.