A voltmeter should ideally have an infinite resistance so that it does not draw any current from the circuit. However a voltmeter cannot be designed to have infinite resistance. A potentiometer does not draw any current from the circuit at the null point. Therefore, it gives more accurate measurement. Thus, it acts as an ideal voltmeter.