headspace

Noun
  1. the volume left at the top of a filled container (bottle or jar or tin) before sealing
headspace
The jar has enough headspace to prevent the lid from touching the pickles.