An ultrasonic test of spot welding for stainless steel is conducted. Based on wavelet packet decomposition, the ultrasonic echo signal has been analyzed deeply in time - frequency domain, which can easily distinguish the nugget from the corona bond. The 2D C-scan images produced by ultrasonic C scan which contribute to quantitatively calculate the nugget diameter for the computer are further analyzed. The spot welding nugget diameter can be automatically obtained by image enhancement, edge detection and equivalent diameter algorithm procedure. The ultrasonic detection values in this paper show good agreement with the metallographic measured values. The mean value of normal distribution curve is 0.006 67, and the standard deviation is 0.087 11. Ultrasonic C-scan test based on wavelet packet signal analysis is of high accuracy and stability.