Geometry
Face diagonals of the prism
A face diagonal uses only the two edges that bound that face. The base diagonal ignores height; the side diagonal described here ignores length. Always check which pair of edges the face in question actually uses.
Last updated
The Formula
d_base = sqrt(l^2 + w^2), d_side = sqrt(w^2 + h^2)
A face diagonal uses only the two edges that bound that face. The base diagonal ignores height; the side diagonal described here ignores length. Always check which pair of edges the face in question actually uses.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| l | Length | length | Appears in the base diagonal together with the width. |
| w | Width | length | Shared by the base diagonal and the side diagonal. |
| h | Height | length | Appears in the side diagonal together with the width. |
What Each Symbol Means
llength
Length
Appears in the base diagonal together with the width.
wlength
Width
Shared by the base diagonal and the side diagonal.
hlength
Height
Appears in the side diagonal together with the width.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the diagonal of a rectangular prism page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Diagonal Of A Rectangular Prism, filed under Math. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Face diagonals of the prism?
The formula for Face diagonals of the prism is d_base = sqrt(l^2 + w^2), d_side = sqrt(w^2 + h^2). A face diagonal uses only the two edges that bound that face. The base diagonal ignores height; the side diagonal described here ignores length. Always check which pair of edges the face in question actually uses.
What units should I use with Face diagonals of the prism?
Substitute l in length, w in length, h in length. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Face diagonals of the prism?
Forgetting the final square root. The sum of squares, 169 in the worked case, is not the diagonal; it is the square of the diagonal. Stopping there reports a value far larger than any edge and is easy to catch with a sanity check against the prism's dimensions.