I develop a method to measure and separate the production misallocation caused by failures in factor markets versus financial markets. When I apply the method to rice farming villages in Thailand I find surprisingly little misallocation. Optimal reallocation would increase output in most...