How hard is it to get into math grad school.

I am currently at a community college, so I know that I may be getting ahead of myself. However, I am studying for a mathematics major and am planning to potentially become a professor. I have a PhD on my long term goals list, and I am curious about how hard I can expect it to be to get admitted into a PhD program for mathematics.