terican

Last verified · v1.0

Calculator · math

Pyramid Angle Calculator

Calculate the face angle, edge angle, and apex angle of any square pyramid by entering the base side length and vertical height. Results displayed in degrees.

FreeInstantNo signupOpen source

Inputs

Pyramid Angle

Explain my result

0/3 free

Get a plain-English breakdown of your result with practical next steps.

Pyramid Angle°

The formula

How the
result is
computed.

How the Pyramid Angle Calculator Works

A square pyramid has three geometrically distinct angles that engineers, architects, and mathematicians regularly need to compute: the face angle (the angle a triangular face makes with the base), the edge angle (the angle a lateral edge makes with the base), and the apex angle (the full opening angle at the tip of the pyramid). Each angle depends solely on two inputs: the base side length a and the vertical height h.

Variables

  • Base Side Length (a): The length of one side of the square base, measured in any consistent unit (meters, feet, inches).
  • Vertical Height (h): The perpendicular distance from the center of the base to the apex, measured in the same unit as a.

The Three Pyramid Angle Formulas

All three formulas derive from right-triangle trigonometry applied to specific cross-sections of the pyramid, as codified in standards used across engineering and education.

Face Angle (θface)

The face angle is the angle between a triangular face and the horizontal base. A vertical cross-section through the midpoint of any base edge to the apex creates a right triangle whose legs are the vertical height h and half the base side a/2. Applying the arctangent function yields:

θface = arctan(2h / a)

For a pyramid with a base side of 100 m and a height of 65 m, this gives arctan(130/100) = arctan(1.30) ≈ 52.4°.

Edge Angle (θedge)

The edge angle describes how steeply a lateral edge (running from a base corner to the apex) rises from the horizontal. The horizontal distance from the center of the square base to any corner equals a√2/2. Dividing the vertical height h by this distance yields:

θedge = arctan(h√2 / a)

Using the same 100 m base and 65 m height: arctan(65 × 1.4142 / 100) = arctan(0.919) ≈ 42.6°. The edge angle is always smaller than the face angle because the lateral edge extends from a corner, placing it farther from the vertical axis than the face midpoint.

Apex Angle (θapex)

The apex angle measures the full opening angle at the tip of the pyramid, spanning across two opposite triangular faces. It equals twice the arctangent of half the base side divided by the slant height of a triangular face:

θapex = 2 × arctan(a / (2 × √(h² + (a/2)²)))

For the same pyramid, the slant height = √(65² + 50²) = √6725 ≈ 82.0 m, so the apex angle = 2 × arctan(100 / (2 × 82.0)) = 2 × arctan(0.610) ≈ 62.8°.

Methodology and Sources

The formulas are grounded in classical Euclidean geometry and right-triangle trigonometry. Field Formulas (M 22-24) published by the U.S. Department of Transportation formally codify pyramid and cone geometry for surveying, highway embankment design, and earthwork volume calculations. The trigonometric derivation follows first-principles triangle relationships documented in Area and Volume: Where Do the Formulas Come From?, which traces how solid-geometry formulas emerge from fundamental geometric relationships. Additional pedagogical context appears in Phillips Exeter Academy Mathematics 3-4, which applies these trigonometric ratios to three-dimensional figures.

Real-World Applications

  • Architecture and roofing: Builders use the face angle to determine rafter pitch and panel cut angles for pyramid-shaped roofs, spires, and canopies.
  • Civil engineering and surveying: Surveyors apply pyramid angle formulas when computing embankment slopes, stock-pile volumes, and cut-and-fill earthwork on highway projects.
  • 3D modeling and game design: Accurate pyramid angles ensure correct UV mapping and shading normals for polygon meshes in visualization and game engines.
  • Crystal and molecular chemistry: Chemists compute apex angles for square-pyramidal molecular geometries such as sulfur tetrafluoride and bromine pentafluoride.
  • Education: Geometry curricula at every level use pyramid angle problems to teach spatial reasoning and applied trigonometry.

Worked Example

Given a pyramid with base side a = 6 ft and height h = 4 ft:

  • Face angle: arctan(2 × 4 / 6) = arctan(1.333) ≈ 53.13°
  • Edge angle: arctan(4√2 / 6) = arctan(0.9428) ≈ 43.31°
  • Apex angle: slant = √(4² + 3²) = 5 ft; 2 × arctan(6 / (2 × 5)) = 2 × arctan(0.60) ≈ 61.93°

Reference

Frequently asked questions

What is a pyramid angle calculator and when should it be used?
A pyramid angle calculator computes the three key angles of a square pyramid—face angle, edge angle, and apex angle—from just two inputs: base side length and vertical height. It is most useful for architects designing pyramid roofs, civil engineers calculating embankment slopes, geometry students solving solid-figure problems, and 3D modelers building accurate polygon meshes that require precise angular dimensions.
What is the difference between the face angle and the edge angle of a pyramid?
The face angle (arctan(2h/a)) measures the inclination of a triangular face relative to the base, rising from the midpoint of a base edge. The edge angle (arctan(h√2/a)) measures the inclination of a lateral edge rising from a base corner. Because a corner is farther from the center of the base than a face midpoint, the lateral edge is geometrically longer, making the edge angle always smaller than the face angle for any given pyramid with the same base side and height.
How accurate are the pyramid angle formulas, and do they apply to non-square bases?
The formulas are mathematically exact for any square pyramid with a flat, horizontal base and produce results accurate to as many decimal places as the input values allow—there is no rounding built into the derivation. For rectangular, triangular, or other non-square pyramid bases, separate formulas are required because the face angles differ across each pair of opposing faces. The current calculator strictly applies to pyramids whose base is a perfect square.
What units should be used when entering values into a pyramid angle calculator?
Any consistent length unit works—meters, feet, inches, or centimeters. The only requirement is that the base side length (a) and vertical height (h) share the same unit. The output angles in degrees are dimensionless and produce identical results regardless of unit choice. For example, a base of 3 m with height 4 m and a base of 3 ft with height 4 ft both yield a face angle of arctan(8/3) ≈ 69.44°.
What is the face angle of the Great Pyramid of Giza?
The Great Pyramid of Giza originally had a base side of approximately 230.4 m and a height of about 146.5 m. Applying the face angle formula gives arctan(2 × 146.5 / 230.4) = arctan(1.272) ≈ 51.84°, a figure consistent with the historically documented slope of approximately 51°50'. This close agreement between the formula result and the archaeologically measured angle validates the formula's accuracy when applied to real monumental architecture.
Can a pyramid angle calculator help with roof design and carpentry?
Yes. Builders and carpenters use the face angle to determine rafter pitch and the exact cutting angle for each rafter on a pyramid-shaped roof. By entering the roof peak height as h and the full base width as a, the face angle formula arctan(2h/a) delivers the pitch angle in degrees directly. This eliminates manual trigonometry on the job site and reduces costly material-cutting errors, particularly for hip roofs, gazebo tops, and architectural spires.