noted decanting added
Your gold pile occupies a space giving you only 27 inventory spaces to deal with. Taking 20 4-dose potions will have her split them into 26 3-dose potions and 1 2-dose potion. For the next trip, you take 19 4-dose potions with the 2-dose still in your inventory and they will be split into 26 3-dose potions. This is the most efficient way for your money and time.
Community content is available under CC-BY-SA unless otherwise noted.