Blog

Angle Between Two Planes and a Line and Plane: Formula Guide

Learn when to use normal vectors, direction vectors, cosine, and sine in 3D angle questions, with solved examples and quick mistake checks.

  • 12th
  • Study Advice
Glass planes and glowing vector arrows in a mathematical observatory

Angle questions in three-dimensional geometry become confusing when every object looks like a line, a plane, or a vector equation.

The trick is not to memorise more formulas. The trick is to ask one small question first:

Which two vectors am I really comparing?

For two planes, you compare their normal vectors.

For a line and a plane, you compare the line’s direction vector with the plane’s normal vector, but you use sine for the final angle.

That one difference solves most confusion in this topic.

Let us build the method slowly, with formulas, examples, and checks that prevent the usual mistakes.

The Quick Formula Choice Test

Before calculating anything, identify the type of question.

Question typeVector to take from the first objectVector to take from the second objectFormula to use
Angle between two planesnormal vector of first planenormal vector of second planecosine formula
Angle between a line and a planedirection vector of the linenormal vector of the planesine formula

So the first step is not substitution. The first step is selection.

Ask:

Am I comparing two planes?
Then I need normal and normal.

Am I comparing a line and a plane?
Then I need direction and normal.

Once the right vectors are chosen, the calculation is usually short.

What Is a Normal Vector?

A normal vector is a vector that is perpendicular to a plane.

If the plane is:

Ax + By + Cz + D = 0

then its normal vector is:

n = (A, B, C)

Notice that D is not part of the normal vector. The constant changes the position of the plane, but it does not change the direction in which the plane is facing.

For example:

2x - 3y + 5z + 7 = 0

has normal vector:

n = (2, -3, 5)

And:

x + 4y - z = 9

can be read as:

x + 4y - z - 9 = 0

so its normal vector is:

n = (1, 4, -1)

What Is a Direction Vector?

A direction vector tells you the direction in which a line is moving.

If the line is written as:

(x - x1)/a = (y - y1)/b = (z - z1)/c

then its direction vector is:

d = (a, b, c)

For example:

(x - 1)/2 = (y + 3)/(-1) = (z - 5)/4

has direction vector:

d = (2, -1, 4)

If the line is written in vector form:

r = a + lambda b

then the vector after lambda is the direction vector.

For example:

r = (1, 2, -1) + lambda(3, -2, 5)

has direction vector:

d = (3, -2, 5)

Angle Between Two Planes

Two planes do not have one obvious “direction” like a line does. So we use the direction of their normal vectors.

If the two planes are:

A1x + B1y + C1z + D1 = 0
A2x + B2y + C2z + D2 = 0

then:

n1 = (A1, B1, C1)
n2 = (A2, B2, C2)

The angle between the two planes is found using:

cos theta = |n1 . n2| / (|n1| |n2|)

In expanded form:

cos theta = |A1A2 + B1B2 + C1C2|
            / sqrt(A1^2 + B1^2 + C1^2) sqrt(A2^2 + B2^2 + C2^2)

The absolute value is used when the question expects the acute angle.

Example: Angle Between Two Planes

Find the angle between:

P1: 2x - y + 2z + 3 = 0
P2: x + 2y - 2z + 1 = 0

First take the normal vectors:

n1 = (2, -1, 2)
n2 = (1, 2, -2)

Now find the dot product:

n1 . n2 = (2)(1) + (-1)(2) + (2)(-2)
        = 2 - 2 - 4
        = -4

Use the absolute value:

|n1 . n2| = 4

Find the magnitudes:

|n1| = sqrt(2^2 + (-1)^2 + 2^2)
     = sqrt(4 + 1 + 4)
     = 3

|n2| = sqrt(1^2 + 2^2 + (-2)^2)
     = sqrt(1 + 4 + 4)
     = 3

Now substitute:

cos theta = 4 / (3 x 3)
cos theta = 4/9

So:

theta = cos^-1(4/9)

That is the required angle between the two planes.

