To calculate the angle between a line and a plane, use the formula \( \sin \theta = \frac{\left| \mathbf{a} \cdot \mathbf{n} \right|}{\left| \mathbf{a} \right| \left| \mathbf{n} \right|} \), where \( \mathbf{a} \) is the direction vector of the line and \( \mathbf{n} \) is the normal vector of the plane.