A worked example
At 40cm, the 10:1 rule needs a 4cm floor — 20–25mm holds under that in practice because most food packaging is picked up and examined closely before purchase, closer than the notional 40cm a shelf-browsing distance suggests. The tighter constraint on this surface usually isn't the math; it's whether the code survives what food packaging actually goes through physically.
Food-safe ink, condensation, and the freezer
Every packaging surface in this guide deals with print quality, but food packaging adds a set of physical constraints that have nothing to do with design and everything to do with what the package is actually for. The first is regulatory: any ink that ends up in contact with food, or close enough to migrate under normal handling, has to meet food-safe standards separate from ordinary print-quality ink. This mostly affects flexible pouches and any packaging where the printed surface is on the inside or in direct product contact — a QR code isn't exempt from that requirement just because it's a small, functional print element rather than branding.
The second constraint is condensation, and it's the one most general print guides never mention because most print material never gets cold. Food packaging routinely moves through a refrigerated or frozen supply chain and then gets handled in a warm room — pulled from a fridge case, carried to a checkout counter, unpacked at home. That temperature change causes moisture to condense directly on the packaging surface, and a thin film of condensation sitting on top of a QR code can be enough to drop the contrast a scanner depends on, even though the print itself is completely undamaged underneath. The code isn't broken; it's temporarily obscured, and it clears once the moisture does — but if nobody tested for this, the failure looks identical to a bad print run.
Freezer-stored products add frost on top of condensation, which is a harder problem: frost doesn't just reduce contrast, it can physically obscure fine detail with an uneven layer of ice crystals. The practical response isn't a different code design — it's testing under the conditions the packaging will actually experience. Chill or freeze a sample the way it'll really be stored, let it warm up in a normal room, and scan it while any condensation or frost is still present, not after it's had time to fully clear. If it scans reliably in that state, it'll work under ordinary conditions too. Skipping this step is how a code that tested perfectly in a dry studio environment turns out to fail for a meaningful fraction of real-world scans.

