Biggest factor is where you live... because we all know that people are paid according to the value they create, and bits forged in places with high rent are inherently more valuable.
If the job can be performed remotely, then suddenly workers must compete with the global stock of candidates. And there are many locations around the globe that are much cheaper than low-cost areas in the US.