Angle Between a Line and a Plane: Formula Projection and Examples

#Angle Between a Line and a Plane
TL;DR
The angle between a line and a plane is the angle between the line and its shadow on the plane, found with sine through the plane's normal. Formulas and examples follow.
Prabhjot Kaur·reviewed byMadhukar VLast updated on December 2, 202614 min read

Key Points

  • The angle between a line and a plane is the angle at the foot of a right triangle made by the line, its shadow on the plane and a perpendicular drop.
  • A plane has no single direction of its own, but it has a normal n\mathbf{n}, and the angle with the plane is 90°90° minus the angle with the normal.
  • Because the cosine of an angle equals the sine of its complement, the formula is sin⁡φ=∣b⋅n∣∣b∣ ∣n∣\sin\varphi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}|\,|\mathbf{n}|}.
  • For a plane written as Ax+By+Cz+D=0Ax + By + Cz + D = 0, the normal vector is (A,B,C)(A, B, C), and DD never affects the angle.
  • A zero dot product b⋅n=0\mathbf{b}\cdot\mathbf{n} = 0 means the line is parallel to the plane, and b\mathbf{b} a multiple of n\mathbf{n} means it is perpendicular.

A Shadow Settles the Question

A rising drone meets the ground at one angle, and the angle decides if it clears a fence.

  • The ground is a plane, the flight path is a line, and you cannot measure between them in mid-air.
  • A pole leaning out of flat ground makes a different angle with each line on the ground through its foot.
  • The one that counts is its shadow when the sun is straight overhead.
  • The angle between a line and a plane is the angle between the line and that shadow.
the angle between a line and a plane is measured to the line's shadow on the plane
A blue plane with a purple normal n standing up from a point. An orange line rises from that point to a top at height 3, a grey dashed drop comes straight down from the top, and the green shadow (projection) of the line lies on the plane, 4 long. The angle φ between the line and the shadow is shaded, φ = arctan(3 ÷ 4) = 36.87 degrees.
  • To compute it, compare the line with the plane's normal (the direction standing straight out of the plane), then subtract from a right angle.

What Is the Angle Between a Line and a Plane?

The angle between a line and a plane is the angle between the line and its orthogonal projection: the shadow it casts straight down onto the plane.

  • A line meets the plane at O. Drop a perpendicular from another point P on the line, landing at Q.
  • OQ is the shadow of OP, and φ=∠POQ\varphi = \angle POQ. Euclid defined it this way in Book XI of the Elements.
  • φ is always from 0°0° to 90°90°, because it sits in a right triangle.
  • A line lying in the plane, or parallel to it, has φ=0°\varphi = 0°; a line standing straight up has φ=90°\varphi = 90°.
  • A plane is written as an equation of a plane, Ax+By+Cz+D=0Ax + By + Cz + D = 0.
  • Its normal is the direction perpendicular to it, with components (A,B,C)(A, B, C).
  • Here is the catch: a plane has no single direction the way a line does. The normal is the only direction tied to it, so the formula compares the line with the normal first.

Why the shadow and not some other line?

The shadow makes the smallest angle with the line.

  • Turn a line in the plane by α away from the shadow; its angle θ with our line obeys cos⁡θ=cos⁡φ×cos⁡α\cos\theta = \cos\varphi \times \cos\alpha.
  • Since cos⁡α≤1\cos\alpha \le 1, θ is smallest when α=0\alpha = 0: the shadow.
  • For φ=36.87°\varphi = 36.87°, lines turned 30°30°, 60°60° and 90°90° away make 46.15°46.15°, 66.42°66.42° and 90°90°.
of all lines in the plane, the shadow makes the smallest angle with the line
A plane with four lines drawn in it from one point, turned 0, 30, 60 and 90 degrees away from the shadow of an orange line rising out of the plane. The angles they make with the orange line are 36.87, 46.15, 66.42 and 90 degrees.
  • In the tool below, drag the orange dot to tilt the line, or try the box diagonal preset (Example 6).
  • Drag the purple dot to swing another line in the plane: its angle is never smaller than the shadow's.

Try It Yourself

Use the 3d solids lab to see Angle Between a Line and a Plane at work: drag, change the numbers and watch what happens.

Why Is the Formula Sine and Not Cosine?

A plane's equation names its normal, not its shadows, and the normal sits at 90°90° to the plane.

  1. Angle with the normal. The angle between two vectors uses the dot product. For the line's direction b\mathbf{b} and the normal n\mathbf{n}:
cos⁡ψ=∣b⋅n∣∣b∣ ∣n∣\cos\psi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}|\,|\mathbf{n}|}
  1. Swap to the plane. In triangle POQ, the drop PQ runs along the normal, so the angle at P is ψ.
  2. The right angle at Q leaves φ+ψ=90°\varphi + \psi = 90°, and the cosine of an angle is the sine of its partner:
