In the method of monitoring the liquid level based on ultrasonic impedance, the near-field effect can seriously affect the validity of the results. In this paper, we explore the factors affecting the length of the ultrasonic near field. Based on that, we propose the optimal length and the minimum length of the buffer block to avoid the near field. The evaluations show that when the parameters of the ultrasonic probe are 15 mm in diameter, 1 MHz in frequency, and ±15 V in emitted ultrasonic wave amplitude, the best results are obtained when the length of the buffer block is 22 mm. When the probe diameter is 10 mm, the buffer block length should be ≥5 mm to ensure the validity of the measured results. The evaluation precision is 1 mm. This research can effectively avoid the blind area of emitted waves when using ultrasonic to measure the liquid level. It provides an effective basis for the selection and design of ultrasonic probes.