Angle Between a Line and a Plane

The formula

The angle θ\theta between a line with direction vector b⃗\vec{b} and a plane with normal vector n⃗\vec{n} uses sin⁡\sin, not cos⁡\cos, because the angle is measured from the plane itself, which is perpendicular to n⃗\vec{n}:

sin⁡θ=∣b⃗⋅n⃗∣∣b⃗∣∣n⃗∣\sin\theta = \dfrac{|\vec{b}\cdot\vec{n}|}{|\vec{b}||\vec{n}|}

The angle between b⃗\vec{b} and n⃗\vec{n} is 90∘−θ90^\circ - \theta, and cos⁡(90∘−θ)=sin⁡θ\cos(90^\circ - \theta) = \sin\theta. That one step is the whole reason the formula switches to sine.

The three angle formulas side by side

Angles in 3D geometry, using direction vectors b and normals n
Angle betweenUseFormula
Two linesTheir directions b1⃗,b2⃗\vec{b_1}, \vec{b_2}cos⁡θ=∣b1⃗⋅b2⃗∣∣b1⃗∣∣b2⃗∣\cos\theta = \dfrac{|\vec{b_1}\cdot\vec{b_2}|}{|\vec{b_1}||\vec{b_2}|}
Two planesTheir normals n1⃗,n2⃗\vec{n_1}, \vec{n_2}cos⁡θ=∣n1⃗⋅n2⃗∣∣n1⃗∣∣n2⃗∣\cos\theta = \dfrac{|\vec{n_1}\cdot\vec{n_2}|}{|\vec{n_1}||\vec{n_2}|}
A line and a planeDirection b⃗\vec{b} and normal n⃗\vec{n}sin⁡θ=∣b⃗⋅n⃗∣∣b⃗∣∣n⃗∣\sin\theta = \dfrac{|\vec{b}\cdot\vec{n}|}{|\vec{b}||\vec{n}|}

The absolute value in each one keeps θ\theta between 0∘0^\circ and 90∘90^\circ, which is the angle these questions ask for.

Worked example

Find the angle between the line x+12=y3=z−36\dfrac{x+1}{2}=\dfrac{y}{3}=\dfrac{z-3}{6} and the plane 10x+2y−11z=310x+2y-11z=3.

Solution: The line's direction vector is b⃗=(2,3,6)\vec{b}=(2,3,6), and the plane's normal is n⃗=(10,2,−11)\vec{n}=(10,2,-11).

b⃗⋅n⃗=2(10)+3(2)+6(−11)=20+6−66=−40\vec{b}\cdot\vec{n} = 2(10)+3(2)+6(-11) = 20+6-66 = -40∣b⃗∣=4+9+36=7,∣n⃗∣=100+4+121=15|\vec{b}| = \sqrt{4+9+36}=7, \qquad |\vec{n}| = \sqrt{100+4+121}=15sin⁡θ=∣−40∣7×15=40105=821  ⇒  θ=sin⁡−1821\sin\theta = \dfrac{|-40|}{7 \times 15} = \dfrac{40}{105} = \dfrac{8}{21} \;\Rightarrow\; \theta = \sin^{-1}\dfrac{8}{21}

Worked example: the angle between two planes

Find the angle between the planes 2x+y−2z=52x + y - 2z = 5 and 3x−6y−2z=73x - 6y - 2z = 7.

Solution: The normals are n1⃗=(2,1,−2)\vec{n_1} = (2, 1, -2) and n2⃗=(3,−6,−2)\vec{n_2} = (3, -6, -2):

n1⃗⋅n2⃗=6−6+4=4,∣n1⃗∣=3,∣n2⃗∣=7\vec{n_1}\cdot\vec{n_2} = 6 - 6 + 4 = 4, \qquad |\vec{n_1}| = 3, \qquad |\vec{n_2}| = 7cos⁡θ=421  ⇒  θ=cos⁡−1421\cos\theta = \dfrac{4}{21} \;\Rightarrow\; \theta = \cos^{-1}\dfrac{4}{21}

Parallel and perpendicular cases

  • Line parallel to the plane: b⃗⋅n⃗=0\vec{b}\cdot\vec{n} = 0, so sin⁡θ=0\sin\theta = 0. The line either lies in the plane or never meets it.
  • Line perpendicular to the plane: b⃗\vec{b} is a multiple of n⃗\vec{n}, so θ=90∘\theta = 90^\circ.

Example: is the line r⃗=i^+λ(2i^−j^+k^)\vec{r} = \hat{i} + \lambda(2\hat{i} - \hat{j} + \hat{k}) parallel to the plane x+3y+z=4x + 3y + z = 4?

Solution: b⃗⋅n⃗=2(1)+(−1)(3)+1(1)=0\vec{b}\cdot\vec{n} = 2(1) + (-1)(3) + 1(1) = 0, so yes. To see whether it lies in the plane, test its point (1,0,0)(1, 0, 0): 1+0+0=1≠41 + 0 + 0 = 1 \neq 4. So the line is parallel to the plane and never meets it.

Common mistakes

  • Using cos for a line and a plane. That gives the angle between the line and the normal, which is 90∘−θ90^\circ - \theta.
  • Reading the direction from the wrong numbers. In x+12=y3=z−36\dfrac{x+1}{2}=\dfrac{y}{3}=\dfrac{z-3}{6} the direction is the denominators (2,3,6)(2, 3, 6). The numerators only give a point.
  • Dropping the absolute value. Without it, b⃗⋅n⃗=−40\vec{b}\cdot\vec{n} = -40 would give a negative sine and an angle outside the range the question wants.
  • Calling b⃗⋅n⃗=0\vec{b}\cdot\vec{n} = 0 perpendicular. For a line and a plane, a zero dot product means parallel. It's perpendicular when b⃗\vec{b} and n⃗\vec{n} point the same way.

Where this comes up in exams

The JEE Advanced 2026 syllabus lists the angle between two lines, between two planes, and between a line and a plane. The JEE Main 2026 syllabus and the 2025-26 CBSE Class XII syllabus list only the angle between two lines.

Checked against JEE (Advanced) 2026 syllabus, JEE (Main) 2026 syllabus (NTA) and CBSE Mathematics curriculum, Classes XI-XII (2025-26). Syllabi can change from year to year, so confirm with the latest official notification for your exam.

Continue learning

This uses the same direction vector that defines a line's equation in the first place, and the normal that defines a plane's.