I received a bonus from my company I was wondering how much the present of taxes should be taken out. They took 40%. Everyone is telling me it should only be 22%?

My check was for around $1800 they took out around $800