Lw calculation