With a steady supply of new, prospective tenants and relatively affordable housing options, investing in real estate in college cities and towns is an attractive option. But some college towns make for much savvier investments than others.

Homes.com, a real estate listing website, looked at nearly 150 college towns and cities across the U.S. using its own listing data to determine just what kind of return on investment landlords can expect.