The question is very subjective and no matter how much others earn, what is important is how much you can make coding in WordPress.
Still, if you prefer some number, then $50 per hour is the average hourly rate, according to a study conducted by WordPress co-founder Matt Mullenweg in 2017.
I know tons of new WordPress developer in India who are willing to work at the $5 to $10 per hour, and so when the average is at $50, there has to be so many more who are charging more than $100 per hour to make that average number.