This way, the answer begins to change as your family size grows. Which I think is accurate.
https://www.rentcafe.com/average-rent-market-trends/us/ca/sa... https://www.rentcafe.com/average-rent-market-trends/us/id/ad...
Note that the difference is less if you didn't have a car in SF (or NYC) but need one in Boise.
Speaking of Stanford, one of my coworkers left to go teach there for a year and then came right back. She was actually losing net worth there because they didn't pay her enough for the area, and she didn't want to cut back on her lifestyle and live frugally like one would have to to make a future on that salary. It's sad, but there you go. Maybe there should be a tuition surcharge on CS majors to allow them to actually pay instructors enough to retain them, vs running right back to industry.