What this calculator does
This tool finds the height of a regular hexagonal prism when you know the side length of its regular-hexagon base and the prism's total volume. A regular hexagonal prism is a solid whose two parallel bases are regular hexagons (all six sides equal, all interior angles 120 degrees) joined by rectangular faces of uniform height perpendicular to the base.
How to use it
Enter the side length a of the hexagon and the volume V. All values use generic, consistent units: if a is in centimetres then V must be in cubic centimetres, and the returned height will be in centimetres. The side length must be greater than zero, and the volume should be positive for a physically meaningful prism.
The formula explained
The area of a regular hexagon with side a is \(A = \dfrac{3\sqrt{3}}{2} \times a^{2}\). The volume of any prism is its base area times its height, so \(V = A \times h\). Rearranging gives the height directly:
$$h = \frac{V}{A} = \frac{2V}{3\sqrt{3} \times a^{2}}$$
Worked example
Take a = 1 and V = 6√3 ≈ 10.392304845. The base area is $$A = \frac{3\sqrt{3}}{2} \times 1^{2} \approx 2.598076211.$$ Dividing, $$h = \frac{10.392304845}{2.598076211} = 4.$$ As a second case, a = 2 and V = 100 gives \(A = 6\sqrt{3} \approx 10.392304845\) and h ≈ 9.6225044865.
Height for Different Side Lengths and Volumes
For a regular hexagonal prism with hexagon side length \(a\) and volume \(V\), the height is \(h = \dfrac{V}{\frac{3\sqrt{3}}{2}\,a^{2}}\). The table shows the base area and resulting height for several inputs (all lengths in the same unit, volume in the matching cubic unit).
| Side a | Volume V | Base area (3√3/2 · a²) | Height h |
|---|---|---|---|
| 1 | 10 | 2.5981 | 3.849 |
| 2 | 10 | 10.3923 | 0.962 |
| 2 | 100 | 10.3923 | 9.623 |
| 5 | 1000 | 64.9519 | 15.396 |
Two scaling rules follow from the formula. Because \(h\) depends on \(a^{2}\), doubling \(a\) at fixed \(V\) divides the height by 4 (compare rows 1 and 2: 3.849 → 0.962). Because \(h\) is proportional to \(V\), doubling \(V\) at fixed \(a\) doubles the height (a=2: V=10 gives 0.962, V=100 gives 9.623, a tenfold increase for a tenfold volume).
Constants Used: Hexagon Area Coefficient
The area of a regular hexagon with side \(a\) is \(\frac{3\sqrt{3}}{2}a^{2}\), which comes from six equilateral triangles of side \(a\). The calculator relies on these constants:
| Constant | Approximate value | Role |
|---|---|---|
| \(\sqrt{3}\) | 1.7320508 | Appears in the height of an equilateral triangle |
| \(\frac{3\sqrt{3}}{2}\) | 2.5980762 | Base area coefficient: base area = 2.5980762 · a² |
| \(\frac{2}{3\sqrt{3}}\) | 0.3849002 | Reciprocal coefficient: \(h \approx 0.3849002 \cdot V / a^{2}\) |
All three constants are dimensionless pure numbers. The units come from the inputs: the base area is in squared length units (for example cm² when \(a\) is in cm), the volume is in cubed length units, and the height is in the same length unit as \(a\).
FAQ
What units does the result use? The same length unit as your side input. There is no built-in conversion, so make sure the volume is expressed in that unit cubed.
Why must the side be greater than zero? A side of zero makes the base area zero, and dividing the volume by zero is undefined.
Does this work for an irregular hexagon? No. The base-area formula assumes a regular hexagon with all sides equal and all angles 120 degrees.