Skip to content
CalculatorZilo Logo
  • Home
  • CalculatorsExpand
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
CalculatorZilo Logo
Home / Math Calculators / Edge Length Calculator
Geometry Calculators

Edge Length Calculator

Published onSeptember 14, 2025 Updated onOctober 25, 2026 8:29 am

The edge of a cube, a square, or any regular polygon is the length of one of its sides, and it is the single number every other measurement follows from: volume, surface area, area, and perimeter all derive from it. This edge length calculator works backwards from whichever measurement you already have.

Choose the shape, tell the tool which value you know (volume, surface area, area, perimeter, diagonal, circumradius, or a diagonal variant), enter the number, and get the edge length to four decimal places with the exact formula it used. Six shapes and fifteen input paths are covered on this one page.

Edge Length Calculator
Six shapes, fifteen ways in: pick what you know.
Edge length
Edge length

Quick Answer

A cube with a volume of 512 has an edge length of 8.0000 units, because the edge is the cube root of the volume. The same tool works from what you have instead: a square with a diagonal of 14 has an edge of 9.8995 units, and a regular tetrahedron with a volume of 25.4558 has an edge of 6.0000 units.

Key takeaways

  • Edge length is the master measurement of a regular shape: once you have it, volume, area, surface area and diagonals all follow.
  • Fifteen paths lead to it on this page, including two most tools skip: a cube from its face diagonal and a square from its circumradius.
  • The formula used is printed with every result, so each answer can be checked by hand in one line.
  • Every shape here is regular, with all edges equal. An irregular box or a scalene triangle has no single edge length to find.
On this page
  • Quick Answer
  • How to use the edge length calculator
  • All fifteen formulas, with a checked example for each
  • Worked examples: three shapes, three different starting points
  • What other edge length calculators miss
  • Where edge length gets used
  • Units, precision and the regular-shape limit
  • Frequently Asked Questions
  • Add This Calculator to Your Website
  • References

How to use the edge length calculator

Three choices and one number. The results stay hidden until you click Calculate, so you can change the shape or the known value and re-run freely.

  1. Shape: pick the cube, square, equilateral triangle, regular hexagon, regular octagon or regular tetrahedron you are working with.
  2. I know the: pick which measurement you already have. The list rebuilds for each shape, so you only ever see paths that exist.
  3. Known value: type the measurement as a plain number. Keep units consistent: a volume in cubic centimeters returns an edge in centimeters.
  4. Calculate: the edge length appears to four decimal places with the exact rearranged formula that produced it. Copy or share the result with the buttons under it.

All fifteen formulas, with a checked example for each

Every path in the tool is one standard geometry relation with a, the edge length, made the subject. The cube relations come from V = a³, S = 6a² and the two diagonals a√2 (across a face) and a√3 (through the solid), the same properties set out in the MathWorld entry on the cube. The polygon relations come from each shape's area and perimeter formulas, and the tetrahedron path from V = a³ ÷ (6√2).

ShapeKnownFormulaExample
CubeVolumea = V^(1/3)512 → 8.0000
CubeSurface areaa = sqrt(S / 6)150 → 5.0000
CubeSpace diagonala = d / sqrt(3)17.3205 → 10.0000
CubeFace diagonala = f / sqrt(2)14.1421 → 10.0000
SquareAreaa = sqrt(A)100 → 10.0000
SquarePerimetera = P / 440 → 10.0000
SquareDiagonala = d / sqrt(2)14 → 9.8995
SquareCircumradiusa = sqrt(2) x rc7 → 9.8995
Equilateral triangleAreaa = sqrt(4A / sqrt(3))43.3013 → 10.0000
Equilateral trianglePerimetera = P / 330 → 10.0000
Regular hexagonAreaa = sqrt(2A / (3 x sqrt(3)))10.3923 → 2.0000
Regular hexagonPerimetera = P / 624 → 4.0000
Regular octagonAreaa = sqrt(A / (2 x (1 + sqrt(2))))100 → 4.5509
Regular octagonPerimetera = P / 840 → 5.0000
Regular tetrahedronVolumea = cbrt(12V / sqrt(2))25.4558 → 6.0000

