Formula and flying

Al

Do you know how much formula you can bring in your carry on. When I google it all it says is a “reasonable amount”. We use the big Costco container, is that too much? Should I fill a smaller container and bring that? Would it be okay in a check in bag or would it get weird from the temperatures??