We have P.D. across two ends as following in the two cases:
1)open circuit, V=E
In above,E=EMF of cell,r=internal resistance of cell,I=Current flowing when circuit is closed.
Clearly potential difference is more in case of open circuit then closed circuit.