Two of these paths deserve a note. The square's circumradius (the radius of the circle passing through all four corners) is half the diagonal, so the edge is the circumradius times sqrt(2). The tetrahedron constant looks arbitrary until you expand it: its volume is a³√2 ÷ 12, and cbrt(12V ÷ sqrt(2)) is that relation turned around, as the MathWorld entry on the regular tetrahedron confirms with V = a³ ÷ (6√2), the same thing written differently.

Worked examples: three shapes, three different starting points

Each example below was run through the tool's own code, not worked out separately, so the numbers you see are the numbers the calculator returns.

1. Pick the shape→ 2. Pick what you know→ 3. Enter the value→ 4. Read the edge and its formula

Cube from volume: a storage box holds 512 cubic units. The edge is the cube root of 512, which is 8.0000 units. This is the pre-filled example: select Cube and Volume, leave 512 in the box, and click Calculate. Cube roots of awkward volumes are the slow part by hand, which is why a cube root calculator is the natural companion tool for checking this path.

Square from diagonal: a square tile measures 14 units corner to corner. Its edge is 14 ÷ sqrt(2) = 9.8995 units. Diagonal problems like this one are Pythagoras in disguise: the diagonal is the hypotenuse of the right triangle formed by two edges, and tools built around diagonal distance solve the forward version of the same relation.

Tetrahedron from volume: a regular tetrahedron holds 25.4558 cubic units. Its edge is cbrt(12 x 25.4558 ÷ sqrt(2)) = cbrt(216) = 6.0000 units. Once you have that edge, the four triangular faces follow at once, because each face is an equilateral triangle of the same edge.

What other edge length calculators miss

The current top results are narrow. Checked against the leading tools for this keyword, the pattern is consistent.

  • Cube only: the most common edge length tools handle a cube from its volume, surface area and space diagonal, then stop. A square, hexagon or tetrahedron question sends you to a different site.
  • One formula per page: the big formula libraries split every rearrangement onto its own page, one for a square from its diagonal, another for a cupola from its surface-to-volume ratio, each wrapped in its own ads and layout.
  • No face diagonal, no circumradius: the two less obvious paths, a cube from the diagonal of one face and a square from the radius of its circumscribed circle, are missing from the single-shape tools entirely.
  • Answers without workings: most tools return a number and nothing else. Here the exact rearranged formula is printed under every result, so a student can copy the method, not just the answer.

This page covers all of their ground plus more: six shapes, fifteen input paths, one consistent interface.

Where edge length gets used

Working backwards to an edge is a design move: you know the capacity, coverage or span you need, and the edge is the dimension you can actually cut, order or draw.

  • Packaging: a carton that must hold a set volume starts as a cube root. From the edge, the cube surface area calculator gives the board area the carton will consume.
  • Fencing and framing: a fixed perimeter divided by 4, 6 or 8 gives the panel or rail length for a square, hexagonal or octagonal layout before anything is bought.
  • Crystal and unit-cell work: lattice volumes are cube volumes, so the volume path returns the cell edge that diffraction data is reported against.
  • Homework and checking: the printed formula under each result makes the tool usable as a marking aid: the method is visible, so a wrong answer can be traced to the step that slipped.

Units, precision and the regular-shape limit

The calculator is unit-agnostic, but your inputs cannot mix units. An area must be in square units of the same system as the edge you expect out: enter a surface area in square inches and the edge comes back in inches. The classic slip is entering a volume measured in cubic centimeters and reading the edge as meters.

Results are shown to four decimal places. The underlying arithmetic keeps full floating-point precision, and only the display is rounded, so chaining the rounded edge into a second calculation can cost you a little accuracy: for precision work, re-derive from the original measurement instead.

The honest limit is regularity. Every formula here assumes all edges are equal, which is true by definition for a cube, a square, an equilateral triangle, a regular hexagon, a regular octagon and a regular tetrahedron. A rectangular box has three different edges and needs its own volume relation for each; no single edge length exists to find.

