Figuro.net

3D Shape Calculator

Pick one of 24 shapes, type in its dimensions, and the 3D model redraws as you type while the volume and surface area recalculate instantly. Add a material to get the weight, work backwards from a target volume to find a missing size, then download an STL file or print a paper net. Every formula is shown with your own numbers filled in.

Last updated: October 2026

Choose a shape

24 solids. Pick one, enter its dimensions and the model updates instantly.

More options: solve for a size, results unit, weight, cost, scaling

Prices are in whatever currency you use. The material price needs a material or density above.

Drag to rotate. Click the model, then scroll or pinch to zoom.

Details and formulas

Formulas used

Download and print

Export the shape at your real size for 3D printing, or print a flat net you can cut out and fold into a paper model.

How this 3D shape calculator works

Choose one of 24 shapes in six groups: basic solids (box, cube, sphere, hemisphere, cylinder, cone), pyramids and frustums (square, rectangular and hexagonal pyramids, cone frustum, square frustum), prisms and cylinders (triangular prism, hexagonal prism, elliptic cylinder), curved solids (torus, ellipsoid, capsule, spherical cap), hollow solids (pipe and hollow sphere) and the four regular polyhedra (tetrahedron, octahedron, dodecahedron, icosahedron). Enter the measurements in any length unit from millimetres to yards. The calculator returns the volume, the total surface area and the extra values you usually need, such as slant height or lateral area, plus the capacity in litres and US gallons.

The model is drawn to the same proportions as your numbers, so a tall, thin cylinder looks tall and thin. That makes the picture a quick way to catch a swapped radius and height before you rely on the result.

If you only need a volume for one of the basic shapes, the Volume Calculator is a lighter page. Use this one when you want to see the shape, work with less common solids such as the torus or frustum, or check surface area as well.

Volume and surface area formulas

ShapeVolumeTotal surface area
Boxl × w × h2(lw + lh + wh)
Cubea³6a²
Sphere(4/3)πr³4πr²
Hemisphere(2/3)πr³3πr²
Cylinderπr²h2πr(r + h)
Cone(1/3)πr²hπr(r + s), where s = √(r² + h²)
Cone frustum(πh/3)(r₁² + r₁r₂ + r₂²)π(r₁ + r₂)s + πr₁² + πr₂²
Square pyramid(1/3)a²ha² + 2al, where l = √(h² + (a/2)²)
Triangular prism(√3/4)a²L(√3/2)a² + 3aL
Torus2π²Rr²4π²Rr
Ellipsoid(4/3)πabcapproximate, see the note below
Capsuleπr²h + (4/3)πr³2πrh + 4πr²
Rectangular pyramid(1/3)abhab + a√(h² + (b/2)²) + b√(h² + (a/2)²)
Hexagonal pyramid(√3/2)a²h(3√3/2)a² + 3al, where l = √(h² + 3a²/4)
Square frustum(h/3)(a₁² + a₁a₂ + a₂²)a₁² + a₂² + 2(a₁ + a₂)s, where s = √(h² + ((a₁ − a₂)/2)²)
Hexagonal prism(3√3/2)a²h3√3a² + 6ah
Elliptic cylinderπabhapproximate: Ph + 2πab, with P from Ramanujan’s formula
Spherical capπh²(3R − h)/32πRh + πh(2R − h)
Pipe (hollow cylinder)πh(R² − r²)2π(R + r)h + 2π(R² − r²)
Hollow sphere(4/3)π(R³ − r³)4π(R² + r²)
Tetrahedron(√2/12)a³√3a²
Octahedron(√2/3)a³2√3a²
Dodecahedron((15 + 7√5)/4)a³3√(25 + 10√5)a²
Icosahedron(5(3 + √5)/12)a³5√3a²

The triangular prism here has an equilateral triangle as its base, so one side length (a) describes the whole triangle. For the capsule, h is the length of the straight middle section, not the overall length. For the pipe and the hollow sphere, V is the volume of the wall material and S includes both the outer and the inner surface. For every regular polyhedron, a is the length of one edge.

More than a volume calculator

