ldne calculation