Angle Between a Line and a Plane (3D) Calculator

Published on: June 7, 2026
Final Answer: Free | Full Steps: Pro

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.

θ v ⟨v₁, v₂, v₃⟩

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

  1. Set up the problem.
  2. Write the formula.
  3. Read the vectors from the equations.
  4. Substitute the vectors into the formula.
  5. Work out the dot product and the two magnitudes.
  6. 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.

\(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\)

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

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

\(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle,\; 2x - 3y + 4z = 10\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Read the vectors from the equations.
  4. Substitute the vectors into the formula.
  5. Work out the dot product and the two magnitudes.
  6. 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.

\(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\)

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\).

\(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle,\; 2x - 3y + 4z = 10\)
θ v ⟨2, −1, 4⟩

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.

\(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\)

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\).

\(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle,\; \vec{n} = \left\langle 2,\; -3,\; 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)\).

\(\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.

\(\vec{v} = \left\langle 2,\; -1,\; 4 \right\rangle,\; \vec{n} = \left\langle 2,\; -3,\; 4 \right\rangle\)

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\).

\(\vec{v} \cdot \vec{n} = 2 \times 2 + \left(-1\right) \times \left(-3\right) + 4 \times 4 = 23\)

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\).

\(|\vec{v}| = \sqrt{2^{2} + \left(-1\right)^{2} + 4^{2}} = \sqrt{21} \approx 4.58\)

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\).

\(|\vec{n}| = \sqrt{2^{2} + \left(-3\right)^{2} + 4^{2}} = \sqrt{29} \approx 5.39\)

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}\).

\(\alpha = \sin^{-1}\left(\frac{23}{\sqrt{21} \times \sqrt{29}}\right) \approx 68.75^{\circ}\)

Final Answer

\(\alpha \approx 68.75^{\circ}\)
See Example 2 Hide Example 2

Problem

\(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle,\; 2x - y + 2z = 7\)

Approach

Step-by-step method

  1. Set up the problem.
  2. Write the formula.
  3. Read the vectors from the equations.
  4. Substitute the vectors into the formula.
  5. Work out the dot product and the two magnitudes.
  6. 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.

\(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\)

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\).

\(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle,\; 2x - y + 2z = 7\)
θ v ⟨1, 2, −2⟩

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.

\(\alpha = \sin^{-1}\left(\frac{\left|\vec{v} \cdot \vec{n}\right|}{|\vec{v}|\,|\vec{n}|}\right)\)

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\).

\(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle,\; \vec{n} = \left\langle 2,\; -1,\; 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)\).

\(\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.

\(\vec{v} = \left\langle 1,\; 2,\; -2 \right\rangle,\; \vec{n} = \left\langle 2,\; -1,\; 2 \right\rangle\)

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\).

\(\vec{v} \cdot \vec{n} = 1 \times 2 + 2 \times \left(-1\right) + \left(-2\right) \times 2 = -4\)

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\).

\(|\vec{v}| = \sqrt{1^{2} + 2^{2} + \left(-2\right)^{2}} = 3\)

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\).

\(|\vec{n}| = \sqrt{2^{2} + \left(-1\right)^{2} + 2^{2}} = 3\)

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}\).

\(\alpha = \sin^{-1}\left(\frac{4}{3 \times 3}\right) \approx 26.39^{\circ}\)

Final Answer

\(\alpha \approx 26.39^{\circ}\)

Notes and Practice Mode

θ v ⟨v₁, v₂, v₃⟩

Example Problems

Click one to load it into the box and solve it.