The formula
Length + girth = Length + (2 × Width) + (2 × Height). Girth is the distance around the parcel at its thickest part. Example: a 60 × 40 × 30 cm box has a girth of 2 × 40 + 2 × 30 = 140 cm, so length plus girth is 200 cm.
Also check the volumetric weight calculator, because large boxes are often billed by size.