Healthcare, pension and extra vacation make this harder to calculate for teachers than for other jobs. It's not 1:1.
The bureau of labor statistics is clear about the fact they are not paid less than average. Elementary and High school teachers make $73,890 mean wage compared to $65,470 for "all occupations":
1. https://www.bls.gov/oes/2023/may/featured_data.htm#largest2
2. https://www.bls.gov/oes/current/oes252031.htm
You can make this more complex and say that people with equivalent training get paid more, and they do, but then they don't have the perks I mentioned, like huge vacations, having the pleasure of teaching (there's a reason so many people want to teach and supply of teachers doesn't dwindle), pension after you retire, healthcare, and so on.