# Filament Calculator

Filament calculator converts 3D printer print weight, volume, or length across PLA, ABS, PETG, TPU. Works with filament calculator stl output and filament calculator weight from your slicer.

## What this calculates

Every 3D printer slicer (Cura, PrusaSlicer, Bambu Studio, OrcaSlicer) tells you how much filament your print will use, but converting between grams, cubic centimeters, meters of filament, and dollars requires knowing the material density and filament diameter. This 3d printer filament calculator handles the conversions for PLA, ABS, PETG, TPU, nylon, ASA, and wood-filled PLA in both 1.75 mm and 2.85 mm diameters, plus it estimates cost per print with a failure-rate buffer.

## Inputs

- **What Do You Know?** — options: Print weight (g) from slicer, Print volume (cm³), Filament length (m) — Your slicer (Cura, PrusaSlicer, Bambu) displays all three numbers
- **Print Weight** (g) — min 0 — From your slicer's estimate
- **Print Volume** (cm³) — min 0 — Volume of plastic in the final print
- **Filament Length** (m) — min 0 — Length of filament that will be extruded
- **Filament Material** — options: PLA (1.24 g/cm³), ABS (1.04 g/cm³), PETG (1.27 g/cm³), TPU (1.21 g/cm³), Nylon (1.14 g/cm³), ASA (1.07 g/cm³), Wood-filled PLA (1.15 g/cm³)
- **Filament Diameter** — options: 1.75 mm (most printers), 2.85 mm (Ultimaker, older)
- **Spool Price (1 kg)** ($) — min 0 — Price of a 1 kg spool. PLA $18-30, PETG $22-35, TPU $30-50.
- **Expected Failure Rate** (%) — min 0, max 50 — Buffer for failed prints. Beginners: 10-15%, experienced: 2-5%.

## Outputs

- **Filament Weight** (g)
- **Volume** (cm³)
- **Filament Length** (m)
- **Material Cost** — formatted as currency
- **Cost with Failure Buffer** — formatted as currency
- **Fraction of 1 kg Spool** — Percentage of a full spool consumed

## Details

## How the 3D Printer Filament Calculator Works

The math relies on three core values:

- **Material density** (grams per cubic centimeter)
- **Filament cross-section area** (derived from diameter)
- **Print volume** (cm³), **weight** (g), or **length** (m)

Given any one of weight/volume/length, the other two can be computed:

- **Weight (g) = Volume (cm³) x Density (g/cm³)**
- **Length (m) = Volume (cm³) x 1000 / (Pi x radius² in mm²) / 1000**

### PLA Filament Calculator Reference

PLA has a density of 1.24 g/cm³. A 50 g PLA print therefore uses:

- Volume: 50 / 1.24 = **40.3 cm³**
- Length on 1.75 mm filament: 40.3 * 1000 / 2.405 / 1000 = **16.76 meters**
- Length on 2.85 mm filament: 40.3 * 1000 / 6.379 / 1000 = **6.32 meters**

Use this pla filament calculator reference to verify your slicer output or double-check material orders before a big batch.

## Material Density Reference

| Material | Density (g/cm³) |
|---|---|
| PLA | 1.24 |
| ABS | 1.04 |
| PETG | 1.27 |
| TPU | 1.21 |
| Nylon (PA6, PA12) | 1.14 |
| ASA | 1.07 |
| Wood-filled PLA | 1.15 |

Specialty filaments (carbon fiber reinforced, metal-filled, glow-in-the-dark) can vary from 1.0 to 4.0 g/cm³. Check the manufacturer's technical data sheet for exact density.

## Filament Calculator STL Output

If you're using a filament calculator stl workflow, your slicer converts the STL mesh into G-code and reports the three key numbers:

1. **Filament used (m)** - total length the extruder will push
2. **Filament used (g)** - mass of plastic deposited
3. **Estimated cost** - if you've set a spool price in slicer settings

