Which cities in the United States offer the most affordable housing?

New York City, NY (CNN) — Which cities have the most accessible housing?

According to a new CNNMoney study, the answer could depend on your income.

The data came from the Housing Affordability Index (HAI), a government-funded study of how much a typical family needs to make in order to afford a standard of living comparable to that of their parents and grandparents.

The index is based on a variety of factors, including household size, property value and other factors that help measure how much people need to live on a given income level.

New York and San Francisco are the only two cities with at least one affordable housing index, but other cities also have a number of affordable housing indices.

San Francisco’s affordable housing score of 84.2 out of 100 is the third highest in the nation, according to the study.

In New York, the median income is $85,000, the HAI study found.

In the New York metropolitan area, the city’s median household income is about $50,000.

New Yorkers are also among the most likely to be eligible for government subsidized housing programs, the study found, meaning they are more likely to qualify for federal housing assistance.

Here’s how the three cities rank in terms of affordability: New York: 82.2%