Skew Lines: Definition, Distance & Examples

#Geometry
TL;DR
Skew lines are two straight lines in three-dimensional space that never intersect and are never parallel, because they lie in different planes. This article covers the definition, why skew lines exist only in 3D, how to spot them in a cube, the conditions that classify two lines, the distance formula, and six worked examples.
BT
Bhanzu TeamLast updated on June 7, 20269 min read

What Are Skew Lines?

Skew lines are two straight lines in three-dimensional space that satisfy three conditions at once: they do not intersect, they are not parallel, and they do not lie in the same plane. The third condition is the heart of it. Two lines are skew if and only if they are non-coplanar, meaning no single flat plane can contain both of them.

Compare that with the only two relationships lines can have when they do share a plane. Coplanar lines either cross at a point (intersecting) or run forever at a fixed gap (parallel). Skew lines are the case that lives outside both: they share no plane, so neither word applies.

Line relationship

Intersect?

Parallel?

Coplanar?

Intersecting

yes

no

yes

Parallel

no

yes

yes

Skew

no

no

no

Why Do Skew Lines Exist Only in 3D?

This is the question most readers come in with, and the answer is the cleanest idea in the topic. In two dimensions, on a flat plane, two distinct straight lines have exactly two possibilities: they cross at one point, or they never cross and stay parallel. There is no room for a third option. Any two lines that both lie in one plane must be coplanar, so they cannot be skew.

A third dimension changes everything. Once lines can move up and down as well as left, right, forward, and back, two non-parallel lines no longer have to meet. They can pass at different heights, like the overpass over the road, separated in that extra direction so they never quite touch. That freedom to "miss" is what makes skew lines possible, and it is why skew lines exist only in three or more dimensions, never on a flat page.

Skew Lines in a Cube

A cube is the easiest place to find skew lines, and "spot the skew pair" is a classic exam question. A cube has twelve edges, and any two edges fall into one of the three relationships. Take a cube with the usual square top and bottom faces.

  • Intersecting edges meet at a shared corner, like two edges of the same face.

  • Parallel edges run the same direction, like the four vertical edges.

  • Skew edges are the interesting ones: pick a top edge on the front face and a vertical edge on the back-right of the cube. They never meet (they are on different parts of the cube) and never run parallel (one is horizontal, one vertical), and no single flat plane contains both. That pair is skew.

In a tetrahedron the same thing happens with opposite edges: the two edges that do not share a corner are skew.

How Do You Find the Distance Between Two Skew Lines?

Two skew lines never touch, so there is a real, fixed gap between them: the shortest distance, measured along the one segment that meets both lines at a right angle. Picture the overpass again; the distance is the length of the shortest strut you could drop straight from the upper road to the lower one.

In vector form, take line 1 through point $\vec{a_1}$ with direction $\vec{b_1}$, and line 2 through $\vec{a_2}$ with direction $\vec{b_2}$. The shortest distance is:

$$d = \frac{\lvert (\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) \rvert}{\lvert \vec{b_1} \times \vec{b_2} \rvert}.$$

Each piece earns its place, so the formula is worth reading rather than memorising:

  • $\vec{b_1} \times \vec{b_2}$ is the cross product of the two directions. It points perpendicular to both lines, that is, along the shortest-distance strut.

  • $\vec{a_2} - \vec{a_1}$ is a vector joining one line to the other (any point on each will do).

  • Dotting that joining vector onto the perpendicular direction projects it onto the strut, giving the gap; dividing by $\lvert \vec{b_1} \times \vec{b_2} \rvert$ scales the perpendicular to unit length so the answer is a true distance.

A useful side note: if $\vec{b_1} \times \vec{b_2} = \vec{0}$, the directions are parallel, so the lines are not skew at all. The formula refuses to run, which is exactly right.

Examples of Skew Lines

With the definition, the 3D reasoning, and the distance formula in place, here is the concept doing real work. The problems move from spotting skew pairs up to a full distance computation.

Example 1 - In a cube, are two edges that meet at the same corner skew?

Edges sharing a corner intersect at that corner, so they fail the "never meet" condition. They are intersecting (and coplanar), not skew.

Final answer: not skew (intersecting).

Example 2 - Two lines in space never intersect. A student concludes they must be parallel

The intuitive read is "if two lines never meet, they run side by side forever," which is true on a flat page. Test it in 3D with the overpass: the upper road and lower road never meet, yet they clearly do not run parallel, one heads north, the other east. So "never meet" does not force "parallel" once you leave the plane.

Done correctly: in three dimensions, two non-intersecting lines are either parallel (same direction, coplanar) or skew (different directions, non-coplanar). You must also check direction before deciding.

Example 3 - Are the two rails of a straight railway track skew?

Both rails lie on the flat ground and run the same direction, so they are coplanar and parallel, not skew.

Final answer: not skew (parallel).

Example 4- A floor has a line painted across it, and a ceiling beam runs in a different direction directly above part of the floor. Are the painted line and the beam skew?

They sit on different levels (floor versus ceiling), run different directions, and no single flat plane holds both. They never meet and are not parallel.

Final answer: skew.

Example 5 - Decide whether the lines $\vec{r} = (1, 2, 3) + t(1, 0, 0)$ and $\vec{r} = (0, 0, 1) + s(0, 1, 0)$ are skew