Weight from volume. Open More options and choose a material such as water, steel, aluminium, concrete, oak or gold, or type your own density in kg/m³, g/cm³ or lb/ft³. The calculator multiplies the volume by the density and shows the weight in kilograms and pounds. You can also add a price per kilogram to estimate the cost of the material.

Work backwards from a volume. If you know how much a container must hold, change What do you want to find? to the missing dimension. Enter the target in litres, US gallons, cubic metres or cubic units and the calculator solves for the radius, height or side that gives exactly that volume. It works for every shape in the list.

Cost and scaling. Enter a price per square unit to see what painting or coating the whole surface will cost, or a price per litre to see the cost of filling the shape. The scale box shows what happens to the volume and surface area when every dimension is multiplied by the same number: the volume grows with the cube of the factor and the surface area with its square.

Download and print. The STL and OBJ buttons export the shape at its real size in millimetres, ready for a slicer. For the box, cube, cylinder, cone, square pyramid, triangular prism and tetrahedron, the net button produces a PDF you can cut out and fold. Fold lines are dashed, and a 50 mm scale bar lets you check that your printer did not resize the page.

Each shape also has its own page: cylinder volume calculator, sphere volume calculator, cone volume calculator, pyramid volume calculator, frustum volume calculator, hemisphere volume calculator, torus volume calculator, ellipsoid volume calculator, pipe volume calculator, spherical cap volume calculator. For liquid in a partly filled tank, use the Tank Volume Calculator.

Worked examples

Water tank (cylinder). Radius 1.5 m and height 3 m give V = π × 1.5² × 3 ≈ 21.21 m³. Since 1 m³ is 1,000 litres, the tank holds about 21,206 litres, or roughly 5,602 US gallons. Painting the whole outside, top and bottom included, covers S = 2π × 1.5 × (1.5 + 3) ≈ 42.41 m².

Square pyramid. A base side of 6 and a height of 8 give a face slant height of √(8² + 3²) ≈ 8.544. The volume is (1/3) × 6² × 8 = 96 and the total surface area is 36 + 2 × 6 × 8.544 ≈ 138.53.

Planter (cone frustum). A planter with a bottom radius of 5 cm, a top radius of 3 cm and a height of 8 cm has a slant height of √(2² + 8²) ≈ 8.246 cm. Its volume is about 410.5 cm³, close to 0.41 litres, and its total surface area is about 314.06 cm².

Torus. With R = 6 and r = 2, the volume is 2π² × 6 × 2² ≈ 473.74 and the surface area is 4π² × 6 × 2 ≈ 473.74. The two numbers match only because r = 2: in general the volume divided by the surface area equals r/2.

Steel pipe (weight). A pipe with an outer radius of 5 cm, an inner radius of 4 cm and a length of 12 cm has a wall volume of π × 12 × (5² − 4²) ≈ 339.3 cm³. Steel weighs about 7,850 kg/m³, so the pipe weighs roughly 2.66 kg, or 5.87 lb. The bore inside holds about 0.60 litres.

200-litre barrel (find the height). A barrel with a radius of 30 cm must hold 200 litres, or 200,000 cm³. Choose Height as the value to find and enter the radius. The calculator returns h = 200,000 / (π × 30²) ≈ 70.7 cm.

Dome (spherical cap). A dome cut from a sphere with R = 6 and a cap height h = 3 (exactly half the radius) has a volume of π × 3² × (18 − 3) / 3 ≈ 141.37 and a total surface area of π × 3 × (24 − 3) ≈ 197.92.

Capsule. A pill-shaped capsule with a 3 mm radius and an 8 mm straight section is 14 mm long overall. Its volume is π × 3² × 8 + (4/3)π × 3³ ≈ 339.29 mm³, or about 0.34 millilitres.

Tips for accurate results

History and background

People were measuring solids long before they wrote formulas down. The Moscow Mathematical Papyrus, an Egyptian text from around 1850 BCE, works out the volume of a truncated square pyramid, which belongs to the same family as the cone frustum in this calculator.

