According to conventional financial wisdom, it’s more cost-efficient to own a home than to rent one. But with rising home prices across the U.S., is that still the case?

To find out the more affordable housing option, a GOBankingRates study compared the average price of renting versus owning a home in all 50 states, plus the District of Columbia. The study found that in all but 10 places, it is indeed cheaper to buy than to rent — though in some of those places, the cost difference is minimal.

Click through to see the cost of renting versus owning a home in your state.