Slant Height Calculator
Solve a right cone or right pyramid triangle from any two compatible lengths.
Inputs
Choose whether the base measure is a radius or a half-width.
The selected quantity is calculated from the other two.
Changing units converts all current lengths, not just the labels.
Perpendicular distance from the base plane to the apex.
Radius from the cone axis to its circular edge.
Shortest straight distance from the apex to the relevant base boundary.
Live results
Slant height (l)
13 cm
This is the hypotenuse of the right-triangle cross-section.
Height (h)
12 cm
Base radius (r)
5 cm
Base diameter
10 cm
Rise angle
67.38°
Calculation details
| Quantity | Symbol | Current value | Role in the triangle |
|---|---|---|---|
| Height | h | 12 cm | Perpendicular leg |
| Base radius | r | 5 cm | Horizontal leg |
| Slant height | l | 13 cm | Hypotenuse |
| Base diameter | 2r | 10 cm | Full base span |
| Rise angle | θ | 67.38° | Angle above the base |
The calculation assumes a right cone: the height is perpendicular to the base, and the radius reaches the boundary point used for the slant line.
How to use the slant height calculator
What this calculator does
This calculator solves the right-triangle cross-section inside a right circular cone or a right square pyramid. It calculates one missing length from the other two: the vertical Height (h), the horizontal Base radius / half-width, or the diagonal Slant height (l). It also reports the full base span and the rise angle. The result is an exact geometric identity for ideal right shapes; it does not compensate for material thickness, a tilted apex, an irregular base, measurement error, or construction tolerances.
When to use it
Use it when checking a cone pattern, estimating the face height of a right pyramid, verifying dimensions in a geometry exercise, or converting a measured diagonal into a vertical or horizontal component. Slant height is also a common prerequisite for lateral surface-area calculations, but this calculator deliberately stops at the triangle dimensions rather than estimating area or volume.
How to calculate
- The calculator opens with a complete 5-12-13 demonstration: a cone with a 12 cm height, 5 cm radius, and 13 cm slant height. Its example workbook is immediately available through Download Excel.
- Choose Shape type. Select a right circular cone when the horizontal leg is a radius, or a right square pyramid when it is the distance from the center of the base to the midpoint of a side.
- Choose Solve for. The selected field becomes read-only, while the other two become required inputs.
- Select a Length unit, then replace the two editable values. The calculator accepts positive decimal numbers in U.S. notation, such as
12,12.5, or1,250.5. Decimal-comma notation such as1,5is rejected as ambiguous. - Read the primary result, the supporting values, the formula strip, and the Calculation details table. Use Download Excel to export the current validated model.
- Reset clears all three length fields instead of restoring the demonstration. Excel export is then disabled until a complete valid pair of inputs is entered again.
Input guide
Shape type is required and accepts one of two options. A realistic choice is “Right circular cone.” It changes the meaning and labels of the horizontal leg but not the Pythagorean relationship. A common mistake is treating a pyramid's full base width as b; this calculator uses the center-to-side half-width, so the full width is 2b.
Solve for is required and identifies the unknown. Choose “Slant height (l)” when height and radius or half-width are known; choose “Height (h)” when the diagonal and base measure are known; choose “Base radius / half-width” when the diagonal and height are known. When solving for a leg, the slant height must be greater than the known leg.
Length unit is required and applies to every length. Options are millimeters, centimeters, meters, inches, and feet. Changing it converts the existing values through meters, following standard length relationships; the NIST overview of SI length units provides authoritative metric context. A frequent mistake is switching units and then re-entering an already converted number, effectively converting twice.
Height (h) is a positive length perpendicular to the base. The startup value is 12 cm. Increasing height while holding the base measure constant increases slant height and steepens the rise angle. Zero, negative, scientific notation, unit text, and malformed grouping are rejected.
Base radius (r) for a cone, or Base half-width (b) for a pyramid, is a positive horizontal length from the center to the relevant boundary. The startup value is 5 cm. Increasing it while holding height constant increases slant height but lowers the rise angle. Do not enter diameter or full base width; those are reported separately.
Slant height (l) is the hypotenuse. The startup value is 13 cm. It must be longer than either leg when used as an input. If it is equal to or shorter than the known leg, no non-degenerate right triangle exists.
Output guide
Slant height (l), Height (h), and Base radius / half-width display the complete solved triangle in the selected unit. The primary card highlights whichever quantity is selected under Solve for. Base diameter or Full base width is exactly twice the horizontal half-measure. Rise angle is the angle between the base and slant line, measured in degrees from 0° to 90°. A small angle indicates a broad, shallow shape; a large angle indicates a narrow, steep shape.
The summary pills repeat the active shape, unit, target, and primary result. The Calculation details table identifies each quantity's symbol, value, and geometric role. These outputs are estimates only to the displayed decimal precision, while the internal model and Excel workbook retain more numeric precision.
Worked example
For the startup cone, height is 12 cm and radius is 5 cm. The calculator applies the Pythagorean theorem:
l = √(h² + r²) = √(12² + 5²) = √169 = 13 cmThe base diameter is 2 × 5 = 10 cm. The rise angle is arctan(12 ÷ 5) = 67.38°. Every startup display and workbook checkpoint uses these same values.
Learn more
The formula works because the height and base measure are perpendicular legs of a right triangle. For additional cone definitions and geometric relationships, see the Wolfram MathWorld cone reference. For a square pyramid, remember that slant height runs to the midpoint of a base side, not to a corner; the corner-to-apex lateral edge is longer.
Formula and interpretation
When slant height is unknown, use l = √(h² + b²), where b means radius for a cone or half-width for a right square pyramid. Rearranging gives h = √(l² – b²) and b = √(l² – h²). Subtraction formulas require a positive radicand, which is why the hypotenuse must exceed the known leg.
All three lengths must use one coherent unit before calculation. This interface handles the conversion automatically when you change Length unit. The angle is calculated from θ = arctan(h ÷ b). It is a derived interpretation, not an additional independent input.
Common mistakes
- Entering a cone diameter where the formula requires radius.
- Entering a pyramid's full base width instead of the center-to-side half-width.
- Using the lateral edge to a pyramid corner as though it were the face slant height.
- Combining measurements expressed in different units before converting them.
- Trying to solve a leg when the proposed slant height is not longer than the known leg.