The Greeks turned these rules into proofs. Democritus is credited with noticing that a cone holds one third of the cylinder with the same base and height, and Eudoxus supplied a rigorous proof using the method of exhaustion. Euclid’s Elements, Book XII, collects results of this kind.

Archimedes went further in On the Sphere and Cylinder, written around 225 BCE. He showed that a sphere has two thirds of the volume and two thirds of the surface area of the cylinder that just contains it. You can check this with the formulas above: for a sphere of radius r, the enclosing cylinder has volume 2πr³ and total surface area 6πr². Archimedes considered this his finest result and asked for the figure to be carved on his tomb, which the Roman statesman Cicero later found overgrown in Syracuse.

The torus formula follows from a theorem usually credited to Pappus of Alexandria in the 4th century CE and rediscovered by Paul Guldin in the 17th: the volume of a solid of revolution equals the area of the shape being turned multiplied by the distance its centre travels. A circle of area πr² whose centre travels 2πR gives 2π²Rr².

In 1635 Bonaventura Cavalieri published his principle that two solids with equal cross-sections at every height have equal volumes, a stepping stone toward integral calculus. The ellipsoid is where simple formulas run out: its volume is easy, but its exact surface area needs elliptic integrals, which is why an approximation is used here.

Frequently asked questions

How do I calculate the volume and surface area of a 3D shape? Choose the shape, enter its dimensions in one length unit, and read the results. The calculator applies the standard formula for that shape and shows it with your numbers filled in, so you can follow every step.

What is the difference between lateral surface area and total surface area? Lateral area covers only the sides of a solid, such as the curved wall of a cylinder. Total surface area adds the flat bases or ends. For a cylinder the total is 2πrh for the side plus 2πr² for the two circular ends.

How do I convert the volume to litres or gallons? The results include the capacity in litres and US gallons for the unit you chose. By hand, one cubic metre is 1,000 litres, one litre is 1,000 cubic centimetres, and one US gallon is about 3.785 litres.

What is a torus and how is its volume found? A torus is a doughnut-shaped solid. If R is the distance from the centre of the hole to the centre of the tube and r is the tube radius, the volume is 2π²Rr² and the surface area is 4π²Rr. R must be larger than r for a ring shape.

Is the surface area of an ellipsoid exact? No. An ellipsoid has no simple exact surface area formula, so this calculator uses Knud Thomsen’s approximation, which is accurate to about 1%. The volume of an ellipsoid is exact.

Can I enter the diameter instead of the radius? Yes. For any shape with round measurements, switch “Enter round shapes as” to Diameter. The calculator halves the value for you and converts the numbers you already typed, so the shape stays the same.

What is a cone frustum? A cone frustum is a cone with its tip cut off by a plane parallel to the base. Buckets, lampshades and flower pots are common examples. Enter the bottom radius, the top radius and the straight vertical height, not the slanted side.

Does the 3D viewer work on a phone? Yes. Drag with one finger to rotate and pinch to zoom. If a browser cannot run WebGL, the calculator still works and only the picture is missing.

How do I find the weight of a solid from its volume? Open More options and pick a material, or type your own density. The calculator multiplies the volume by the density, so a 339.3 cm³ steel pipe at 7,850 kg/m³ weighs about 2.66 kg. For hollow shapes such as a pipe or a hollow sphere the weight is based on the wall material only.

Can I find a dimension if I only know the volume? Yes. Change “What do you want to find?” to the dimension you need, enter the volume you want to hold in litres, gallons or cubic units, and fill in the other measurements. The calculator solves for the missing size, for example the height of a 200-litre barrel with a known radius.

Can I 3D print a shape from this calculator? Yes. Use Download STL or Download OBJ under the results. The file uses your real dimensions converted to millimetres, with the shape resting flat on the build plate. Check that the size suits your printer before slicing.

Can I print a paper model of the shape? For the box, cube, cylinder, cone, square pyramid, triangular prism and tetrahedron you can download a printable net as a PDF. It prints at actual size when it fits the page and shrinks to fit when it does not, with a scale bar so you can check your printer.

← Browse all calculators and tools