@Victor It depends on the program. Public universities will be cheaper than private ones, generally - often much cheaper. However, most math PhD programs will cover your tuition for you and pay you a stipend - often to teach lower-level calculus courses. You can get an idea of how much tuition and stipends are by looking at "
Assistantships and Graduate Fellowships in the Mathematical Sciences," published annually by the AMS.