Weaving calculations