In germany, it can be extremely difficult to find affordable housing and childcare in some cities. Other regions are more affordable. It depends on demographics and migration trends within Germany. It may be possible to find good housing within commuting distance of your workplace, but these are also getting more expensive.
Also, things like taxes and mandatory social security contributions depend on income and family situation. With the same salary, a single adult will pay more than one with spouse and children. On that note, in Germany a part of your salary would be converted into pension 'points.' What these points are worth will only become clear when you retire. (This system served Germany well through the 20th century, but it is coming under pressure with 21st century demographic trends.)
Finally, the political climate in Germany varies from region to region and even from one part of a city to another. There are areas with strong anti-immigrant parties. Unfortunately, they are strongest in some of the cheapest regions of Germany. I agree with user Trains and Planes: check where you want to live, then worry about the finances.
From your profile, I guess you are in the IT sector. Your salary should be above average for the country you move to, and even average people are able to live reasonably well.
Also, I don't know if you considered how far north Sweden is. Short nights in summer, short days in winter. (I've only gone as far north as Sweden in summer, myself.)