I'm in the Boston market and median salary for devs is around 80-90k when you include all skill levels, but every single dev I know has roommates or an hour+ commute into the city and higher healthcare costs than Germany.
I'd believe that you would make more overall money in the US once you got to the higher end of the market, but it's not as simple as a calculation as you are making it out to be