Skip to main content
Skip to calculator
Advertisement

Last updated: July 31, 2026

Height of a Cone Calculator

Helpful
Not helpful
Save as image
Share
Embed
Cite
Write feedback

Formula

h = √(l² − r²), valid when l ≥ r > 0.

Where:

  • radius=Radius r
  • slantHeight=Slant Height l
Height of a ConeA cone shown with its base radius, slant height along the surface, and vertical height from the apex to the center of the base, forming a right triangle.hl (slant)rFormulah = √(l² - r²)
The height, radius, and slant height of a cone form a right triangle, related by the Pythagorean theorem.

Worked Examples

Classic 3-4-5 geometry

Use r=3 and l=5.

  1. 1Apply h = √(l²−r²)
  2. 2Compute √(25−9)
  3. 3Take square root
Final Answer: height = 4

Larger cone

Use r=6 and l=10.

  1. 1Square inputs
  2. 2Subtract r² from l²
  3. 3Take square root
Final Answer: height = 8

Near-flat cone

Use r=7 and l=7.5.

  1. 1Ensure l is greater than r
  2. 2Compute l²−r²
  3. 3Extract positive root
Final Answer: height ≈ 2.692582

Introduction

For a right circular cone, radius and slant height determine the vertical height through a right-triangle relationship.

Formula Overview

Height of a Cone Calculator uses a deterministic math model based on the calculator logic in calculation.ts.

  • h = √(l² − r²), valid when l ≥ r > 0.

  • Inputs are validated before computation

  • Outputs are rounded consistently for readable results

  • Invalid values return safe fallback outputs

Input Guide

Use each input key exactly as defined below to match calculator wiring and test coverage.

  1. 1

    radius: Radius r

  2. 2

    slantHeight: Slant Height l

Output Guide

These output IDs map directly to the return object keys in calculation.ts.

  1. 1

    height: Vertical height from apex to base center

Validation Rules

The calculator checks for finite numeric values and applies domain constraints before solving.

  • Required fields must be present

  • Domain limits are enforced (for example positive lengths or valid operators)

  • Invalid or non-finite entries resolve to safe defaults

  • Use examples to verify expected behavior quickly

How to Use

Enter inputs, run calculation, and interpret the primary output first before reviewing supporting values.

  • Provide all required inputs

  • Click calculate

  • Read primary output first

  • Use secondary outputs for deeper analysis

Practical Uses

This calculator supports classroom work, engineering checks, and fast verification tasks.

  • Homework and exam preparation

  • Design and geometry validation

  • Spreadsheet cross-checking

  • Quick scenario analysis

FAQs

What does the Height of a Cone Calculator compute?

It computes Cone Height h from validated input values.

Which inputs are required?

Required inputs are: Radius r, Slant Height l.

How are invalid values handled?

If inputs are invalid or out of domain, the calculator returns safe default outputs instead of invalid math.

Are results rounded?

Yes. Numeric values are rounded in calculation.ts (typically to six decimal places).

Can I use negative or decimal values?

Decimals are accepted where mathematically valid; sign/domain constraints are enforced by the calculator logic.

How can I verify results?

Use the worked examples and compare each output key with manual calculations or trusted references.