sin⁡φ=cos⁡ψ=∣b⋅n∣∣b∣ ∣n∣\sin\varphi = \cos\psi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}|\,|\mathbf{n}|}
  • So the sine is the angle between two lines formula with a 90°90° twist.
  • Miss the complement, and you compute the wrong angle every time.
the angle with the plane and the angle with the normal add to 90 degrees, so cosine becomes sine
A right triangle with the line of length 5 as hypotenuse, the green shadow 4 along the bottom and the grey drop 3 up the right side, with a purple normal at the left corner. The angle φ between line and shadow and the angle ψ between line and normal are marked. A panel shows cos ψ = 3 ÷ 5, φ = 90° − ψ, so sin φ = 0.6, φ = 36.87 degrees and ψ = 53.13 degrees.
  • You can also read it off the triangle: sin⁡φ=PQOP\sin\varphi = \frac{PQ}{OP}. From (0,0,0)(0, 0, 0) to (4,0,3)(4, 0, 3) that is 35\frac{3}{5}, so φ=36.87°\varphi = 36.87°.

What Are the Formulas for the Angle Between a Line and a Plane?

Two equal forms cover every problem, one with vectors and one with coordinates.

Vector form. Line direction b=b1i+b2j+b3k\mathbf{b} = b_1\mathbf{i} + b_2\mathbf{j} + b_3\mathbf{k}, plane normal n=n1i+n2j+n3k\mathbf{n} = n_1\mathbf{i} + n_2\mathbf{j} + n_3\mathbf{k}:

sin⁡φ=∣b⋅n∣∣b∣ ∣n∣\sin\varphi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}|\,|\mathbf{n}|}

Cartesian form. Line with direction ratios (l,m,n)(l, m, n), plane Ax+By+Cz+D=0Ax + By + Cz + D = 0:

sin⁡φ=∣Al+Bm+Cn∣A2+B2+C2 l2+m2+n2\sin\varphi = \frac{|Al + Bm + Cn|}{\sqrt{A^2 + B^2 + C^2}\,\sqrt{l^2 + m^2 + n^2}}
Symbol Meaning
φ angle between the line and the plane, 0°0° to 90°90°
b\mathbf{b} or (l,m,n)(l, m, n) direction of the line, read from its equation
n\mathbf{n} or (A,B,C)(A, B, C) normal of the plane, the coefficients of x, y, z
b⋅n\mathbf{b}\cdot\mathbf{n} dot product b1n1+b2n2+b3n3b_1 n_1 + b_2 n_2 + b_3 n_3
∣b∣\lvert\mathbf{b}\rvert, ∣n∣\lvert\mathbf{n}\rvert lengths of the two vectors
∣…∣\lvert\ldots\rvert on top keeps the sine positive, so φ is never negative
  • The constant DD never appears: it slides the plane without tilting it.
  • The line's direction ratios come straight from its symmetric or vector equation; the plane's normal is read off its coefficients.

What Are the Special Cases?

Two dot-product results settle the angle at a glance.

  • b⋅n=0\mathbf{b}\cdot\mathbf{n} = 0: the line is parallel to the plane (φ=0°\varphi = 0°). In coordinates: Al+Bm+Cn=0Al + Bm + Cn = 0.
  • Line lying in the plane: parallel, and it also passes through one point of the plane.
  • b\mathbf{b} a multiple of n\mathbf{n}: the line is perpendicular to the plane (φ=90°\varphi = 90°), so lA=mB=nC\frac{l}{A} = \frac{m}{B} = \frac{n}{C}.
  • "Dot product zero" here means perpendicular to the normal, so parallel to the plane.
  • The dot product is the fastest tell: zero means parallel, and a dot product as large as the two lengths multiplied means perpendicular.
  • The same projection idea drives distance and shadow sums in 3D.
a zero dot product with the normal means the line is parallel to the plane
Two panels with a blue plane and a purple normal n. Left: a green line direction b runs level above the plane with a dashed shadow beneath it; the angle between b and n is 90 degrees, so the line is parallel to the plane, φ = 0°. Right: an orange b points straight up, the angle between b and n is 0 degrees, so the line is perpendicular to the plane, φ = 90°.

Examples of the Angle Between a Line and a Plane

Example 1

Find the angle between the line with direction b = i + j + k and the plane z = 0.

  1. The floor z=0z = 0 has normal n=(0,0,1)\mathbf{n} = (0, 0, 1).
  2. b⋅n=1\mathbf{b}\cdot\mathbf{n} = 1, ∣b∣=3|\mathbf{b}| = \sqrt{3}, so sin⁡φ=13≈0.5774\sin\varphi = \frac{1}{\sqrt{3}} \approx 0.5774.