Quick Checks for Two Planes

These two checks save a lot of time.

ConditionWhat it means
Normal vectors are proportionalPlanes are parallel or the same plane
Dot product of normal vectors is zeroPlanes are perpendicular

Parallel Planes

Consider:

2x - 3y + z + 4 = 0
4x - 6y + 2z - 7 = 0

The normal vectors are:

n1 = (2, -3, 1)
n2 = (4, -6, 2)

Since:

n2 = 2n1

the normals are proportional. So the planes are parallel, and the angle between them is:

0 degrees

Perpendicular Planes

Consider:

x + y + z - 3 = 0
2x - y - z + 5 = 0

The normal vectors are:

n1 = (1, 1, 1)
n2 = (2, -1, -1)

Dot product:

n1 . n2 = (1)(2) + (1)(-1) + (1)(-1)
        = 2 - 1 - 1
        = 0

So the planes are perpendicular, and the angle between them is:

90 degrees

Angle Between a Line and a Plane

This is where many students use the wrong formula.

For a line and a plane, we still take the plane’s normal vector. But the normal vector is perpendicular to the plane, not along the plane.

So if you find the angle between the line direction and the plane normal using cosine, you have not found the angle between the line and the plane. You have found the complementary angle.

That is why the direct formula uses sine.

If:

d = direction vector of the line
n = normal vector of the plane

then the angle between the line and the plane is:

sin theta = |d . n| / (|d| |n|)

In expanded form:

sin theta = |aA + bB + cC|
            / sqrt(a^2 + b^2 + c^2) sqrt(A^2 + B^2 + C^2)

where:

d = (a, b, c)
n = (A, B, C)

Example: Angle Between a Line and a Plane

Find the angle between the line:

(x - 1)/2 = (y + 1)/(-1) = (z - 3)/2

and the plane:

x + 2y + 2z - 5 = 0

First take the direction vector of the line:

d = (2, -1, 2)

Now take the normal vector of the plane:

n = (1, 2, 2)

Find the dot product:

d . n = (2)(1) + (-1)(2) + (2)(2)
      = 2 - 2 + 4
      = 4

Find the magnitudes:

|d| = sqrt(2^2 + (-1)^2 + 2^2)
    = sqrt(4 + 1 + 4)
    = 3

|n| = sqrt(1^2 + 2^2 + 2^2)
    = sqrt(1 + 4 + 4)
    = 3

Use the sine formula:

sin theta = 4 / (3 x 3)
sin theta = 4/9

So:

theta = sin^-1(4/9)

That is the angle between the line and the plane.

Why Cosine Would Give the Wrong Angle Here

Using the same example, if you write:

cos phi = 4/9

then phi is the angle between the line and the normal vector of the plane.

But the normal vector stands at right angles to the plane. So the line-plane angle is not phi. It is:

90 degrees - phi

The sine formula handles this complement directly.

That is why:

cos formula = angle with the normal
sin formula = angle with the plane

Quick Checks for a Line and a Plane

Let:

d = direction vector of the line
n = normal vector of the plane
ConditionMeaningAngle between line and plane
d . n = 0line is parallel to the plane or lies in it0 degrees
d is proportional to nline is perpendicular to the plane90 degrees

When the Line Is Parallel to the Plane

If:

d . n = 0

then the line direction is perpendicular to the plane’s normal vector.

That means the line direction is along the plane, not cutting through it at an angle.

So:

sin theta = 0
theta = 0 degrees

If a point on the line also satisfies the plane equation, the line lies in the plane. If it does not, the line is parallel to the plane but outside it. In both cases, the angle is still 0 degrees.

When the Line Is Perpendicular to the Plane

If the direction vector of the line is proportional to the normal vector of the plane, then the line points in the same direction as the normal.

That means the line is perpendicular to the plane.

So the angle between the line and the plane is:

90 degrees

A Simple Decision Flow

Use this flow whenever the question feels crowded.

Step 1: Identify the objects.

