Calculator Volume and weight

STL volume and weight calculator

Drop a 3D model to get its volume, its weight in the material you choose, its bounding-box size and its surface area. Works with STL, OBJ, 3MF, GLB, PLY, AMF and OFF.

01 Method

How the volume of an STL is calculated

An STL is a closed shell of triangles. Each triangle forms a small pyramid (a tetrahedron) with the origin, and adding up the signed volumes of all those pyramids gives the exact volume enclosed by the shell. This is the divergence theorem, and it is what CAD and slicer programs use too.

It only works if the shell is closed (watertight). If the mesh has holes or overlapping parts, the calculator says so and gives an estimate instead. Repair the mesh to get an exact number: the API does that with repair=1.

Units

STL, OBJ and PLY files store bare numbers with no unit. Most 3D printing models use millimetres, so that is the default; pick inches or centimetres if the part comes out 25.4 or 10 times too small. 3MF and AMF files carry their own units, and GLB/glTF is always in metres.

Weight

Weight is volume × density. A solid PLA part weighs 1.24 g per cm³; a 3D print with sparse infill weighs much less. For a printed part, use the 3D print time and cost calculator, which counts walls, skins and infill.

02 FAQ

Questions and answers

How do I find the volume of an STL file?

Drop the file on the calculator above. It reads the triangles, checks the mesh is closed and adds up the signed volume of every triangle. The result is shown in cm³ along with the weight in the material you pick.

Why does it say the volume is an estimate?

The mesh is not watertight: it has gaps, loose triangles or faces that overlap. The exact formula needs a closed shell, so the calculator estimates instead. Many STL exports of assemblies or text have this problem.

Is my model uploaded?

No. Everything runs in your browser with WebAssembly; the file stays on your computer.

How heavy will my part be in aluminium or steel?

Choose the material: the calculator multiplies the volume by its density (aluminium 2.70 g/cm³, steel 7.85, titanium 4.43). For machined parts the stock you start from weighs more; for STEP files the API also reports the stock size and how much material is removed.

Can I get these measurements from code?

Yes. POST /v1/analyze returns size, area, volume, mass, watertightness, overhangs and printer fit as JSON for STL, 3MF, OBJ, GLB, STEP and IGES files. See the API docs.

Measure every upload automatically

Volume, mass, size and printability for every file your users upload, plus a thumbnail, in one API call. EU-hosted, published prices.

More free tools: 3D print time and cost · laser cutting cost from DXF · STL to PNG · 3D viewer