Money's ranking boasts UCSD as a great value, saying the average student leaves with about $18,500 in student debt and recent graduates earn about 14 percent higher than those from universities with similar student bodies, at about $58,600 a year.
The school also sports one of the highest six-year graduation rates in the country for a public college.
Money's rankings report UCSD's estimated price for 2018-19 without any aid will cost about $32,900, or about $15,900 with aid. About 59 percent who apply for financial aid receive it.
Following UCSD, UC Irvine and the University of California, Los Angeles, ranked in the top five. Money compiled the best schools based off 26 factors that focused on educational quality, affordability, and alumni financial success.