Freelancing offers unparalleled flexibility but also comes with the risk of not having enough work and being unable to afford health care.

NerdWallet recently did a study that determined the best cities for independent workers based on three factors: the percentage of residents with self-employment income (50% of the score), the affordability of the median rent cost (25%), and the affordability of the median health care cost (25%).