Maybe the difference is taxes. I think taxes in USA are lower, but the state provides less services.
In Spain, just having an average salary, the state takes 50% of the money your company pays you.