Calculation of magnetic Pascal constants