Final answer: φ ≈ 35.26°, the angle a cube's long diagonal makes with its base.

Example 2

Find the angle between the line x/2 = y/1 = z/(−2) and the plane 3x + 4y + 5z = 7.

  1. The tempting move is cosine: cos⁡ψ=∣6+4−10∣50 9=0\cos\psi = \frac{|6 + 4 - 10|}{\sqrt{50}\,\sqrt{9}} = 0, so "90°90°, perpendicular".
  2. But 90°90° is the angle with the normal, so the line is parallel to the plane: sin⁡φ=0\sin\varphi = 0.
  3. The line passes through (0,0,0)(0, 0, 0), and 0≠70 \ne 7, so it does not lie in the plane.

Final answer: φ = 0°; parallel to the plane without touching it.

Example 3

Find the angle between the line with direction ratios (1, 2, 2) and the plane 2x − y + 2z + 5 = 0.

  1. Normal (2,−1,2)(2, -1, 2). Top: ∣2−2+4∣=4|2 - 2 + 4| = 4.
  2. Bottom: 3×3=93 \times 3 = 9, so sin⁡φ=49≈0.4444\sin\varphi = \frac{4}{9} \approx 0.4444.

Final answer: φ ≈ 26.39°.

Example 4

Is the line with direction (3, 6, 9) perpendicular to the plane x + 2y + 3z = 4?

  1. Normal (1,2,3)(1, 2, 3): 31=62=93=3\frac{3}{1} = \frac{6}{2} = \frac{9}{3} = 3, so the direction is 3 times the normal.
  2. Check: sin⁡φ=42126 14=1\sin\varphi = \frac{42}{\sqrt{126}\,\sqrt{14}} = 1.

Final answer: yes, φ = 90°.

Example 5

Find the angle between the line with direction (1, −2, 2) and the plane x + 2y − 2z = 3.

  1. b⋅n=1−4−4=−7\mathbf{b}\cdot\mathbf{n} = 1 - 4 - 4 = -7. The absolute value removes the minus sign.
  2. ∣b∣=∣n∣=3|\mathbf{b}| = |\mathbf{n}| = 3, so sin⁡φ=79≈0.7778\sin\varphi = \frac{7}{9} \approx 0.7778.

Final answer: φ ≈ 51.06° (never −51.06°-51.06°).

Example 6

A box is 3.2 m long, 2.4 m wide and 2 m tall. Find the angle between its long diagonal and the floor.

  1. The shadow is the floor diagonal: 10.24+5.76=4\sqrt{10.24 + 5.76} = 4 m.
  2. The long diagonal is 42+22=20≈4.47\sqrt{4^2 + 2^2} = \sqrt{20} \approx 4.47 m.
  3. sin⁡φ=220≈0.4472\sin\varphi = \frac{2}{\sqrt{20}} \approx 0.4472. Vectors (3.2,2.4,2)(3.2, 2.4, 2) and (0,0,1)(0, 0, 1) give the same.

Final answer: φ ≈ 26.57°.

the angle between a box's long diagonal and the floor
A see-through box 3.2 by 2.4 by 2 with its orange long diagonal, the green floor diagonal of length 4 underneath it as its shadow, and the angle φ between them shaded. A panel shows the floor diagonal √(10.24 + 5.76) = 4, the diagonal √20 ≈ 4.47, sin φ ≈ 0.4472 and φ ≈ 26.57 degrees.

What Are the Most Common Mistakes With This Angle?

Most slips come from measuring against the normal instead of the plane.

Mistake 1: Using cosine instead of sine

  • Where it slips in: Straight after learning the angle-between-two-lines formula.
  • Don't do this: Report the cosine angle as the angle with the plane.
  • The correct way: That cosine gives the angle with the normal. Subtract from 90°90°, or use sine. A nearly flat line must give a small angle. The ingredients (a direction and a normal) look just like the two-lines case, which is why cosine feels right.

Mistake 2: Misreading a zero dot product as "perpendicular"

  • Where it slips in: Special cases, as in Example 2.
  • Don't do this: Call the line perpendicular because the dot product is zero.
  • The correct way: b⋅n=0\mathbf{b}\cdot\mathbf{n} = 0 means parallel to the plane. Perpendicular needs b\mathbf{b} to be a multiple of n\mathbf{n}.

Mistake 3: Dropping the absolute-value bars

  • Where it slips in: A negative dot product, as in Example 5.
  • Don't do this: Report a negative angle.
  • The correct way: Keep the bars. The angle with a plane is always from 0°0° to 90°90°.

Where Is the Angle Between a Line and a Plane Used?

