Surgical invasion activates nociception, while anesthesia suppresses it. Under general anesthesia, stimulation, which is the balance between nociception and anti-nociception, induces responses, including activation of the autonomic nervous system. To evaluate the associations between stimulation (S) and the resultant responses (R), we examined R values, which were calculated using mathematical models of Stevens’ power law, Gompertz function and logistic function. The previously developed Nociceptive Response (NR) formula was applied as a modified logistic model. S values were calculated using a linear function in the NR formula. In a retrospective study, we developed an exponential model of Stevens’ power law and a sigmoidal model of Gompertz function using differential equations, by adjusting R values to correspond to NR values, in consecutive patients undergoing surgery under general anesthesia (n = 4,395). In a subsequent prospective study, we validated the superiority of R values of Gompertz function and the NR formula in an exponential model in adult patients undergoing tympanoplasty (n = 141) and laparoscopic cholecystectomy (n = 86). In conclusion, both modified logistic function and Gompertz function are likely appropriate mathematical models for representing responses to stimulation resulting from the balance between nociception/anti-nociception during surgical procedures under general anesthesia.