STL Volume, Weight and Print Cost Calculator
Open an STL to get its exact mesh volume and surface area, then turn them into a weight and a material cost. Pick a material or type your own density, set the infill and wall thickness you print with, and enter your filament or resin price. The formula is shown under the result, so you can see how the estimate is made. Nothing is uploaded.
How to use it
- 1
Add your STL
Drop a .stl on the box or click to pick it, and choose the unit it was made in (mm for most files).
- 2
Pick a material
PLA, PETG, ABS, ASA, TPU, nylon or standard resin, with a typical datasheet density, or enter the density from your own spool.
- 3
Set infill and walls
Use the infill percentage and wall thickness from your slicer profile. 100% infill gives the solid weight.
- 4
Read weight and cost
Enter the price per kg to get the cost. The numbers update as you type.
What to know before you convert
- Volume comes from the triangles and is exact only for closed meshes. The page warns when the mesh has open edges.
- Weight and cost are estimates. Walls are taken as surface area x wall thickness and the rest of the volume is filled at the infill percentage. Your slicer also adds top and bottom layers, supports, brims and purge, and gives the exact filament use.
- Densities are typical values from material datasheets: PLA 1.24, PETG 1.27, ABS 1.04, ASA 1.07, TPU 1.21, nylon PA12 1.01 and standard resin 1.1 g/cm³. Brands differ; use the number on your spool or bottle when you have it.
- Cost covers material only. Electricity, machine time, failed prints and labour are not included.
How to Calculate the Volume of an STL
An STL is a list of triangles with no units. The calculator adds up the space those triangles close in, then reads the numbers in the unit you pick under "STL made in": millimetres for most files. For example, a 20 mm cube gives 8 cm³ (8,000 mm³, about 0.49 in³) and a surface area of 24 cm².
Volume is not the same as the size of the box around the model. A ball 20 mm across fits in that same 8 cm³ box, but its own volume is only about 4.19 cm³. One cm³ is one millilitre, so for a resin print the volume in cm³ is about the millilitres of resin a solid part needs, before supports.
For the weight in grams and the filament length in metres, use the STL weight calculator. If the page warns about open edges, close the holes with STL repair first, since the volume is exact only for a closed mesh. To check the width, depth and height, open the file in Measure STL.
Don't have a model?
Create one with AI from a photo, a sentence or a sketch. The generators use credits; this converter is free and stays in your browser.






