Best Computer Science Programs in Virginia (2026)

If you're choosing a Computer Science program in Virginia, 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
Washington and Lee University
Lexington, VA
Net Price
$23,781/yr
Median Earnings
$94,810
Grad Rate
94%
Computer Science Share
3.1%
#2
University of Virginia-Main Campus
Charlottesville, VA
Net Price
$21,565/yr
Median Earnings
$86,863
Grad Rate
95%
Computer Science Share
7.7%
#3
Virginia Polytechnic Institute and State University
Blacksburg, VA
Net Price
$24,953/yr
Median Earnings
$81,698
Grad Rate
86%
Computer Science Share
6.7%
#4
William & Mary
Williamsburg, VA
Net Price
$19,096/yr
Median Earnings
$73,490
Grad Rate
90%
Computer Science Share
5.6%
#5
University of Richmond
University of Richmond, VA
Net Price
$31,309/yr
Median Earnings
$76,178
Grad Rate
86%
Computer Science Share
4.9%
#6
Virginia Military Institute
Lexington, VA
Net Price
$17,113/yr
Median Earnings
$77,369
Grad Rate
79%
Computer Science Share
6.7%
#7
George Mason University
Fairfax, VA
Net Price
$17,915/yr
Median Earnings
$76,343
Grad Rate
69%
Computer Science Share
13.3%
#8
James Madison University
Harrisonburg, VA
Net Price
$23,322/yr
Median Earnings
$69,954
Grad Rate
80%
Computer Science Share
6.0%
#9
Washington University of Science and Technology
Alexandria, VA
Net Price
Median Earnings
Grad Rate
60%
Computer Science Share
66.7%
#10
Christopher Newport University
Newport News, VA
Net Price
$23,015/yr
Median Earnings
$60,509
Grad Rate
73%
Computer Science Share
7.8%
#11
Marymount University
Arlington, VA
Net Price
$29,137/yr
Median Earnings
$67,516
Grad Rate
56%
Computer Science Share
13.2%
#12
University of Management and Technology
Arlington, VA
Net Price
Median Earnings
$68,530
Grad Rate
63%
Computer Science Share
7.0%
#13
Randolph-Macon College
Ashland, VA
Net Price
$27,866/yr
Median Earnings
$58,448
Grad Rate
72%
Computer Science Share
5.6%
#14
University of Mary Washington
Fredericksburg, VA
Net Price
$20,667/yr
Median Earnings
$60,613
Grad Rate
67%
Computer Science Share
8.1%
#15
Hampden-Sydney College
Hampden-Sydney, VA
Net Price
$22,400/yr
Median Earnings
$67,640
Grad Rate
64%
Computer Science Share
3.8%
#16
Shenandoah University
Winchester, VA
Net Price
$30,298/yr
Median Earnings
$58,433
Grad Rate
69%
Computer Science Share
3.0%
#17
Virginia Commonwealth University
Richmond, VA
Net Price
$23,433/yr
Median Earnings
$58,128
Grad Rate
64%
Computer Science Share
6.1%
#18
Roanoke College
Salem, VA
Net Price
$24,503/yr
Median Earnings
$58,047
Grad Rate
67%
Computer Science Share
1.0%
#19
University of Lynchburg
Lynchburg, VA
Net Price
$22,235/yr
Median Earnings
$56,380
Grad Rate
60%
Computer Science Share
3.0%
#20
Hampton University
Hampton, VA
Net Price
$25,319/yr
Median Earnings
$59,159
Grad Rate
56%
Computer Science Share
2.1%
#21
Longwood University
Farmville, VA
Net Price
$19,066/yr
Median Earnings
$52,347
Grad Rate
61%
Computer Science Share
2.7%
#22
Eastern Mennonite University
Harrisonburg, VA
Net Price
$24,588/yr
Median Earnings
$54,869
Grad Rate
57%
Computer Science Share
3.8%
#23
ECPI University
Virginia Beach, VA
Net Price
$22,965/yr
Median Earnings
$42,837
Grad Rate
44%
Computer Science Share
22.6%
#24
Old Dominion University
Norfolk, VA
Net Price
$14,638/yr
Median Earnings
$54,914
Grad Rate
45%
Computer Science Share
10.1%
#25
Liberty University
Lynchburg, VA
Net Price
$29,357/yr
Median Earnings
$44,813
Grad Rate
64%
Computer Science Share
2.4%

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