Read the fluid ounces on both packages. Check whether the refill is ready to use or requires a particular bottle or dilution step.
For a ready-to-use example, a 24 ounce pouch at six dollars costs 25 cents per ounce. A 10 ounce bottle at three dollars costs 30 cents per ounce.
Check your empty bottle before buying. A working pump makes the refill useful; a broken pump adds another purchase to your comparison.