Kiplinger recently released its list of 300 best-value public and private schools, ranked based on quality. While it’s no surprise to see colleges like Stanford and Princeton at the top of the list, it’s also nice to see some public schools toward the top as well.

Kiplinger ranks the schools on things like test scores of incoming students, admission rates, academic support, and graduation rates. They also take into account total cost of the school, financial-aid packages, and the average debt for a student at graduation.

To start the list, Kiplinger uses data on almost 1,200 public and private four-year schools provided by Peterson’s. From there, the publisher narrows the list “based on measures of academic quality.” Quality criteria account for 55 percent of total points, while cost and financial aid measures account for the remaining 45 percent.

When looking at public colleges, it’s important to consider the cost for in-state as well as out-of-state students. Business Insider rounded up the 20 best-value public colleges on Kiplinger’s list for out-of-state students. They included total annual cost, average student debt at graduation, as well as the median earnings of students at each school 10 years after beginning their studies.

Here are 20 public colleges that offer the best value for your money:

## #20 – University of Washington

Located in Seattle, this public college is ranked 9th for in-state students, thanks to the total annual cost of $24,355. Out-of-state tuition will cost $46,659 per year and a UW graduate’s average debt are $21,532. The median earnings for students 10 years after enrolling is $52,100.

## #19 – New Mexico Institute of Mining and Technology

New Mexico Tech’ total annual cost for out-of-state students is $27,789 and in-state is $15,265. The average debt at graduation is $20,944 and median earnings 10 years after enrolling are $52,800. New Mexico Tech is ranked 21st for in-state students.

## #18 – University of Georgia

Students at the University of Georgia can expect to pay $40,122 per year out-of-state and $21,912 in-state. The average debt at graduation is $21,638 and median earnings 10 years after enrolling are $46,500. UGA is also ranked 12th for in-state students.

## #17 – University of Illinois at Urbana-Champaign

U of I’s annual out-of-state cost is $42,996, while in-state students pay $27,836 per year. The average debt for students at graduation is $23,808 and median earnings 10 years after enrolling are $56,600. This college ranked 26th for in-state students.

## #16 – SUNY at Binghamton

Binghamton University out-of-state students pay $36,371 per year, while in-state students pay #23,251 per year. The average debt at graduation is $25,727 and median earnings 10 years after enrolling are $58,400. This school ranked 26th for in-state students.

## #15 – Florida State University

The total annual cost for out-of-state students is $32,737, while in-state students will pay $17,571 per year. The average student’s debt at graduation is $24,347, while median earnings 10 years after enrolling are $44,000. FSU is ranked 16th for in-state students.

## #14 – University of Michigan at Ann Arbor

Out-of-state students at University of Michigan will pay $54,078 per year, while in-students pay $25,458. The average debt at graduation is $26,510 and median earnings 10 years after enrolling are $57,900. This public university is ranked 5th for in-state students.

## #13 – SUNY College at Geneseo

SUNY Geneseo’s out-of-state students pay $30,943, while in-state students pay $21,093. A student’s average debt at graduation is $23,308, while median earnings 10 years after enrolling are $46,700. SUNY Geneseo is ranked 37th for in-state students.

## #12 – Ohio State University

OSU’s out-of-state students pay $40,269 annually and in-state students pay $22,951 per year. A student’s average debt at graduation is $26,830 and median earnings for students 10 years after enrolling are $42,600. Ohio State ranked 17th for in-state students.

## #11 – University of Maryland at College Park

The total annual cost for out-of-state students at UM College Park is $43,246, while annual in-state cost is $22,098. A student’s average debt at graduation is $25,131 and median earnings 10 years after enrolling are $59,100. The University of Maryland also ranked 7th for in-state students.

## #10 – University of California at Los Angeles

The total cost per year for out-of state students at UCLA is $53,974 and total in-state cost per year is $29,266. The average debt at graduation is $20,759 and median earnings for students 10 years after enrolling are $59,200. UCLA is also ranked 6th for in-state students.

## #9 – North Carolina State University at Raleigh

NC State’s annual out-of-state cost is $36,319 and annual in-state cost is $19,968. A student’s average debt at graduation is $20,482 and median earnings 10 years after enrolling are $47,500. This college ranked 11th for in-state students.

## #8 – University of Wisconsin at Madison

Out-of-state students at University of Wisconsin can expect to pay $39,669 per year, while in-state students will pay $20,419 per year. The average debt at graduation is $26,579 and median earnings for students 10 years after enrolling are $51,000. University of Wisconsin also ranked 8th for in-state students.

## #7 – College of William and Mary

This Virginian university charges $53,350 per year for out-of-state students and $31,650 for in-state students. The average debt at graduation is $25,733 and median earnings for students 10 years after enrolling are $56,400. William and Mary also ranked 10th for in-state students.

## #6 – University of California at Berkeley

UC Berkeley’s out-of-state students pay $54,801 per year, while in-state students pay $30,093 annually. A student’s average debt at graduation is $17,584 and median earnings 10 years after enrolling are $62,700. UC Berkeley ranked 4th for in-state students attending a public university.

## #5 – Truman State University

The total cost per year for out-of-state students is $23,475 and in-state students pay $16,936 per year. The average student debt at graduation is $23,585 and median earnings 10 years after enrolling are $42,700. Truman State ranked 15th for in-state students.

## #4 – University of Minnesota at Twin Cities

Out-of-state students at University of Minnesota pay $32,524 annually, while the cost for in-state students is $24,104. A student’s average debt at graduation is $26,796 and median earnings 10 years after enrolling are $47,800. This college ranked 25th for in-state students.

## #3 – University of Florida

University of Florida’s out-of-state students pay $39,609 per year and in-state students pay $17,331 per year. The average debt at graduation is $20,642 and median earnings 10 years after enrolling are $51,300. This school ranked 2nd for in-state students.

## #2 – University of Virginia

UVA’s out-of-state students pay $55,644 per year, while in-state students pay $26,348. A student’s average debt at graduation is $22,933 and median earnings 10 years after enrolling are $58,600. UVA ranked 3rd for in-state students.

## #1 – University of North Carolina at Chapel Hill

The total cost per year for out-of-state students is $46,017, while in-state students pay $20,935 a year. The average debt at graduation is $18,945 and median earnings 10 years after enrolling are $50,400. UNC Chapel Hill was also ranked 1st for in-state students, making it the best value-college for your money.