3D Print Cost Calculator

Open an STL or 3MF and get the volume, filament weight and length, and material cost for PLA, PETG, ABS, TPU or resin, with infill. Free, in your browser.

Runs in your browser. Your files are never uploaded. How it works

The 3D print cost calculator opens an STL, 3MF, OBJ, GLB or STEP file and works out how much material the print needs: the model’s volume, the grams of filament or millilitres of resin, the length of 1.75 mm filament, and the material cost at your price per kilo. Change the material, infill, wall thickness and number of copies and the numbers update at once.

Checked with a cube

A 20 mm cube has a volume of exactly 8 cm³, so it shows whether the numbers add up. With PLA (1.24 g/cm³) and the default 1.2 mm walls:

Model Infill Material Filament Cost at 20 a kg
Cube 20 mm 100% 10 g 3.3 m 0.20
Cube 20 mm 20% 5 g 1.6 m 0.10
Torus knot 98 × 103 × 48 mm 20% 62 g 20.9 m 1.25

At 100% the cube is 8 cm³ × 1.24 = 9.9 g, as it should be. At 20%, the walls make up 2.9 of the 8 cm³, which is why the weight halves rather than dropping to a fifth.

The calculator with a torus knot model: size, volume 121.7 cm³, 62 g of PLA, 20.9 m of filament and the cost
The torus knot test model.

While testing, the cost always showed 0.00: the price box was being read from the wrong place on the page. That is fixed.

Use it to quote a print before slicing, to compare two designs, or to check whether a spool has enough left.

To read the exact numbers from a sliced file, open its G-code in the G-code Viewer.

Frequently asked questions

How is the material worked out?

From the model's volume and surface area: the outer shell (walls, top and bottom) is counted solid, and the inside at the infill you set. Then weight from the material's density, and length for 1.75 mm filament.

How accurate is it?

Close enough for quotes and comparing, usually within 10 to 20% of a slicer. Supports, brim, the infill pattern and your printer's flow are not included; the slicer's number is the one to trust.

My numbers look far too big or small.

STL files have no units. Most are in millimetres; if the size looks 10 or 25 times off, set Units in the file to centimetres or inches.

What does 'not closed' mean?

The model has holes or loose edges, so its inside is not well defined and the volume can be wrong. Repair it in your slicer first.

Is my model uploaded?

No. It is measured in your browser.

Related tools