Hi usaar333,
We got the median software engineer salary off of Glassdoor for San Francisco. It's possible that this skews lower than the actual median salary in the area, based on the type of people who report their salaries on Glassdoor, but that's probably the case for all the salary information we got. We were plainly looking at software engineers, not senior ones or any unique specialities. From there, we used a typical formula for mortgage affordability to figure out how much they could spend on a home. We compared that with recent sales over the last 6 months to determine what % of those homes they could have purchased.
Hope that helps!
Kelly from Estately