Real estate website Zillow has a provocative data point for every renter thinking about buying these days: That move pays off after just three years on average nationwide.

The company, which lists for-sale and for-rent information on its site, has released a new analysis of what it calls the "break-even horizon," comparing what it would cost to buy or rent the same home in a number of U.S. markets over time.