This calculator cross-checks slicer output, especially helpful if you're comparing materials or evaluating a print across different nozzle sizes and infill settings.

## Filament Calculator Weight Explained

Most hobbyists track usage by filament calculator weight because 1 kg spools are the standard unit sold. A 200 g print consumes 20% of a $25 spool, or $5 of material. Track grams per print to:

- Estimate production cost for products you sell
- Decide when to load a fresh spool before a long print
- Compare material efficiency across infill densities

## Cost per Print

Filament cost per gram varies by material:

| Material | Spool price (1 kg) | Cost per gram |
|---|---|---|
| PLA | $18-30 | $0.018-0.030 |
| PETG | $22-35 | $0.022-0.035 |
| ABS | $20-30 | $0.020-0.030 |
| TPU | $30-50 | $0.030-0.050 |
| Nylon | $40-80 | $0.040-0.080 |
| Specialty (CF, metal) | $60-150 | $0.060-0.150 |

Add 5-15% failure buffer based on your print experience. A new user running a 48-hour print should buffer 15%; a veteran with a tuned printer can get away with 2-3%.

## Reducing Filament Consumption

- **Drop infill** from 20% to 10-15% for non-structural parts (cuts plastic ~25%)
- **Use tree or gyroid infill** for better strength-to-weight
- **Lower wall count** from 3 to 2 shells when strength isn't critical
- **Eliminate supports** with design-for-print orientation
- **Hollow out solid volumes** with strategic cavities in CAD

## Frequently Asked Questions

**Q: How do I calculate 3D printer filament weight from length?**

A: Weight (g) = Length (mm) x Cross-section Area (mm²) x Density (g/cm³) / 1000. For 1.75 mm PLA: Weight = Length_mm x 2.405 x 1.24 / 1000 = Length_mm x 0.002982. So 10 meters of 1.75 mm PLA weighs 29.82 grams. For 2.85 mm PLA, the factor is 0.007910, meaning 10 m weighs 79.1 g.

**Q: What is PLA filament density?**

A: PLA has a density of 1.24 g/cm³. This pla filament calculator uses 1.24 as the baseline. A 100 g PLA print occupies 80.6 cm³ of volume. PLA is slightly denser than ABS (1.04) and similar to PETG (1.27). Specialty PLA blends (wood-filled, silk, carbon-filled) may differ by 10-20%.

**Q: How many meters of filament are in a 1 kg spool?**

A: Depends on material and diameter. For 1.75 mm filament: PLA has ~335 m/kg, PETG ~327 m/kg, ABS ~400 m/kg, TPU ~343 m/kg, Nylon ~364 m/kg. For 2.85 mm filament, divide by roughly 2.65 (cross-section ratio). A 1 kg spool of 2.85 mm PLA has about 127 meters.

**Q: Can I use a filament calculator stl to estimate before slicing?**

A: Not directly from the STL file alone, but most slicers give you the volume-to-weight conversion in the preview step. If you only have an STL and no slicer, tools like Cura or PrusaSlicer (both free) load the STL, apply slicer settings (infill, walls, supports), and output the exact filament estimate. This filament calculator then converts that slicer output to cost and length.

**Q: How accurate are slicer filament estimates?**

A: Modern slicers (Bambu Studio, PrusaSlicer, Cura 5+) are accurate within 2-5% of actual consumption on well-tuned machines. Errors come from retraction, over/under-extrusion, and purge volumes during multi-material prints. If your prints consistently use 5-10% more than estimated, calibrate flow rate (e-steps).

**Q: How do I reduce filament waste in 3D printing?**

A: Drop infill from 20% to 10-15% on non-load-bearing parts (saves 20-30%), use 2 walls instead of 3, orient parts to minimize supports, and choose gyroid or tree infill. Also calibrate flow rate so you're not over-extruding. A well-calibrated printer with efficient settings can cut filament usage by 30-40% versus default slicer presets.

---

Source: https://vastcalc.com/calculators/construction/filament
Category: Construction
Last updated: 2026-04-08
