There is a problem to measure neutral bio-signals during sleep because of inconvenience of attaching lots of sensors. In this study, we measured single electrocardiogram(ECG) signal and analyzed the correlation with sleep. After R-peak detection from ECG signal, we extracted 9 features from time and frequency domain of heart rate variability(HRV). Mean of HRV, RR intervals differing more than 50ms(NN50), and divided by the total number of all RR intervals(pNN50) have significant differences in each sleep stage. Specially, the mean HRV has an average of 87.8% accuracy in classifying sleep and awake status. In the future, the measurement ECG signal minimizes inconvenience of attaching sensors during sleep. Also, it can be substituted for the standard sleep measurement method.