How the volume is calculated
For a closed mesh, the volume is computed exactly from the triangles using the divergence theorem (summing signed tetrahedra from the origin to each triangle). The result is only defined for watertight meshes – if the mesh has holes, the calculator tells you how many open edges were found.
From volume to weight
Weight = volume × density. The calculator assumes a fully solid part; for FDM prints with infill, use the 3D print cost calculator, which estimates the effect of infill.
Common mistakes when calculating STL volume
- Trusting the number for an open mesh. Volume is computed by summing signed tetrahedra from each triangle to the origin, which is only meaningful for a closed, consistently oriented surface. If the watertight check fails, repair the mesh first – a hole can make the result anything.
- Overlapping shells. Models made by joining parts without a boolean union contain intersecting shells. Their volumes are added, so overlapping regions are counted twice.
- Wrong units. STL has no units. A file in inches read as millimetres gives a volume 16,387 times too small, because 1 in³ = 16.387 cm³.
- Confusing model volume with material used. The STL volume calculator gives the solid volume. FDM prints with 15–20 % infill use far less plastic; resin prints use the full volume plus supports.
Worked example: a calibration cube and a vase
A standard 20 mm calibration cube has a volume of 20 × 20 × 20 = 8,000 mm³ = 8 cm³. Solid in PLA (1.24 g/cm³) that would weigh 9.9 g. Printed with two walls and 15 % infill it weighs closer to 4 g, which is why slicers report less than the solid figure.
Now a vase 80 mm wide and 150 mm tall: measured as a solid it reports about 500 cm³ – over 600 g of PLA. Printed in spiral vase mode with a single 0.45 mm wall, the material is only the shell: surface area times wall thickness, roughly 380 cm² × 0.045 cm ≈ 17 cm³, or about 21 g. Surface area, also shown by the calculator, is the number that matters here.
Common questions
What units does it use?
STL files have no units; like slicers, the calculator reads them as millimetres. 1 cm³ = 1 ml = 1000 mm³.
Why is the volume "n/a"?
The mesh is not closed. Repair it (e.g. in your slicer or Meshmixer) so every edge is shared by two triangles.
How do I convert STL volume to grams?
Multiply the volume in cm³ by the material density: about 1.24 g/cm³ for PLA, 1.27 for PETG, 1.04 for ABS and 1.1 for typical resin. For FDM with infill, the result is an upper limit.
Why does my slicer or CAD program show a different volume?
Usually the mesh is not watertight, has overlapping shells, or the program reports printed volume with infill instead of solid volume. On a clean closed mesh all tools should agree closely.