Changes in dynamic lung compliance during inspiration and expiration cannot be modeled accurately with conventional algorithms. We developed a simple method to analyze pressure-volume (P/V) relationships under condition of nonlinearity (APVNL) and tested it in a lung model with known resistance and nonlinear P/V relationship. In addition, pulmonary mechanics in 22 infants, 11 of them with nonlinear P/V relationships, were analyzed with the new method. The findings were compared with those obtained by a recently introduced algorithm, multiple linear regression analysis (MLR) of the equation of motion. The APVNL method described the changing compliance (C) of the lung model accurately, whereas the MLR method underestimated C especially in the first half of the breath. In infants the MLR method gave highly variable, often nonphysiological C values in the beginning of a breath. In contrast, the coefficient of variability of measurements obtained by the APVNL method was significantly smaller (p < 0.02), and the indices of model-fit showed better agreement between calculated and observed pressure than for the MLR method (p < 0.02). We conclude that the APVNL method accurately describes nonlinear P/V relationships present during spontaneous breathing or mechanical ventilation. The method may be helpful in identifying and preventing pulmonary overdistention.