Well, it depends. There are full-time and part-time students, and associate degrees and bachelor degrees.
An associate degree typically consists of 60-61 credits and a bachelor degree consists of twice as much. A three-credit hour class is a time-commitment of 10 hours of time a week, so if you are attending full-time (four classes a semester), that’s somewhat like a full-time, 40-hr a week job.
An advisor can help you decide what amount of time commitment you can make, and from there, you can determine how long it will take you to complete your degree.