Free · runs in your browser · no signup

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.

Loading the converter...

How to use it

  1. 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. 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. 3

    Set infill and walls

    Use the infill percentage and wall thickness from your slicer profile. 100% infill gives the solid weight.

  4. 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.

Frequently Asked Questions

Each triangle and the origin form a small tetrahedron. Adding up their signed volumes gives the volume inside the mesh. It is exact for a closed, watertight mesh and only approximate when the mesh has holes.
Material used = walls + infill. Walls are surface area x wall thickness; the rest of the volume is multiplied by the infill percentage. Weight = material used (cm³) x density (g/cm³). Cost = weight (kg) x price per kg.
Slicers know your exact top and bottom layers, perimeters, infill pattern, supports and brims. This page uses a simpler model so it can run on the STL alone. Treat it as a quick estimate and use the slicer number for quotes.
The density printed on your spool or resin bottle. Without one, the typical values in the material list are a good start: PLA is about 1.24 g/cm³ and ABS about 1.04 g/cm³.
Yes. Choose inches as the unit the STL was made in, otherwise the volume is read as cubic millimetres and comes out about 16,000 times too small.
The volume in cm³ is the same number in millilitres. A solid part needs about that much resin, plus supports and a little waste, and a hollowed part needs less. Pick Standard resin to see the weight at 1.1 g/cm³.
The mesh is not closed, so it has no clear inside to measure. The weight panel still shows an approximate volume with a warning. Repair the holes and open the file again for an exact number.
No. The page reads the file and converts it inside your browser with the open-source three.js library. Nothing is sent to our servers, there is no account, and no credits are used. Closing the tab discards everything.