Directions $(1, 0, 0)$ and $(0, 1, 0)$ are not scalar multiples of each other, so the lines are not parallel. Setting the two position expressions equal gives $1 + t = 0$, $2 = s$, and $3 = 1$. The last equation, $3 = 1$, is impossible, so the lines never intersect. Not parallel and not intersecting in 3D means skew.

Final answer: skew.

Example 6 - Find the shortest distance between line 1 through $(0, 0, 0)$ with direction $(1, 0, 0)$ and line 2 through $(0, 0, 1)$ with direction $(0, 1, 0)$

Cross product of directions: $(1, 0, 0) \times (0, 1, 0) = (0, 0, 1)$.

Joining vector: $\vec{a_2} - \vec{a_1} = (0, 0, 1)$.

$$d = \frac{\lvert (0, 0, 1) \cdot (0, 0, 1) \rvert}{\lvert (0, 0, 1) \rvert} = \frac{\lvert 1 \rvert}{1} = 1.$$

Final answer: the shortest distance is $1$ unit.

Where Skew Lines Show Up

Skew lines are everywhere the moment a structure leaves the flat plane, which is most of the built world.

  • Civil engineering. Overpasses, flyovers, and stacked highway interchanges are designed around skew relationships; the clearance between an upper and lower roadway is exactly the shortest distance between two skew lines.

  • Robotics and mechanics. Many gear systems use skew (non-parallel, non-intersecting) shafts to transmit motion between axes that point in different directions, like the hypoid gears in a car's rear axle.

  • Aerospace. The flight paths of two aircraft at different altitudes are skew; air-traffic systems compute the shortest distance between those paths to keep a safe vertical separation.

  • Architecture and 3D modelling. Beams, cables, and structural members in a building frame routinely run skew to one another, and modelling software tracks whether two members clash by checking their shortest distance.

The vector framework that lets us pin down skew lines and measure the gap between them grew out of RenΓ© Descartes' 1637 coordinate geometry, extended into the third dimension, the same machinery behind every 3D model you have ever seen rendered.

Where Students Trip Up on Skew Lines

Mistake 1: Assuming non-intersecting lines must be parallel

Where it slips in: A student sees two lines that never meet and labels them parallel without checking direction.

Don't do this: Treat "they never cross" as proof of "parallel."

The correct way: In 3D, non-intersecting lines are parallel only if they share a direction; if their directions differ, they are skew. Check both conditions.

Mistake 2: Looking for skew lines in 2D

Where it slips in: A student tries to find a skew pair in a flat figure like a square or a coordinate plane.

Don't do this: Search for skew lines on a flat page.

The correct way: Skew lines exist only in three or more dimensions. Any two lines in one plane are coplanar, so they must be intersecting or parallel, never skew.

Mistake 3: Confusing skew lines with perpendicular lines

Where it slips in: Two lines run in directions that look at right angles, so a student calls them perpendicular even though they are on different levels.

Don't do this: Assume right-angled directions mean the lines are perpendicular (intersecting).

The correct way: Perpendicular lines must actually meet at the right angle. Skew lines can have perpendicular directions yet never touch, so they are not perpendicular in the geometric sense; sometimes called "skew perpendicular."

Bottom Line

  • Skew lines are two lines in 3D that never intersect, are never parallel, and lie in different planes (non-coplanar).

  • They exist only in three or more dimensions; in a flat plane every pair of lines is intersecting or parallel.

  • A cube is the easiest place to find them: a top edge and a non-adjacent vertical edge form a skew pair.

  • The shortest distance between skew lines is measured along their common perpendicular, using the cross product of their directions.

  • Skew lines power overpasses, hypoid gears, and air-traffic separation.

Practice These Problems to Solidify Your Understanding

  1. In a cube $ABCDEFGH$, name one edge that is skew to edge $AB$.

  2. Are the lines $\vec{r} = (0,0,0) + t(1,1,0)$ and $\vec{r} = (0,0,2) + s(1,1,0)$ skew, parallel, or intersecting?

  3. Find the shortest distance between line 1 through $(0,0,0)$ direction $(1,0,0)$ and line 2 through $(0,0,5)$ direction $(0,1,0)$.

Answer to Question 1: any vertical edge not sharing a corner with $AB$ works, for example the back-right vertical edge. Answer to Question 2: parallel, since both directions are $(1,1,0)$ and the lines sit at different heights without meeting. Answer to Question 3: $5$ units, since the cross product is $(0,0,1)$ and the joining vector is $(0,0,5)$. If Question 2 gave "skew," recheck whether the directions are scalar multiples.

Want a live Bhanzu trainer to walk your child through skew lines and 3D coordinate geometry? Book a free demo class β€” online globally.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are skew lines with examples?
Two lines in 3D that never intersect and are never parallel, because they lie in different planes. An overpass crossing a road below it, or a top-front edge and a back-vertical edge of a cube, are classic examples.
Are parallel lines skew lines?
No. Parallel lines lie in the same plane and run the same direction, so they are coplanar. Skew lines are non-coplanar by definition, which rules out being parallel.
Are skew lines non-coplanar?
Yes, always. Being non-coplanar (sharing no single plane) is the defining property of skew lines; it is what separates them from intersecting and parallel lines, which are both coplanar.
Are skew lines equidistant everywhere?
No. Unlike parallel lines, which stay the same distance apart, skew lines have just one shortest distance, measured along the common perpendicular; the gap is larger everywhere else along the lines.
How are parallel lines and skew lines similar?
Both are pairs of lines that never intersect. The difference is direction and plane: parallel lines share a direction and a plane, while skew lines share neither.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now β†’