Best Computer Science Programs in Pennsylvania (2026)

If you're choosing a Computer Science program in Pennsylvania, the right school depends as much on cost and graduation rate as it does on rankings. The schools below are ranked by a combination of CS program strength, graduate earnings, and net price — using federal data, not marketing.

#1
Carnegie Mellon University
Pittsburgh, PA
Net Price
$31,944/yr
Median Earnings
$114,862
Grad Rate
93%
Computer Science Share
16.6%
#2
University of Pennsylvania
Philadelphia, PA
Net Price
$28,699/yr
Median Earnings
$111,371
Grad Rate
97%
Computer Science Share
7.6%
#3
Lehigh University
Bethlehem, PA
Net Price
$36,931/yr
Median Earnings
$105,584
Grad Rate
89%
Computer Science Share
11.8%
#4
Bucknell University
Lewisburg, PA
Net Price
$40,766/yr
Median Earnings
$93,807
Grad Rate
86%
Computer Science Share
2.8%
#5
Lafayette College
Easton, PA
Net Price
$34,433/yr
Median Earnings
$91,410
Grad Rate
88%
Computer Science Share
3.2%
#6
Drexel University
Philadelphia, PA
Net Price
$38,509/yr
Median Earnings
$84,648
Grad Rate
78%
Computer Science Share
11.7%
#7
Haverford College
Haverford, PA
Net Price
$25,314/yr
Median Earnings
$79,966
Grad Rate
90%
Computer Science Share
6.2%
#8
Pennsylvania State University-Main Campus
University Park, PA
Net Price
$32,875/yr
Median Earnings
$63,435
Grad Rate
86%
Computer Science Share
11.9%
#9
Franklin and Marshall College
Lancaster, PA
Net Price
$36,425/yr
Median Earnings
$76,124
Grad Rate
85%
Computer Science Share
2.5%
#10
Bryn Mawr College
Bryn Mawr, PA
Net Price
$31,759/yr
Median Earnings
$75,217
Grad Rate
84%
Computer Science Share
3.1%
#11
University of Pittsburgh-Pittsburgh Campus
Pittsburgh, PA
Net Price
$30,434/yr
Median Earnings
$66,125
Grad Rate
85%
Computer Science Share
7.4%
#12
Dickinson College
Carlisle, PA
Net Price
$37,607/yr
Median Earnings
$70,204
Grad Rate
82%
Computer Science Share
4.3%
#13
Gettysburg College
Gettysburg, PA
Net Price
$31,490/yr
Median Earnings
$71,517
Grad Rate
83%
Computer Science Share
2.4%
#14
Duquesne University
Pittsburgh, PA
Net Price
$37,730/yr
Median Earnings
$74,742
Grad Rate
77%
Computer Science Share
3.8%
#15
Muhlenberg College
Allentown, PA
Net Price
$28,905/yr
Median Earnings
$69,107
Grad Rate
81%
Computer Science Share
2.9%
#16
Immaculata University
Immaculata, PA
Net Price
$24,258/yr
Median Earnings
$75,701
Grad Rate
68%
Computer Science Share
4.2%
#17
Allegheny College
Meadville, PA
Net Price
$22,940/yr
Median Earnings
$62,069
Grad Rate
70%
Computer Science Share
9.2%
#18
Elizabethtown College
Elizabethtown, PA
Net Price
$26,598/yr
Median Earnings
$62,399
Grad Rate
77%
Computer Science Share
2.2%
#19
Misericordia University
Dallas, PA
Net Price
$37,485/yr
Median Earnings
$64,313
Grad Rate
70%
Computer Science Share
2.3%
#20
Moravian University
Bethlehem, PA
Net Price
$30,670/yr
Median Earnings
$61,860
Grad Rate
71%
Computer Science Share
3.2%
#21
DeSales University
Center Valley, PA
Net Price
$31,643/yr
Median Earnings
$61,295
Grad Rate
72%
Computer Science Share
2.5%
#22
Robert Morris University
Moon Township, PA
Net Price
$23,003/yr
Median Earnings
$62,105
Grad Rate
66%
Computer Science Share
6.2%
#23
Messiah University
Mechanicsburg, PA
Net Price
$26,502/yr
Median Earnings
$54,064
Grad Rate
77%
Computer Science Share
3.3%
#24
University of Pittsburgh-Johnstown
Johnstown, PA
Net Price
$18,202/yr
Median Earnings
$66,125
Grad Rate
55%
Computer Science Share
10.3%
#25
Juniata College
Huntingdon, PA
Net Price
$23,988/yr
Median Earnings
$56,918
Grad Rate
71%
Computer Science Share
4.7%

Why a Computer Science degree?

Computer Science remains one of the highest-ROI bachelor's degrees in the U.S. AI-related roles are growing 143% year-over-year, and the wage premium for CS skills is widening, not narrowing.

Common career paths: Software Engineer · Data Scientist · AI/ML Engineer · Cybersecurity Analyst · Product Manager
Typical starting salary range: $85,000–$135,000
Find your best fit, not just the highest rank
Our 2-minute quiz weights cost, earnings, graduation rate, and other priorities to your family — and matches you to schools that actually fit, not just the top of a list.
Take the fit quiz →

More college guides like this in your inbox

Weekly analysis of college costs, financial aid, transfer pathways, and career outcomes — for U.S. families.

Disclaimer: DecideMyCampus is an independent information aggregation service — not a licensed counselor, advisor, or educational consultant. All data is sourced from publicly available U.S. federal databases (College Scorecard, IPEDS) and is provided for informational purposes only. We do not promote or endorse any institution. Rankings are algorithmic outputs based on federal data — not professional evaluations or guarantees of outcomes. We are not responsible for any college admission, financial, or enrollment decision made using this site. Always verify information directly with institutions and consult licensed professionals. Full Terms · Privacy · Cookies