College Factual  by our College Data Analytics Team
       Unbiased Factual Guarantee

2027 Best Computer Science Schools in Pennsylvania

33 Colleges in the United States
2,413 Computer Science Degrees Awarded
$63,151 Avg Early-Career Salary

Computer Science programs are offered at a focused set of schools across the country. While the number of schools offering the program varies, there are still top-quality ones to be found.

For its 2027 ranking, College Factual looked at 33 schools in the United States to determine which ones were the best for computer science students pursuing a degree.

What’s on this page:

Best Schools for Computer Science in Pennsylvania

Below are the schools that deliver the strongest overall computer science education in Pennsylvania.

Top Schools in Computer Science

1
University Of Pennsylvania crest
University Of Pennsylvania
Philadelphia, PA

Leading the list is University Of Pennsylvania, our #1 school for computer science. This very large private not-for-profit university is located in the city of Philadelphia. University Of Pennsylvania graduates 96% of students within six years. There were roughly 287 computer science students who graduated with this degree at University Of Pennsylvania in the most recent data year. Computer Science graduates of University Of Pennsylvania earn a median of $122,686 early in their careers. Typical student debt for the program is $13,500. See the full computer science program report for University Of Pennsylvania

2

A rank of #2 makes Carnegie Mellon University one of the top schools for computer science. Set in the city of Pittsburgh, Carnegie Mellon University is a large private not-for-profit institution. About 94% of students finish within six years. About 389 computer science degrees were awarded at Carnegie Mellon University in the most recent year. Soon after graduation, computer science degree recipients from Carnegie Mellon University generally make around $171,264. Carnegie Mellon University graduates carry a median of $21,442 in student loans. See the full computer science program report for Carnegie Mellon University

3

Pennsylvania State University Main Campus is a great choice for students pursuing a degree in computer science, landing the #3 spot this year. Pennsylvania State University Main Campus is a very large public school located in the city of University Park. Roughly 86% of students complete a degree within six years here. About 113 computer science degrees were awarded at Pennsylvania State University Main Campus in the most recent year. Soon after graduation, computer science degree recipients from Pennsylvania State University Main Campus generally make around $72,884. Pennsylvania State University Main Campus graduates carry a median of $28,000 in student loans. Get the full computer science details for Pennsylvania State University Main Campus

4
Lehigh University crest
Lehigh University
Bethlehem, PA

Lehigh University is one of the finest schools in the country for a degree in computer science, ranking #4. Located in the city of Bethlehem, Lehigh University is a moderately-sized private not-for-profit university. About 88% of students finish within six years. About 180 computer science degrees were awarded at Lehigh University in the most recent year. Soon after graduation, computer science degree recipients from Lehigh University generally make around $88,587. Students borrow a median of $23,854 to complete this degree. Get the full computer science details for Lehigh University

5
Dickinson College crest
Dickinson College
Carlisle, PA

Dickinson College is a great choice for students pursuing a degree in computer science, landing the #5 spot this year. Located in the city of Carlisle, Dickinson College is a mid-sized private not-for-profit university. About 80% of students finish within six years. About 35 computer science degrees were awarded at Dickinson College in the most recent year. Students who receive their computer science degree from Dickinson College earn around $39,937 in the first couple years of their career. Dickinson College graduates carry a median of $19,014 in student loans. See the full computer science program report for Dickinson College

6

Franklin And Marshall College landed the #6 spot for computer science this year. Set in the city of Lancaster, Franklin And Marshall College is a small private not-for-profit institution. Roughly 84% of students complete a degree within six years here. Franklin And Marshall College awarded about 19 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Franklin And Marshall College generally make around $43,020. Franklin And Marshall College graduates carry a median of $20,411 in student loans. Read more about the computer science program at Franklin And Marshall College

7
Villanova University crest
Villanova University
Villanova, PA

Villanova University earned the #7 position for computer science this year. Set in the suburb of Villanova, Villanova University is a large private not-for-profit institution. The six-year graduation rate is 92%. Villanova University awarded about 64 computer science degrees in the most recent data year. Computer Science graduates of Villanova University earn a median of $72,601 early in their careers. Students borrow a median of $26,184 to complete this degree. More information about a degree in computer science from Villanova University

8
Muhlenberg College crest
Muhlenberg College
Allentown, PA

Muhlenberg College landed the #8 spot for computer science this year. Muhlenberg College is a small private not-for-profit school located in the city of Allentown. About 82% of students finish within six years. About 18 computer science degrees were awarded at Muhlenberg College in the most recent year. Soon after graduation, computer science degree recipients from Muhlenberg College generally make around $35,641. Students borrow a median of $26,259 to complete this degree. More information about a degree in computer science from Muhlenberg College

