Square Prism Calculator

Square Prism Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

V=a2hS=2a2+4ahD=2a2+h2V = a^2 h \qquad S = 2a^2 + 4ah \qquad D = \sqrt{2a^2 + h^2}
Usage stats

Advertisement

Results

Volume
160
cubic units
Base edge a4 units
Height h10 units
Base area16 square units
Lateral surface area160 square units
Surface area192 square units
Base diagonal5.656854 units
Side face diagonal10.77033 units
Space diagonal11.489125 units
Circumradius (circumscribed sphere)5.744563 units
Total edge length72 units

Report an error on this page

What a square prism is

A square prism, also called a square pillar or square cuboid, is the right prism whose two bases are congruent squares of edge \(a\), one directly above the other at a distance \(h\), joined by four congruent rectangles of size \(a \times h\). It is a cuboid with a square base; when \(h = a\) it is a cube. The calculator finds \(a\) and \(h\) from any sufficient pair you know and then gives every standard measurement.

How to use it

  1. Choose the pair you know in What do you know?: base edge and height, base edge and volume, height and volume, base edge and surface area, or base edge and space diagonal.
  2. Enter the two values; decimal commas and E-notation are accepted.
  3. Pick a length unit if you want labelled results. It is a label only; nothing is converted.

Values of zero or below are refused, as are a surface area of at most \(2a^2\) and a space diagonal of at most \(a\sqrt{2}\), because no square prism has them. The page rounds results to at most 6 decimal places and writes very large and very small values out in full.

Derivation of the formulas

$$V = a^2 h \qquad S_L = 4ah \qquad S = 2a^2 + 4ah \qquad L = 8a + 4h$$

By the Pythagorean theorem the base diagonal is \(a\sqrt{2}\), a side face diagonal is \(\sqrt{a^2 + h^2}\), and the space diagonal, which is also the diameter of the circumscribed sphere, is

$$D = \sqrt{2a^2 + h^2} \qquad R = \frac{D}{2}$$

The other modes solve these for the missing length: \(h = V/a^2\), \(a = \sqrt{V/h}\), \(h = (S - 2a^2)/(4a)\) and \(h = \sqrt{D^2 - 2a^2}\).

Worked example

For \(a = 4\) and \(h = 10\): \(V = 16 \cdot 10 = 160\), \(S_L = 160\), \(S = 32 + 160 = 192\), \(L = 72\) and \(D = \sqrt{32 + 100} = \sqrt{132} \approx 11.489125\). The volume is 160 cubic units.

Advertisement
Square prism with base edge 4, height 10, and space diagonal approximately 11.489125.
For a square prism with base edge 4 and height 10, the space diagonal is approximately 11.489125.

Questions

Is a square prism the same as a cuboid?

It is a special cuboid: two of its three dimensions are equal. Every cuboid formula holds with \(l = w = a\).

How tall must a square column be to hold a given volume?

Use the mode base edge and volume: \(h = V/a^2\). A 0.3 m square column holding 0.9 m³ is 10 m tall.

How accurate are the results?

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

Advertisement

Accuracy and input range

Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.

Enter each length from 0.000001 to 1,000,000,000; each area from 0.000000000001 to 1,000,000,000,000,000,000; a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range.

References

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulas, 33rd ed., CRC Press, 2018 — chapter 4 (prisms).

Last updated:

Most popular in Geometry

View all Geometry calculators