The optimal layer height is calculated using the formula: Layer Height = (Print Time / Quality Factor) / 10.