We generalise the traditional development-accounting framework to an open-economy setting. In addition to factor endowments and productivity, relative factor costs emerge as a source of real-income variation across countries. These are shaped by bilateral trade determinants (which underpin the...