This study relies on a linear programming model to estimate welfare ratios in Spain between 1600 and 1800. This method is used to find the food basket that guaranteed the intake of basic nutrients at the lowest cost. The estimates show that working families in Toledo had higher welfare ratios than in those in Barcelona. In addition, the welfare ratios of Spain were always below those of London and Amsterdam. The divergence between Northern Europe and Spain started before the Industrial Revolution and increased over time.