PHOENIX — Owning a home is traditionally seen as part of the "American dream." Whether it's a house with a two-car garage and a white picket fence in the suburbs or a row home in the city, there's generally something out there for everyone. But a new report suggests housing is unaffordable for the typical worker in many of the country's most populous counties. The report has bad news for Maricopa County: That is the case here.

In a new report published Thursday, ATTOM Data Solutions crunched housing and wage numbers for 473 of the nation's more than 3,000 counties nationwide. The report shows that median home prices in the first quarter of this year were too expensive for average wage earners in 71 percent of the counties that were analyzed. Here's what the researchers found for Maricopa County:

Affordability index (Under 100 is less affordable than historic average): 91

Median sales price: $$262,000

Year over year annualized wage growth: 3.1 percent

Year over year median home price growth: 4.8 percent Click here to find homes for sale in Phoenix. The affordability index took median home prices from public sales deed data. Average wage figures came from the U.S. Bureau of Labor Statistics. In all, 231 million people live in the counties analyzed by the company.

Affordability was based on the percentage of average wages necessary to make monthly house payments on a 30-year, fixed-rate mortgage. It also factored in a 3 percent down payment, property taxes, home insurance and mortgage insurance. Furthermore, affordability was determined by assuming a 28 percent maximum "front-end" debt-to-income ratio. In other words, a household would need to earn about $66,336 to afford the typical American home, which costs on average $237,500. The calculation assumes buyers won't spend more than 28 percent of their income on housing.

"That required income is higher than the $56,823 annual income earned by an average wage earner based on the most recent average weekly wage data available from the Bureau of Labor Statistics, making a median-priced home nationwide not affordable for an average wage earner," the authors wrote.

Counties where the typical home was unaffordable for average workers included Los Angeles County, San Diego County and Orange County in California, as well as Maricopa County in Arizona and Miami-Dade County in Florida.

Conversely, Cook County, Illinois, which includes Chicago, was identified as one where homes are still affordable for typical American workers. Others include Harris County in Texas, Wayne County in Michigan, Philadelphia County in Pennsylvania and Cuyahoga County in Ohio. "We are seeing a housing market in flux across the United States, with a mix of tailwinds and headwinds that are pricing many people out of the housing market, but also are creating potentially better conditions for buyers," Todd Teta chief product officer at ATTOM, said in a release. "Continually rising home prices in many areas do remain a financial stretch — or simply unaffordable — for a majority of households."