Employers want to know who has one foot out the door.

As turnover becomes a bigger worry—and expense—in a tightening labor market, companies including Wal-Mart Stores Inc., Credit Suisse Group AG and Box Inc. are analyzing a vast array of data points to determine who is likely to leave a post.

The idea, say people who run analytics teams,...