It will not vary much by degree, but rather by school. Are you talking about a public university, or a private university? Are you talking about the in-state fees, or the out-of-state fees? If a student is not a resident of that state, they will be charged out-of-state tuition.
I'll use my (public) university as an example. For in-state students, it costs $384 a credit hour. We have a lovely feature that "caps" our tuition if we reach full-time status (12 hours) so any hours above that are basically free. So, a full-load of 12-18 hours at my college will cost an in-state student $4,215. Multiply that by four years (eight semesters) and that's $33,720.
For an out-of-state student, though, it costs $722 per credit hour. The tuition cap still applies, so a full-load of 12-18 hours will cost $7,931. Multiply that by four years and that's $63,448.
That's not taking into account the cost of a dorm. A regular double (that is, two people per room) at my college costs $2,290 a semester. Multiply that by four years (if you plan on living on campus all four years) and that's an additional $18,320.
Take into account the fact most colleges require a food plan to live on campus (at least for the first two years that you do that). The cheapest of those is $1,285 a semester. So let's pretend you only use that for the first required two years - that's still $5,140.
So, at my college:
- In-state, commuter student: $33,720.
- Out-of-state, commuter student: $63,448.
- In-state, dorm+food student: $57,180.
- Out-of-state, dorm+food student:$86,908.