The 3D print cost formula
- Material
- grams ÷ 1000 × price per kg × (1 + waste %)
- Electricity
- printer watts × print hours ÷ 1000 × price per kWh
- Machine wear
- printer price ÷ lifetime hours × print hours
- Failure buffer
- (material + electricity + wear) × failure rate %
- Labour
- your minutes ÷ 60 × hourly rate
- Total cost
- material + electricity + wear + failure buffer + labour + other costs
- Selling price
- total cost × (1 + markup %)
Filament length = grams ÷ density ÷ (π × (diameter ÷ 2)²). Resin: grams = ml × density. Print time from a model: printed volume ÷ average flow (filament), or layers × seconds per layer (resin).
Worked example: 50 g of PLA, 3 hours
PLA at $20/kg, a 120 W printer that cost $300 and lasts 3,000 hours, electricity at $0.18/kWh, 5% waste, 5% failures and 10 minutes of your time at $20/h. These are the calculator's example values; yours will differ.
| Material | 50 g ÷ 1000 × $20 × 1.05 | $1.05 |
|---|---|---|
| Electricity | 120 W × 3 h ÷ 1000 × $0.18 | $0.06 |
| Machine wear | $300 ÷ 3,000 h × 3 h | $0.30 |
| Failure buffer | 5% of material + electricity + wear | $0.07 |
| Labour | 10 min ÷ 60 × $20/h | $3.33 |
| Total cost | $4.82 | |
| Selling price | + 20% markup | $5.78 |
That is about 16.8 m of 1.75 mm filament. In this example the 10 minutes of labour cost more than the plastic, so count your time even for small prints.
Filament and resin density
Weight from a model = printed volume × density. These are typical datasheet values; brands differ, so use the number on your own spool or bottle when you have it (choose Custom).
| Material | Density (g/cm³) | Source |
|---|---|---|
| PLA | 1.24 | formfutura EasyFil PLA datasheet |
| PETG | 1.27 | YUMI filament tech specs (1.27-1.29) |
| ABS | 1.04 | Polymaker PolyLite ABS |
| ASA | 1.07 | typical datasheet value (Polymaker lists 1.13) |
| TPU | 1.21 | Polymaker PolyFlex TPU90 |
| Nylon (PA12) | 1.01 | typical datasheet value |
| Standard resin | 1.1 | Elegoo standard resin TDS (1.05-1.25) |
Sources: Polymaker technical data · YUMI filament tech specs (PDF) · Elegoo standard resin TDS (PDF)
Estimating from an STL: what the numbers mean
The calculator reads the mesh in your browser and adds up the volume of its triangles, which is exact for a closed (watertight) mesh. For filament it treats the outer 1.2 mm as solid walls and fills the inside at your infill %; for resin it uses the solid volume. Print time is printed volume ÷ an average flow you can change. A slicer knows your top and bottom layers, supports and travel moves, so for a quote, slice once and type the slicer's grams and time instead. If the file reports open edges, repair the STL first. To see only the volume and weight, use the STL volume calculator.
How to use the calculator
- 1
Pick filament or resin
Choose FDM (filament) or resin, your material and the currency you pay in.
- 2
Add the job
Type the grams and print time from your slicer, or drop an STL, 3MF or OBJ to estimate them from the model.
- 3
Add your running costs
Printer watts, electricity price, printer price and lifetime, failure rate and your labour. The defaults are examples; use your own.
- 4
Read the price
See every cost block, the total per print and a selling price with your markup. Your inputs are remembered in this browser.
Make a model to print
Describe an object or upload a photo and The3DAI makes a printable 3D model you can download as an STL, then price it here.