To calculate the modulus of rigidity, divide the shear stress by the shear strain for the material in question. This modulus is defined as the ratio of these two values and is specific to the direction of the applied stress. For isotropic materials, there is a single modulus of rigidity value. Accurate measurements of shear stress and shear strain are essential for this calculation. Understanding these principles is crucial for material science and engineering applications.