9

University Of Pittsburgh Pittsburgh Campus ranked #9 on our 2027 list of the best computer science schools. University Of Pittsburgh Pittsburgh Campus is a very large public school located in the city of Pittsburgh. The six-year graduation rate is 86%. There were roughly 299 computer science students who graduated with this degree at University Of Pittsburgh Pittsburgh Campus in the most recent data year. Soon after graduation, computer science degree recipients from University Of Pittsburgh Pittsburgh Campus generally make around $77,599. University Of Pittsburgh Pittsburgh Campus graduates carry a median of $26,977 in student loans. Get the full computer science details for University Of Pittsburgh Pittsburgh Campus

10

Saint Vincent College ranked #10 on our 2027 list of the best computer science schools. Saint Vincent College is a small private not-for-profit school located in the suburb of Latrobe. Roughly 69% of students complete a degree within six years here. Saint Vincent College awarded about 12 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Saint Vincent College generally make around $54,916. Saint Vincent College graduates carry a median of $26,986 in student loans. Get the full computer science details for Saint Vincent College

11
Ursinus College crest
Ursinus College
Collegeville, PA

Ursinus College earned the #11 position for computer science this year. Ursinus College is a small private not-for-profit school located in the suburb of Collegeville. Roughly 73% of students complete a degree within six years here. About 14 computer science degrees were awarded at Ursinus College in the most recent year. Graduates of the computer science program make about $36,805 in their early career. Students borrow a median of $27,000 to complete this degree. Get the full computer science details for Ursinus College

12
Drexel University crest
Drexel University
Philadelphia, PA

Drexel University earned the #12 position for computer science this year. Set in the city of Philadelphia, Drexel University is a very large private not-for-profit institution. Roughly 78% of students complete a degree within six years here. There were roughly 322 computer science students who graduated with this degree at Drexel University in the most recent data year. Students who receive their computer science degree from Drexel University earn around $104,943 in the first couple years of their career. Students borrow a median of $29,333 to complete this degree. More information about a degree in computer science from Drexel University

13
Bryn Mawr College crest
Bryn Mawr College
Bryn Mawr, PA

Bryn Mawr College placed #13 among the best computer science schools. This small private not-for-profit university is located in the suburb of Bryn Mawr. Bryn Mawr College graduates 82% of students within six years. Bryn Mawr College awarded about 19 computer science degrees in the most recent data year. Graduates of the computer science program make about $35,668 in their early career. Students borrow a median of $23,069 to complete this degree. Read more about the computer science program at Bryn Mawr College

14

Kutztown University Of Pennsylvania earned the #14 position for computer science this year. This moderately-sized public university is located in the town of Kutztown. About 54% of students finish within six years. There were roughly 18 computer science students who graduated with this degree at Kutztown University Of Pennsylvania in the most recent data year. Soon after graduation, computer science degree recipients from Kutztown University Of Pennsylvania generally make around $39,028. Typical student debt for the program is $26,867. Get the full computer science details for Kutztown University Of Pennsylvania

15
Gettysburg College crest
Gettysburg College
Gettysburg, PA

Gettysburg College ranked #15 on our 2027 list of the best computer science schools. Located in the town of Gettysburg, Gettysburg College is a mid-sized private not-for-profit university. Roughly 82% of students complete a degree within six years here. Gettysburg College awarded about 17 computer science degrees in the most recent data year. Soon after graduation, computer science degree recipients from Gettysburg College generally make around $74,642. Gettysburg College graduates carry a median of $27,000 in student loans. More information about a degree in computer science from Gettysburg College

16
Duquesne University crest
Duquesne University
Pittsburgh, PA

Duquesne University placed #16 among the best computer science schools. Set in the city of Pittsburgh, Duquesne University is a moderately-sized private not-for-profit institution. Duquesne University graduates 77% of students within six years. Duquesne University awarded about 23 computer science degrees in the most recent data year. Graduates of the computer science program make about $65,098 in their early career. Duquesne University graduates carry a median of $26,950 in student loans. Get the full computer science details for Duquesne University

17
Grove City College crest
Grove City College
Grove City, PA

Grove City College landed the #17 spot for computer science this year. Located in the town of Grove City, Grove City College is a mid-sized private not-for-profit university. Roughly 83% of students complete a degree within six years here. There were roughly 28 computer science students who graduated with this degree at Grove City College in the most recent data year. See the full computer science program report for Grove City College

18