Two planes?
Take normal vectors n1 and n2.
Use cos theta.

Line and plane?
Take line direction d and plane normal n.
Use sin theta.

Step 2: Check for special cases.

Proportional normals for two planes?
Angle is 0 degrees.

Zero dot product for two plane normals?
Angle is 90 degrees.

d . n = 0 for line and plane?
Angle is 0 degrees.

d proportional to n for line and plane?
Angle is 90 degrees.

Step 3: If no special case applies, substitute carefully.

This decision flow is more reliable than trying to remember every possible appearance of the question.

Common Mistakes to Avoid

The first common mistake is using the full plane equation as a vector.

For:

3x - 2y + z + 8 = 0

the normal vector is:

(3, -2, 1)

not:

(3, -2, 1, 8)

The second mistake is taking the point on a line instead of the direction vector.

For:

r = (2, 1, 4) + lambda(3, -1, 5)

the direction vector is:

(3, -1, 5)

not:

(2, 1, 4)

The third mistake is using cosine in a line-plane question without adjusting the answer.

Cosine gives the angle between the line and the normal. The question asks for the angle between the line and the plane. These are complementary.

The fourth mistake is forgetting the absolute value when the acute angle is expected.

If the dot product is negative, the angle calculation can still be handled neatly by taking the absolute value in the standard formula.

Practice Questions With Answers

Try these without looking at the answers first.

Question 1

Find the angle between:

2x + y - 2z + 1 = 0
x - 2y + 2z - 3 = 0

Answer:

n1 = (2, 1, -2)
n2 = (1, -2, 2)

n1 . n2 = 2 - 2 - 4 = -4
|n1| = 3
|n2| = 3

cos theta = 4/9
theta = cos^-1(4/9)

Question 2

Find the angle between the line:

(x + 2)/1 = (y - 1)/2 = (z + 3)/(-2)

and the plane:

2x - y + 2z + 6 = 0

Answer:

d = (1, 2, -2)
n = (2, -1, 2)

d . n = 2 - 2 - 4 = -4
|d| = 3
|n| = 3

sin theta = 4/9
theta = sin^-1(4/9)

Question 3

Find whether the following planes are perpendicular:

x + 2y - z + 4 = 0
2x - y + 0z - 5 = 0

Answer:

n1 = (1, 2, -1)
n2 = (2, -1, 0)

n1 . n2 = 2 - 2 + 0 = 0

Since the dot product is zero, the planes are perpendicular.

Frequently Asked Questions

What is the formula for the angle between two planes?

If the planes have normal vectors n1 and n2, then:

cos theta = |n1 . n2| / (|n1| |n2|)

Use the normal vectors because a plane’s tilt is represented by the direction perpendicular to it.

What is the formula for the angle between a line and a plane?

If the line has direction vector d and the plane has normal vector n, then:

sin theta = |d . n| / (|d| |n|)

Use sine because the plane normal gives the complementary angle.

Why do we use normal vectors for the angle between two planes?

Two planes may extend endlessly, but each plane has a normal vector that shows its orientation. The angle between the planes is the same as the acute angle between their normal vectors.

Why do we use sine for the angle between a line and a plane?

The dot product between the line direction and the plane normal gives the angle with the normal. The angle with the plane is its complement, so the direct line-plane formula uses sine.

How do I know if two planes are perpendicular?

Take their normal vectors. If the dot product of the two normal vectors is zero, the planes are perpendicular.

How do I know if a line is parallel to a plane?

Take the line direction vector d and the plane normal vector n. If d . n = 0, the line is parallel to the plane or lies in the plane. In both cases, the angle between the line and the plane is 0 degrees.

What should I check first in these questions?

First identify the objects. If the question has two planes, take two normal vectors and use cosine. If the question has a line and a plane, take the line direction and plane normal, then use sine.

Looking for commerce tuitions?

Prachi is a gold-medalist commerce teacher with experience at Deloitte and KPMG. She focuses on fundamentals to build a strong foundation.

Start classes