Technically you can have 1200 of them in your inventory but that would be largely wasteful. It’s best to keep at most a single stack of them in your inventory, which is 30 potions. Ultimately even having a dozen should be sufficient for most boss battles.