Ultrasonic is the most common use of nondestructive examination technique. It could detect defects inside the structures and on the surface such as voids and cracks. In this investigation, a cylindrical hole manufactured by a drilling machine is used to simulate the void. Three different methods are presented to measure the diameter of the hole. The effects of frequency and incident angle on the measurement accuracy are evaluated. The distinction between voids and cracks by ultrasonic technique is investigated. The amplitude ratio of scattering on a hole and the amplitude ratio on a crack are defined separately. The defects of void and crack are distinguished by comparing the amplitude ratio. The experiment result and the theoretical calculation of the amplitude ratio are presented. The best way to distinguished voids and cracks are proposed, based on the amplitude ratio.