Angle Between a Line and a Plane (3D) Calculator
This Angle Between a Line and a Plane (3D) Calculator finds the angle at which a line meets a plane, and shows the working line by line. The direction of the line and the normal of the plane are combined through the dot product and their lengths. That fraction is the cosine of the angle to the normal, which is the same as the sine of the angle to the plane, so the inverse sine gives the answer directly. Following the same pattern every time keeps the line and the normal in their places.
Enter the line direction \(\vec{v} = \langle v_{1}, v_{2}, v_{3} \rangle\) and \(a\), \(b\), \(c\), \(d\) from the plane.
Step-by-step method
- Set up the problem.
- Write the formula.
- Read the vectors from the equations.
- Substitute the vectors into the formula.
- Work out the dot product and the two magnitudes.
- Work out the angle.
Formula: Angle Between a Line and a Plane Formula
This formula gives the angle between a line and a plane. Use the line direction and the plane normal, then take the inverse sine instead of the inverse cosine.
Useful Tips to Remember
The formula uses the inverse sine, because the angle to the plane is the complement of the angle to the normal. The answer is always between \(0^{\circ}\) and \(90^{\circ}\). A dot product of 0 means the line is parallel to the plane, and a direction that is a multiple of the normal means the line meets the plane at \(90^{\circ}\).
Required knowledge
- How to find the dot product, covered in the Dot Product Calculator.
- How to find the length of a vector, covered in the Magnitude of a Vector Calculator.
- How to read a direction from a line equation, covered in the Direction Vector from Symmetric Equation (3D) Calculator.
Where Is the Angle Between a Line and a Plane Used?
The angle between a line and a plane tells you how steeply a straight path meets a flat surface. Engineers use it for the angle of a support strut against a wall or floor, and surveyors use it for the angle of elevation to a sloped surface. In optics and graphics, it gives the angle at which a light ray strikes a surface, which controls reflection and brightness. Drilling and mining use it to set the angle at which a bore meets a rock layer.
- Angles of struts against walls and floors
- The angle a light ray hits a surface
- Drilling angles into rock layers
- Approach angles of a path onto a slope
- Checking whether a line is parallel to a plane
Angle Between a Line and a Plane Practice Problems
Example 1 uses the direction \(\langle 2, -1, 4 \rangle\) with the plane \(2x - 3y + 4z = 10\), and Example 2 uses \(\langle 1, 2, -2 \rangle\) with \(2x - y + 2z = 7\). Work out the dot product and magnitudes, take the inverse sine and compare. For two more free worked examples, check out the Angle Between a Line and a Plane (3D) Notes.
The worked examples below go through the same pattern from start to finish, so you can compare every step with your own working. For more practice, the notes page goes further with extra worked examples and fuller explanations of the ideas behind each step. Use them together to check your answers and to understand why each step works.
See Example 1 Hide Example 1
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Read the vectors from the equations.
- Substitute the vectors into the formula.
- Work out the dot product and the two magnitudes.
- Work out the angle.
Formula
Formula: Angle Between a Line and a Plane Formula
This formula gives the angle between a line and a plane. Use the line direction and the plane normal, then take the inverse sine instead of the inverse cosine.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the angle between the line with direction \(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle\) and the plane \(2x - 3y + 4z = 10\).
Step 2
Step 2 - Write the formula.
In this problem: The line makes an angle with the normal, and the angle with the plane is what is left of 90 degrees. Because the sine of an angle equals the cosine of its complement, the same fraction as the angle between vectors gives the angle with the plane through the inverse sine.
Step 3
Step 3 - Read the vectors from the equations.
In this problem: The coefficients of x, y and z in the plane equation give its normal \(\vec{n} = \left\langle 2,\; -3,\; 4 \right\rangle\), and the line direction is \(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle\).
Step 4
Step 4 - Substitute the vectors into the formula.
In this problem: Replacing the two vectors in \(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\) gives \(\alpha = \sin^{-1}\left(\frac{\left|\left\langle 2,\; -1,\; 4 \right\rangle \cdot \left\langle 2,\; -3,\; 4 \right\rangle\right|}{|\left\langle 2,\; -1,\; 4 \right\rangle|\,|\left\langle 2,\; -3,\; 4 \right\rangle|}\right)\).
Step 5
Step 5 - Work out the dot product and the two magnitudes.
In this problem: The fraction needs the dot product and both magnitudes, so each one is worked out in turn.
Step 5a
Step 5a - Work out the dot product.
In this problem: The dot product is worked out from the components, covered in the Dot Product Calculator. Multiplying the matching components gives \(2 \times 2 = 4\), \(\left(-1\right) \times \left(-3\right) = 3\) and \(4 \times 4 = 16\). Adding the three products gives \(4 + 3 + 16 = 23\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the dot product.
Formula
Formula: Dot Product Formula
This formula multiplies two vectors into a single number. Multiply the matching components, then add the three products.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the dot product of \(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle\) and \(\vec{n} = \left\langle 2,\; -3,\; 4 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The dot product multiplies the matching components of the two vectors and adds the three products, giving a single number.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(\vec{A} \cdot \vec{B} = a_{1}b_{1} + a_{2}b_{2} + a_{3}b_{3}\) gives \(\vec{v} \cdot \vec{n} = 2 \times 2 + \left(-1\right) \times \left(-3\right) + 4 \times 4\).
Step 4
Step 4 - Work out the dot product.
In this problem: Multiplying the matching components gives \(2 \times 2 = 4\), \(\left(-1\right) \times \left(-3\right) = 3\) and \(4 \times 4 = 16\). Adding the three products gives \(4 + 3 + 16 = 23\).
Final Answer
Step 5b
Step 5b - Work out the first magnitude.
In this problem: The magnitude of \(\vec{v}\) is worked out from its components, covered in the Magnitude of a Vector Calculator. Squaring the components gives \(2^{2} = 4\), \(\left(-1\right)^{2} = 1\) and \(4^{2} = 16\). Adding the squares gives \(4 + 1 + 16 = 21\). Taking the square root gives \(\sqrt{21} \approx 4.58\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{v}| = \sqrt{2^{2} + \left(-1\right)^{2} + 4^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(2^{2} = 4\), \(\left(-1\right)^{2} = 1\) and \(4^{2} = 16\). Adding the squares gives \(4 + 1 + 16 = 21\). Taking the square root gives \(\sqrt{21} \approx 4.58\).
Final Answer
Step 5c
Step 5c - Work out the second magnitude.
In this problem: The magnitude of \(\vec{n}\) is worked out in the same way. Squaring the components gives \(2^{2} = 4\), \(\left(-3\right)^{2} = 9\) and \(4^{2} = 16\). Adding the squares gives \(4 + 9 + 16 = 29\). Taking the square root gives \(\sqrt{29} \approx 5.39\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{n} = \left\langle 2,\; -3,\; 4 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{n}| = \sqrt{2^{2} + \left(-3\right)^{2} + 4^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(2^{2} = 4\), \(\left(-3\right)^{2} = 9\) and \(4^{2} = 16\). Adding the squares gives \(4 + 9 + 16 = 29\). Taking the square root gives \(\sqrt{29} \approx 5.39\).
Final Answer
Step 6
Step 6 - Work out the angle.
In this problem: Putting the values back in gives \(\alpha = \sin^{-1}\left(\frac{23}{\sqrt{21} \times \sqrt{29}}\right)\). The fraction works out to \(\frac{23}{\sqrt{21} \times \sqrt{29}} \approx 0.932\), and taking the inverse sine gives \(\alpha \approx 68.75^{\circ}\).
Final Answer
See Example 2 Hide Example 2
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Read the vectors from the equations.
- Substitute the vectors into the formula.
- Work out the dot product and the two magnitudes.
- Work out the angle.
Formula
Formula: Angle Between a Line and a Plane Formula
This formula gives the angle between a line and a plane. Use the line direction and the plane normal, then take the inverse sine instead of the inverse cosine.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the angle between the line with direction \(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle\) and the plane \(2x - y + 2z = 7\).
Step 2
Step 2 - Write the formula.
In this problem: The line makes an angle with the normal, and the angle with the plane is what is left of 90 degrees. Because the sine of an angle equals the cosine of its complement, the same fraction as the angle between vectors gives the angle with the plane through the inverse sine.
Step 3
Step 3 - Read the vectors from the equations.
In this problem: The coefficients of x, y and z in the plane equation give its normal \(\vec{n} = \left\langle 2,\; -1,\; 2 \right\rangle\), and the line direction is \(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle\).
Step 4
Step 4 - Substitute the vectors into the formula.
In this problem: Replacing the two vectors in \(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\) gives \(\alpha = \sin^{-1}\left(\frac{\left|\left\langle 1,\; 2,\; -2 \right\rangle \cdot \left\langle 2,\; -1,\; 2 \right\rangle\right|}{|\left\langle 1,\; 2,\; -2 \right\rangle|\,|\left\langle 2,\; -1,\; 2 \right\rangle|}\right)\).
Step 5
Step 5 - Work out the dot product and the two magnitudes.
In this problem: The fraction needs the dot product and both magnitudes, so each one is worked out in turn.
Step 5a
Step 5a - Work out the dot product.
In this problem: The dot product is worked out from the components, covered in the Dot Product Calculator. Multiplying the matching components gives \(1 \times 2 = 2\), \(2 \times \left(-1\right) = -2\) and \(\left(-2\right) \times 2 = -4\). Adding the three products gives \(2 - 2 - 4 = -4\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the dot product.
Formula
Formula: Dot Product Formula
This formula multiplies two vectors into a single number. Multiply the matching components, then add the three products.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the dot product of \(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle\) and \(\vec{n} = \left\langle 2,\; -1,\; 2 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The dot product multiplies the matching components of the two vectors and adds the three products, giving a single number.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(\vec{A} \cdot \vec{B} = a_{1}b_{1} + a_{2}b_{2} + a_{3}b_{3}\) gives \(\vec{v} \cdot \vec{n} = 1 \times 2 + 2 \times \left(-1\right) + \left(-2\right) \times 2\).
Step 4
Step 4 - Work out the dot product.
In this problem: Multiplying the matching components gives \(1 \times 2 = 2\), \(2 \times \left(-1\right) = -2\) and \(\left(-2\right) \times 2 = -4\). Adding the three products gives \(2 - 2 - 4 = -4\).
Final Answer
Step 5b
Step 5b - Work out the first magnitude.
In this problem: The magnitude of \(\vec{v}\) is worked out from its components, covered in the Magnitude of a Vector Calculator. Squaring the components gives \(1^{2} = 1\), \(2^{2} = 4\) and \(\left(-2\right)^{2} = 4\). Adding the squares gives \(1 + 4 + 4 = 9\). Taking the square root gives \(\sqrt{9} = 3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{v}| = \sqrt{1^{2} + 2^{2} + \left(-2\right)^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(1^{2} = 1\), \(2^{2} = 4\) and \(\left(-2\right)^{2} = 4\). Adding the squares gives \(1 + 4 + 4 = 9\). Taking the square root gives \(\sqrt{9} = 3\).
Final Answer
Step 5c
Step 5c - Work out the second magnitude.
In this problem: The magnitude of \(\vec{n}\) is worked out in the same way. Squaring the components gives \(2^{2} = 4\), \(\left(-1\right)^{2} = 1\) and \(2^{2} = 4\). Adding the squares gives \(4 + 1 + 4 = 9\). Taking the square root gives \(\sqrt{9} = 3\).
Problem
Approach
Step-by-step method
- Set up the problem.
- Write the formula.
- Substitute the components into the formula.
- Work out the magnitude.
Formula
Formula: Magnitude Formula
This formula gives the length of a vector from its components. Square each component, add the squares, then take the square root.
Step 1
Step 1 - Set up the problem.
In this problem: We are finding the magnitude of \(\vec{n} = \left\langle 2,\; -1,\; 2 \right\rangle\).
Step 2
Step 2 - Write the formula.
In this problem: The magnitude is the length of the vector. It comes from Pythagoras' theorem in three dimensions: square each component, add the squares and take the square root.
Step 3
Step 3 - Substitute the components into the formula.
In this problem: Replacing each component in \(|\vec{A}| = \sqrt{a_{1}^{2} + a_{2}^{2} + a_{3}^{2}}\) gives \(|\vec{n}| = \sqrt{2^{2} + \left(-1\right)^{2} + 2^{2}}\).
Step 4
Step 4 - Work out the magnitude.
In this problem: Squaring the components gives \(2^{2} = 4\), \(\left(-1\right)^{2} = 1\) and \(2^{2} = 4\). Adding the squares gives \(4 + 1 + 4 = 9\). Taking the square root gives \(\sqrt{9} = 3\).
Final Answer
Step 6
Step 6 - Work out the angle.
In this problem: The absolute value of \(-4\) is \(4\), so putting the values back in gives \(\alpha = \sin^{-1}\left(\frac{4}{3 \times 3}\right)\). The fraction works out to \(\frac{4}{3 \times 3} = \frac{4}{9}\), and taking the inverse sine gives \(\alpha \approx 26.39^{\circ}\).
Final Answer
Notes and Practice Mode
Want to understand the method more deeply? The Angle Between a Line and a Plane (3D) Notes go through the same pattern with extra worked examples and fuller explanations of the ideas behind each step, so you can see why every step works and not just what to do. When you are ready to test yourself, Angle Between a Line and a Plane (3D) Practice gives you a new problem at Easy, Medium or Hard level, checks your answer and shows the full working whenever you get one wrong. Practice Mode for this calculator is available on the Pro plan.
Login and upgrade to Pro to unlock the full step solution.
Example Problems
Click one to load it into the box and solve it.