Compensation in the SF Bay Area is another level but so is cost of housing in the SF Bay Area. So it's kind of a wash. Although if you're willing to rent and live frugally in the Bay Area you can save a lot.
The compensation though makes take home pay far better than anywhere else even omitting that if you’re at a well compensating place (i.e. FAANG), even for just single individuals.