None of these angles can be measured in mid-air, but coordinate geometry gets them from two vectors.

  • Descartes joined algebra to geometry, and that is what lets the angle fall out of two vectors and a dot product.

  • Climbing and approaching. A drone's climb angle, or a robot arm meeting a work surface, is this angle.

  • Guy wires. A wire 8 m up a mast and 6 m out is 10 m long: sin⁡φ=810\sin\varphi = \frac{8}{10}, so φ≈53.13°\varphi \approx 53.13°.

  • Ramps, roofs and stairs. Building rules for them are rules about this angle with the floor.

  • Crystallography and optics. The angle at which a light ray or an X-ray beam strikes a crystal plane sets how it reflects and spreads.

  • Sunlight. The sun's height is the angle between a sunbeam and the ground; it sets shadow lengths.

a guy wire meets the ground at 53 degrees
A dark mast standing on green ground, held by an orange wire 10 m long from 8 m up the mast to an anchor 6 m from its foot. The dashed green line along the ground from the anchor to the mast is the wire's shadow, and the angle between wire and ground is 53.13 degrees. Text: sin φ = 8 ÷ 10 = 0.8, φ = 53.13°.

Conclusion

  • The angle between a line and a plane is the angle between the line and its shadow on the plane, always from 0°0° to 90°90°, and the shadow gives the smallest angle with any line in the plane.
  • It uses sine because the plane is represented by its normal, and the angle with the plane is the complement of the angle with the normal.
  • The vector formula is sin⁡φ=∣b⋅n∣∣b∣ ∣n∣\sin\varphi = \frac{|\mathbf{b}\cdot\mathbf{n}|}{|\mathbf{b}|\,|\mathbf{n}|}; the Cartesian form uses direction ratios and the plane's coefficients, and DD never matters.
  • A zero dot product means the line is parallel to the plane; proportional ratios mean it is perpendicular.
  • To master 3D geometry with a teacher, explore Bhanzu's geometry tutor or a high school math tutor, or see math classes online.

A Practical Next Step

Try one cube two ways, then check the 90°90° link.

  1. For a 2×2×22 \times 2 \times 2 cube, use the shadow: the base diagonal is 222\sqrt{2}.
  2. Then use the formula with b=(2,2,2)\mathbf{b} = (2, 2, 2) and n=(0,0,1)\mathbf{n} = (0, 0, 1). Both give about 35.26°35.26°.
  3. Find the angle with the normal and check the two add to 90°90°.
  4. If you get stuck on a special case, come back to the dot-product tells in the special cases section.

Practise until the sine-versus-cosine choice is automatic, then rebuild the formula from the complement so you never have to memorise it.

Want a live Bhanzu trainer to work through 3D geometry with your child? Book a free demo class, online globally, or in person at our McKinney, TX center.

Read More

Research Behind This Article

  1. Euclid, Elements, Book XI, Definition 5 (the inclination of a straight line to a plane), with commentary by D. E. Joyce, Clark University. mathcs.clarku.edu
  2. OpenStax, Calculus Volume 3, Section 2.3: The Dot Product. openstax.org
  3. OpenStax, Calculus Volume 3, Section 2.5: Equations of Lines and Planes in Space (normal vectors and the plane equation). openstax.org
  4. OpenStax, Calculus Volume 3, Section 2.2: Vectors in Three Dimensions. openstax.org

Quick Quiz: Check Yourself

Three levels, questions with figures, instant feedback with the reason.

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

Why does this formula use sine when the angle between two lines uses cosine?
Because a plane offers only its normal as a direction. The dot product gives the angle with the normal, and that angle and the angle with the plane add up to 90°90°, so the cosine of one is the sine of the other.
What does a zero dot product mean here?
The line is parallel to the plane (or lies in it), so the angle between a line and a plane is 0°0° here. It does not mean perpendicular.
How do you know if a line is perpendicular to a plane?
Its direction ratios are proportional to the plane's normal coefficients: lA=mB=nC\frac{l}{A} = \frac{m}{B} = \frac{n}{C}.
Can the angle between a line and a plane be more than 90°?
No. It is an angle inside a right triangle, so it lies from 0°0° to 90°90°, and the absolute value in the formula keeps it there.
Where do the plane's normal components come from?
Directly from the plane equation Ax+By+Cz+D=0Ax + By + Cz + D = 0: the coefficients (A,B,C)(A, B, C) are the normal vector.
✍️ Written By
Prabhjot Kaur
Prabhjot Kaur
Subject Matter Expert & Curriculum Developer
Prabhjot Kaur is an education professional with 14 years of experience in teaching, curriculum development, content review and teacher training. She taught for six years in the UK and has worked as a Subject Matter Expert for competitive exams, developing and reviewing content for Numerical Ability and Logical Reasoning. She has trained teachers in effective classroom practices and designs activity-based learning experiences that make concepts easy to understand.
LinkedIn
🔬 Reviewed By
Madhukar V
Math Columnist & Analyst
Book a FREE Demo ClassBook Now →