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
University of Virginia-Main Campus
Charlottesville, VA
Net Price
$18,056/yr
Median Earnings
$96,468
Grad Rate
95%
Computer Science Share
12.4%
#2
Washington and Lee University
Lexington, VA
Net Price
$25,279/yr
Median Earnings
$102,966
Grad Rate
95%
Computer Science Share
4.5%
#3
Virginia Polytechnic Institute and State University
Blacksburg, VA
Net Price
$25,808/yr
Median Earnings
$88,716
Grad Rate
86%
Computer Science Share
6.8%
#4
University of Richmond
University of Richmond, VA
Net Price
$34,256/yr
Median Earnings
$92,362
Grad Rate
86%
Computer Science Share
4.1%
#5
William & Mary
Williamsburg, VA
Net Price
$18,880/yr
Median Earnings
$83,488
Grad Rate
89%
Computer Science Share
7.4%
#6
Virginia Military Institute
Lexington, VA
Net Price
$15,585/yr
Median Earnings
$85,178
Grad Rate
74%
Computer Science Share
6.5%
#7
George Mason University
Fairfax, VA
Net Price
$14,697/yr
Median Earnings
$79,923
Grad Rate
67%
Computer Science Share
14.7%
#8
James Madison University
Harrisonburg, VA
Net Price
$23,550/yr
Median Earnings
$75,482
Grad Rate
80%
Computer Science Share
6.6%
#9
Washington University of Science and Technology
Alexandria, VA
Net Price
$22,271/yr
Median Earnings
—
Grad Rate
71%
Computer Science Share
66.7%
#10
Christopher Newport University
Newport News, VA
Net Price
$22,310/yr
Median Earnings
$65,183
Grad Rate
73%
Computer Science Share
9.4%
#11
Randolph-Macon College
Ashland, VA
Net Price
$28,145/yr
Median Earnings
$64,714
Grad Rate
72%
Computer Science Share
8.4%
#12
University of Mary Washington
Fredericksburg, VA
Net Price
$23,821/yr
Median Earnings
$66,028
Grad Rate
65%
Computer Science Share
9.7%
#13
Hampden-Sydney College
Hampden-Sydney, VA
Net Price
$26,626/yr
Median Earnings
$76,989
Grad Rate
62%
Computer Science Share
2.7%
#14
Marymount University
Arlington, VA
Net Price
$28,521/yr
Median Earnings
$74,032
Grad Rate
54%
Computer Science Share
10.7%
#15
Virginia Commonwealth University
Richmond, VA
Net Price
$25,037/yr
Median Earnings
$64,442
Grad Rate
64%
Computer Science Share
8.2%
#16
Shenandoah University
Winchester, VA
Net Price
$31,149/yr
Median Earnings
$66,382
Grad Rate
65%
Computer Science Share
5.5%
#17
Roanoke College
Salem, VA
Net Price
$25,867/yr
Median Earnings
$64,329
Grad Rate
66%
Computer Science Share
0.8%
#18
Hampton University
Hampton, VA
Net Price
$25,683/yr
Median Earnings
$63,602
Grad Rate
61%
Computer Science Share
1.8%
#19
Eastern Mennonite University
Harrisonburg, VA
Net Price
$24,731/yr
Median Earnings
$58,912
Grad Rate
64%
Computer Science Share
2.0%
#20
Strayer University-Virginia
Arlington, VA
Net Price
$17,213/yr
Median Earnings
$44,016
Grad Rate
31%
Computer Science Share
37.6%
#21
ECPI University
Virginia Beach, VA
Net Price
$22,484/yr
Median Earnings
$49,806
Grad Rate
42%
Computer Science Share
23.1%
#22
Longwood University
Farmville, VA
Net Price
$20,773/yr
Median Earnings
$55,653
Grad Rate
62%
Computer Science Share
2.8%
#23
Old Dominion University
Norfolk, VA
Net Price
$12,913/yr
Median Earnings
$60,482
Grad Rate
45%
Computer Science Share
11.8%
#24
DeVry University-Virginia
Arlington, VA
Net Price
—
Median Earnings
$51,716
Grad Rate
—
Computer Science Share
50.0%
#25
University of Lynchburg
Lynchburg, VA
Net Price
$27,198/yr
Median Earnings
$57,425
Grad Rate
58%
Computer Science Share
1.5%

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.

Free 8-page FAFSA 2026 checklist when you sign up

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