AI degrees come in three main levels, plus certificates: a bachelor's takes about four years and 120 credits, a master's takes one to two years and typically 30 to 45 credits, and a PhD adds several years of research. Certificates take 3 to 12 months and work best for adding skills on top of a degree. Most AI degrees blend programming, math and statistics, machine learning, and data work, so compare course depth rather than the word “AI” in the title.
Choose your degree level
Each ranking below covers one degree level and one format, so a program appears on only one of them.
AI bachelor's (on campus)
Our main AI degree ranking: four-year bachelor's programs on campus or hybrid.
View ranking → AI · UndergraduateAI bachelor's (online)
Fully online bachelor's degrees in AI and AI-focused computer science.
View ranking → AI · GraduateAI master's (on campus)
Campus and hybrid master's programs with research labs and in-person cohorts.
View ranking → AI · GraduateAI master's (online)
Online master's in artificial intelligence for working professionals.
View ranking → AI · DoctoralPhD in artificial intelligence
Research doctorates for academic and research-scientist careers.
View ranking → AI · CertificateAI certificate programs
Shorter credentials for adding AI skills on top of a degree.
View ranking → Cyber · UndergraduateCybersecurity bachelor's (on campus)
Campus and hybrid bachelor's programs, plus what strong curricula look like.
View ranking → Cyber · UndergraduateCybersecurity bachelor's (online)
Fully online cybersecurity bachelor's degrees.
View ranking → Cyber · GraduateCybersecurity master's (on campus)
Campus and hybrid master's programs in cybersecurity.
View ranking → Cyber · GraduateCybersecurity master's (online)
Online master's in cybersecurity.
View ranking →Not sure about format yet? Start with our online AI degrees guide, which compares online bachelor's, master's, and certificates.
Quick comparison
| Level | Typical length | Best for |
|---|---|---|
| Bachelor's | 4 years | Entry-level AI/ML roles, grad school prep |
| Master's | 1–2 years | Career switchers, specialized AI roles |
| Certificate | 3–12 months | Skill stacking without a full degree |