Different companies provide different salary hikes. There are companies that offer 70-80% hike (or even 2x) when you switch and there are companies who offer less. Having 2 years of experience as a Software Developer, you should expect a minimum of 35% - 40% hike in salary when you switch. If you are getting offered less than 35%, it is not worth it. You might want to switch with lesser hike because you see no growth in the present company. Keeping that in mind, I would suggest you to at least expect 30% hike.