A method and device for measuring depth of anesthesia includes steps of acquiring an ECG signal from a subject, quantifying regularity of respiratory sinus arrhythmia (RSA) from the ECG signal to obtain an index, and estimating depth of anesthesia based on the index.