how many ounces of liquid can be contained in a glass jar that is 5" tall and 3" in diameter (1 gallon =231 cubic inches)

depends on the liquid. A jar of mercury weighs a lot more than a jar of alcohol.