Extensive programmes around the world endeavour to measure and catalogue the composition of food. Here we analyse the nutrient content of the full US food supply and show that the concentration of each nutrient follows a universal single-parameter scaling law that accurately captures the eight orders of magnitude in nutrient content variability. We show that the universality is rooted in the biochemical constraints obeyed by the metabolic pathways responsible for nutrient modulation, allowing us to confirm the empirically observed scaling law and to predict its variability in agreement with the data. We propose that the natural nutrient variability in food can be quantitatively formalized. This provides a mathematical rationale for imputing missing values in food composition databases and paves the way towards a quantitative understanding of the impact of food processing on nutrient balance and health effects.