Moravian College And Moravian Theological Seminary earned the #18 position for computer science this year. Moravian College And Moravian Theological Seminary is a mid-sized private not-for-profit school located in the city of Bethlehem. About 72% of students finish within six years. There were roughly 22 computer science students who graduated with this degree at Moravian College And Moravian Theological Seminary in the most recent data year. Graduates of the computer science program make about $52,133 in their early career. Typical student debt for the program is $26,857. Read more about the computer science program at Moravian College And Moravian Theological Seminary

19

Harrisburg Area Community College Harrisburg landed the #19 spot for computer science this year. Harrisburg Area Community College Harrisburg is a very large public school located in the city of Harrisburg. Harrisburg Area Community College Harrisburg awarded about 21 computer science degrees in the most recent data year. Graduates of the computer science program make about $41,382 in their early career. Students borrow a median of $20,867 to complete this degree. More information about a degree in computer science from Harrisburg Area Community College Harrisburg

20

University Of Pittsburgh Johnstown landed the #20 spot for computer science this year. Located in the suburb of Johnstown, University Of Pittsburgh Johnstown is a small public university. Roughly 56% of students complete a degree within six years here. About 27 computer science degrees were awarded at University Of Pittsburgh Johnstown in the most recent year. Computer Science graduates of University Of Pittsburgh Johnstown earn a median of $77,599 early in their careers. University Of Pittsburgh Johnstown graduates carry a median of $26,977 in student loans. Get the full computer science details for University Of Pittsburgh Johnstown

21

York College Pennsylvania landed the #21 spot for computer science this year. Located in the suburb of York, York College Pennsylvania is a mid-sized private not-for-profit university. About 64% of students finish within six years. There were roughly 11 computer science students who graduated with this degree at York College Pennsylvania in the most recent data year. Soon after graduation, computer science degree recipients from York College Pennsylvania generally make around $67,310. York College Pennsylvania graduates carry a median of $27,000 in student loans. Read more about the computer science program at York College Pennsylvania

22
Saint Josephs University crest
Saint Josephs University
Philadelphia, PA

Saint Josephs University ranked #22 on our 2027 list of the best computer science schools. Located in the city of Philadelphia, Saint Josephs University is a moderately-sized private not-for-profit university. The six-year graduation rate is 79%. There were roughly 31 computer science students who graduated with this degree at Saint Josephs University in the most recent data year. Computer Science graduates of Saint Josephs University earn a median of $62,647 early in their careers. Saint Josephs University graduates carry a median of $27,000 in student loans. More information about a degree in computer science from Saint Josephs University

23

Harrisburg University Of Science And Technology landed the #23 spot for computer science this year. Located in the city of Harrisburg, Harrisburg University Of Science And Technology is a moderately-sized private not-for-profit university. The six-year graduation rate is 34%. Harrisburg University Of Science And Technology awarded about 184 computer science degrees in the most recent data year. Computer Science graduates of Harrisburg University Of Science And Technology earn a median of $35,098 early in their careers. Harrisburg University Of Science And Technology graduates carry a median of $28,375 in student loans. Get the full computer science details for Harrisburg University Of Science And Technology

24

Pennsylvania State University Penn State Abington earned the #24 position for computer science this year. Located in the suburb of Abington, Pennsylvania State University Penn State Abington is a mid-sized public university. The six-year graduation rate is 20%. Pennsylvania State University Penn State Abington awarded about 55 computer science degrees in the most recent data year. Students who receive their computer science degree from Pennsylvania State University Penn State Abington earn around $72,884 in the first couple years of their career. Typical student debt for the program is $28,000. Read more about the computer science program at Pennsylvania State University Penn State Abington

25

Pennsylvania Western University placed #25 among the best computer science schools. Set in the town of California, Pennsylvania Western University is a large public institution. About 52% of students finish within six years. There were roughly 43 computer science students who graduated with this degree at Pennsylvania Western University in the most recent data year. Graduates of the computer science program make about $45,448 in their early career. Typical student debt for the program is $28,263. Get the full computer science details for Pennsylvania Western University

Rest of the Top 33 Computer Science Schools

Not far behind, these schools also delivered a strong computer science education:

26
27
28
29
Allegheny College crest
Allegheny College
Meadville, PA
30
31
La Roche College crest
La Roche College
Pittsburgh, PA
32
33

View All Computer Science Rankings >

Notes and References

This ranking is produced by College Factual (MF_RANKING_2025), 2027 edition. The methodology weighs graduation rate, post-graduation earnings, cost, and program quality, drawn primarily from the U.S. Department of Education (IPEDS and College Scorecard).

Ranking method: College Major Top Ranked · 33 schools evaluated.

More about our data sources and methodologies.

Popular Reports

College Rankings
Best by Location
Degree Guides by Major
Graduate Programs

Compare Your School Options