Slant Height Calculator - Cones and Square Pyramids

Calculate slant height, vertical height, or base dimensions for cones and square pyramids using the Pythagorean theorem — select your shape, choose the unknown, and enter the known values.

Select the shape and the value you want to find, then enter the known measurements to get the result.

Slant Height Calculator - Cones and Square Pyramids
Calculate slant height, vertical height, or base dimensions for cones and square pyramids using the Pythagorean theorem — select your shape, choose the unknown, and enter the known values.

About the Slant Height Calculator

The slant height of a cone or pyramid is the distance measured along the lateral surface from the apex (top point) to the midpoint of a base edge. It is distinct from the vertical height, which is the perpendicular distance from the apex straight down to the centre of the base. For any right cone or right pyramid, these three measurements — slant height, vertical height, and the half-base dimension — form a right triangle, making the Pythagorean theorem the key tool for calculating any one of them from the other two. For a right circular cone with radius r and vertical height h, the slant height s satisfies s² = r² + h². The right triangle is formed with h as the vertical leg, r as the horizontal leg (running from the centre of the base to the edge), and s as the hypotenuse running along the side of the cone. Rearranging, you can find the height as h = √(s² − r²) and the radius as r = √(s² − h²) when the other two measurements are known. For a right square pyramid with base edge a and vertical height h, the slant height s satisfies s² = h² + (a/2)². Here, the horizontal leg of the right triangle is the apothem of the base — for a square, this is simply half the base edge length (a/2), the distance from the centre of the base to the midpoint of one edge. This is a subtle but important distinction: the apothem, not the full base edge or the diagonal to a corner, is the correct measurement. Using the full base edge a instead of a/2 is a very common error that inflates the calculated slant height. Slant height matters in practice because it is used to compute the lateral surface area of cones and pyramids — the area of the slanted sides, not including the base. For a cone, the lateral surface area is πrs. For a square pyramid, it is 2as (since there are 4 triangular faces each with base a and height s, giving total lateral area = 4 × (1/2)as = 2as). Architects, roofers, and engineers use these formulas when ordering materials for conical or pyramidal structures. Slant height also appears in the design of conical funnels, nozzles, and hoppers in manufacturing. Knowing the slant height allows engineers to calculate the exact length of material needed along the sloping surface. In education, slant height problems are a standard application of the Pythagorean theorem and arise frequently in geometry courses at secondary school and university level. A common point of confusion is that the slant height is always longer than the vertical height (except in the degenerate case where the radius or apothem is zero, which would make the shape a flat line). This makes sense geometrically: the slant path from the apex to the base edge is the hypotenuse of the right triangle, and the hypotenuse is always the longest side. If you calculate a slant height that is shorter than the vertical height, something has gone wrong — either the inputs are inconsistent or a formula was applied incorrectly. This calculator handles four unknowns — slant height, vertical height, radius (for cones), and base edge (for pyramids) — and accepts any two of the remaining three as inputs. It validates that the inputs produce a physically meaningful result (for example, the slant height must not be shorter than the vertical height) before displaying the answer.

Slant Height Examples

Worked examples for cones and square pyramids covering all common calculation types.

Known ValuesResultFormula Used
Cone — radius r = 3, height h = 4Slant height s = 5s = √(r² + h²) = √(9 + 16) = √25 = 5. A classic 3-4-5 right triangle.
Cone — radius r = 5, slant height s = 13Height h = 12h = √(s² − r²) = √(169 − 25) = √144 = 12. A 5-12-13 Pythagorean triple.
Square Pyramid — base edge a = 6, height h = 4Slant height s = 5s = √(h² + (a/2)²) = √(16 + 9) = √25 = 5. Half the base edge = 3.
Square Pyramid — height h = 12, slant height s = 15Base edge a = 18a = 2·√(s² − h²) = 2·√(225 − 144) = 2·√81 = 2·9 = 18.

How to Use the Slant Height Calculator

  1. Select the geometric shape from the first dropdown: Cone or Square Pyramid.
  2. Choose the variable you want to calculate from the second dropdown: Slant Height, Height, Radius (cone only), or Base Edge (pyramid only).
  3. Enter the two known measurements in the input fields that appear. All values must be non-negative.
  4. Click Calculate. The result appears instantly with the formula used for verification.
  5. Click Reset to clear all fields and start a new calculation, or use the example buttons to load pre-filled scenarios.

Slant Height Calculator FAQ

What is the difference between slant height and vertical height?
Vertical height (h) is the perpendicular distance from the apex of the cone or pyramid straight down to the centre of the base. Slant height (s) is the distance measured along the sloped surface from the apex to the midpoint of a base edge. Because slant height is the hypotenuse of the right triangle formed by h and the half-base dimension, it is always greater than or equal to the vertical height.
Why do I use half the base edge for a square pyramid?
The relevant horizontal distance in the right triangle is the apothem of the base — the distance from the centre of the base to the midpoint of one edge. For a square with edge length a, this distance is a/2. Using the full edge length a or the diagonal a√2 would give an incorrect result. The apothem is the distance from the pyramid's axis to the foot of the slant height on the base.
How do I find the lateral surface area using slant height?
For a cone, lateral surface area = π × r × s, where r is the radius and s is the slant height. For a square pyramid, lateral surface area = 2 × a × s, where a is the base edge and s is the slant height (each of the four triangular faces has area (1/2) × a × s, and there are four of them). These formulas rely on s, not the vertical height h, so computing s first is an essential step.
Can slant height be shorter than vertical height?
No. Because slant height is the hypotenuse of the right triangle, it is always greater than or equal to both the vertical height and the half-base dimension. If you get a negative value under the square root when computing slant height (or height from slant height and radius), the given values are geometrically inconsistent — the slant height is too short relative to the other dimension.
What are the units for slant height?
Slant height has the same units as all other length inputs (centimetres, metres, inches, feet, etc.). The calculator does not enforce a specific unit, so just be consistent: enter all inputs in the same unit and the result will be in that same unit. Never mix metres and centimetres in the same calculation.
How is slant height used in architecture and construction?
Architects and builders use slant height to calculate the length of rafters or roofing material on conical or pyramidal roofs, the amount of cladding needed on a spire, and the dimensions of decorative tapering columns. Slant height directly determines lateral surface area, which drives material quantities, cost estimates, and structural load calculations for sloped surfaces.