Hypersphere Calculator

Hypersphere Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

V4=π22r4,S3=2π2r3V_4 = \frac{\pi^2}{2}\, r^4, \quad S_3 = 2\pi^2 r^3
Show calculation steps (1)
  1. Hypervolume

    V4=π22r4V_4 = \frac{\pi^2}{2}\, r^4

    4D volume of the ball of radius r.

Usage stats

Advertisement

Results

Hypervolume (4D volume)
399.718978
units⁴
Surface volume (3D)532.958638cubic units
Radius3units
Diameter6units
Surface volume to hypervolume ratio1.333333per unit

Report an error on this page

What is a hypersphere?

A hypersphere (the 3-sphere) is the set of all points of four-dimensional space at the same distance r, the radius, from a centre point. It is the four-dimensional counterpart of the circle and the sphere. Its surface is a curved three-dimensional space with a volume of its own, the surface volume, and the region it encloses, the 4-ball, has a four-dimensional volume, the hypervolume.

This calculator finds the hypervolume of the 4-ball, the three-dimensional volume of its surface, the radius and the diameter from any one of them.

A central circular slice shows a radius of 3 from the center to the rim and a diameter of 6 from rim to rim.
A flat slice through the center of the hypersphere preserves its radius and diameter. The diameter spans two radii, so a radius of 3 gives a diameter of 6.

How to use it

Choose what you know in What do you know? and enter that one value: the radius r, the diameter d, the hypervolume (the 4D volume of the ball) or the surface volume (the 3D volume of the hypersphere itself). The value you enter is shown back unchanged and every other measure is solved from it. The length unit is a label only: lengths are shown in that unit, areas in its square, volumes in its cube and 4D volumes in its fourth power. The page shows results rounded to at most 6 decimal places and writes very large and very small values out in full.

Derivation of the formulas

Cut the 4-ball of radius r by the hyperplanes \(x = \text{const}\). Each slice is an ordinary ball of radius \(\sqrt{r^2 - x^2}\), so the hypervolume adds up the ball volumes:

$$V_4 = \int_{-r}^{r} \frac{4}{3}\pi \left(r^2 - x^2\right)^{3/2} dx$$

With \(x = r\sin t\) this becomes \(\tfrac{4}{3}\pi r^4 \int_{-\pi/2}^{\pi/2} \cos^4 t\, dt = \tfrac{4}{3}\pi r^4 \cdot \tfrac{3\pi}{8}\), so

$$V_4 = \frac{\pi^2}{2}\, r^4$$

Growing the radius by dr adds a shell of thickness dr over the whole hypersphere, so the surface volume is the derivative of the hypervolume:

$$S_3 = \frac{dV_4}{dr} = 2\pi^2 r^3$$

The diameter is \(d = 2r\), and the ratio of surface volume to hypervolume is \(S_3 / V_4 = 4/r\).

Advertisement

Solving from other known values

Every measure is a fixed multiple of a power of the radius r: lengths grow like r, areas like \(r^2\), volumes like \(r^3\) and 4D volumes like \(r^4\). So the radius r follows from any one value by dividing by its constant and taking the matching root, and the other measures follow from it.

Worked example

The default is a hypersphere of radius r = 3. Its 4-ball has a hypervolume of about 399.718978 units⁴, its surface has a three-dimensional volume of about 532.958638 cubic units, and its diameter is 6 units.

A hypersphere projection with radius 3 connected to its hypervolume, surface volume, and diameter results.
For radius 3, the hypervolume is approximately 399.718978 units⁴, the surface volume is approximately 532.958638 cubic units, and the diameter is 6 units.

FAQ

Why is the surface a volume?

In four dimensions the boundary of a ball is three-dimensional, just as the boundary of an ordinary ball is a two-dimensional surface. Its size is therefore measured in cubic units.

Is a hypersphere the same as a tesseract?

No. A tesseract is the four-dimensional cube with flat cubic cells; the hypersphere is round, with every point at the same distance from the centre.

Does the unit change the numbers?

No. Geometry does not depend on the unit, so the unit only labels the results.

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, a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000 and a 4D volume from 0.000000000000000000000001 to 1,000,000,000,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range.

References

H. S. M. Coxeter, Regular Polytopes, 3rd ed., Dover, 1973

D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018

Last updated:

Most popular in Geometry

View all Geometry calculators