The linear relation of gain on carrier density in the conventional rate equation is replaced by the logarithmic relation for quantum well lasers in this paper. The static and dynamic behaviors brought by the revision are analyzed. An optimal well number for the minimum threshold currenl and an optimal cavity length for the highest modulation frequency have been obtained.