Span Margin Calculation