Aside from mortgages, student loans make up the largest portion of household debt for Americans, ballooning to a jaw-dropping $1.41 trillion 2018.

A new ranking by WalletHub shows that some states do a worse job than others at providing an environment that enables residents to cope with their student loans.

WalletHub compared the 50 states and Washington, D.C., across 11 key measures, including average student debt, the percentage of students in debt, availability of student jobs and default rates. The states were then ranked in terms of how good an environment they offer for those with student debt.

Success after college ultimately depends on a number of factors, including where a graduate decides to settle, according to WalletHub. Student-loan borrowers usually fare better in states with a strong economy, a thriving workforce and a low college-debt-to-income ratio, according to WalletHub.

Students should be strategic when choosing where they will put their degrees to work, according to a recent report from WalletHub. For example, recent grads could find higher salaries in certain roles in New York City, but not without enduring the extremely high cost of living. These expenses could deplete most of the benefits of having a higher salary, according to the report.

According to a quarterly report from the New York Federal Reserve Bank, 10.7 percent of all student-loan debts are in 90 or more days delinquent or are in default as of Q1 2018.

The following states, according to WalletHub, are the worse places for those with student debt:

10. Indiana   

The state ranked 10th in terms of overall student indebtedness, which included the percent of students with student debt, debt as a share of income and the average student debt of state residents.