Disclaimer: This is a geometry reference tool. The formulas are standard textbook relations, but dimensions for engineering, construction, or manufacturing should always be verified against authoritative references and professional drawings before cutting material or placing orders.

Frequently Asked Questions

For flat polygons the words mean the same thing. For solid shapes, an edge is the line segment where two faces meet, and a regular solid has all edges equal, which is what this calculator finds.

Divide the space diagonal by sqrt(3): a = d / sqrt(3). A space diagonal of 17.3205 units gives an edge of 10.0000 units. Use the Cube / Space diagonal mode.

Divide the face diagonal by sqrt(2): a = f / sqrt(2). A face diagonal of 14.1421 units gives an edge of 10.0000 units, and the calculator has a dedicated Cube / Face diagonal mode for it.

Yes: multiply the circumradius by sqrt(2), so a = sqrt(2) x rc. A circumradius of 7 units gives an edge of 9.8995 units. Use the Square / Circumradius mode.

Any consistent unit: centimeters, meters, inches, or plain abstract units. The result comes back in the same unit you entered, because the formulas only relate lengths, areas, and volumes to each other.

Four decimals are precise enough for design, homework, and workshop use while staying readable. The calculation itself uses full floating-point precision and only rounds for display.

Because only a regular shape has a single edge length. A cube, square, equilateral triangle, regular hexagon, regular octagon and regular tetrahedron have all edges equal, so one number describes every side. An irregular shape has different sides, and each one needs its own relation.

Add This Calculator to Your Website

Embed this calculator on your own site with the code below. Pick a size to preview it live, then copy the code.

Powered by Calculator Zilo

References

  1. Weisstein, Eric W. Cube, MathWorld, a Wolfram Resource. Accessed October 21, 2026.
  2. Weisstein, Eric W. Regular Tetrahedron, MathWorld, a Wolfram Resource. Accessed October 21, 2026.
  3. Weisstein, Eric W. Hexagon, MathWorld, a Wolfram Resource. Accessed October 21, 2026.
  4. Weisstein, Eric W. Octagon, MathWorld, a Wolfram Resource. Accessed October 21, 2026.
  5. Weisstein, Eric W. Square, MathWorld, a Wolfram Resource. Accessed October 21, 2026.
  6. Math Is Fun. Cube (Hexahedron). Accessed October 21, 2026.

Related calculators

Geometry Calculators45 45 90 Triangle Calculator A 45-45-90 triangle is the isosceles right triangle: two equal legs, a right angle, and a hypotenuse that is always the leg times √2.Geometry CalculatorsPerimeter Formula Calculator – Calculate Perimeter of Any Shape InstantlyGive this calculator a shape and its dimensions and it returns the perimeter with the formula written out and your numbers substituted, so you can follow every step.Geometry CalculatorsParallel Or Perpendicular CalculatorAre two lines parallel, perpendicular, or neither?Geometry Calculators30 60 90 Calculator: Solve Any Triangle FastA 30-60-90 triangle locks its sides into the ratio 1: √3: 2, so a single known value fixes the whole triangle.Geometry CalculatorsSin Calculator: Free Trigonometry Tool OnlineA sin calculator should do more than one ratio.Geometry CalculatorsGeometric Formula CalculatorSix shapes account for most geometry homework and most job-site measurement questions: rectangle, circle, triangle, square, sphere and cylinder.

We use cookies to analyze traffic and to serve ads that keep our calculators free. You can accept or decline cookies below. Learn more

CalculatorZilo

Free calculators for everyday life. No signup, no cost, just answers.

Categories

Finance Math Health & Fitness Education Science Real Estate Chemistry Browse all calculators

Popular tools

Mortgage Payment Calculator BMI Walking Calculator Salary Per Minute Calculator Percentage Off Calculator

Company

About Us Contact Us Privacy Policy Terms and Conditions
Disclaimer Cookie Policy DMCA Policy FAQ Accessibility Statement

© 2026 CalculatorZilo • Free calculators for everyone

  • Home
  • Calculators
    • Browse all calculators
    • Education
    • Real Estate
    • Chemistry
  • Finance
  • Math
  • Health & Fitness
  • Science
  • About
  • Contact
Search