Do this comparison both ways and factor in what you pay in addition for American high-stress/low-quality healthcare, college, retirement, etc. If you’re on the higher-end of the SV tech salaries, you’ll probably still come out ahead but for everyone else even Denmark tends to be cheaper.