The TSA classifies baby formula as medically necessary, so you can pack as much baby formula as you need for the trip without being limited to the 3.4-ounce rule that applies to other liquids. When you go through security screening, inform airport security of the amount of baby formula you're carrying.