Start with the narrowest point
Measure between cabinet handles, skirting boards and any pipes. Mark the footprint with masking tape and open the nearest drawer fully. Leave enough room to stand in front of it.
Check what goes on each shelf
Measure your tallest jar with its lid on. Allow room to lift it out. For a microwave, follow the appliance manufacturer’s ventilation clearances and check the shelf load rating.