TRIDYsign

Filament calculator: grams, metres and pesos

Converts between filament length, mass in grams and cost in pesos, for 1.75 mm or 2.85 mm and the real density of the material you are using.

Updated July 27, 2026

Inputs

How you know the usage

Filament only, excluding the plastic spool.

What your slicer reports after slicing, not the STL.

Skirt, purge, prime tower, supports and raft.

Result

Fill in the fields to see the cost.

Formula

costoPorGramo = precioCarrete ÷ pesoNetoCarrete_g
gramosConsumidos = pesoPieza_g × (1 + desperdicio_% ÷ 100)
costoPieza = gramosConsumidos × costoPorGramo
sobranteCarrete_g = pesoNetoCarrete_g − gramosConsumidos
valorSobrante = máx(sobranteCarrete_g, 0) × costoPorGramo
piezasPorCarrete = piso(pesoNetoCarrete_g ÷ gramosConsumidos)

radio_cm = diámetro_mm ÷ 20
volumen_cm³ = π × radio_cm² × (longitud_m × 100)
masa_g = volumen_cm³ × densidad_g/cm³

Assumptions

  • Spool weight is the NET filament weight, excluding the empty spool (a plastic spool weighs between 150 g and 250 g).
  • All filament consumed comes from the same spool at the same cost per gram.
  • The waste percentage covers skirt, purge, prime tower, supports and raft: everything extruded that ends up in the bin.
  • Part weight is what your slicer reports after slicing, not the STL file.

Limitations

  • Excludes electricity, machine wear and failed prints. Use the total print cost calculator for those.
  • Spools rarely hold exactly the stated weight; a ±5 % deviation is common and shifts cost per gram by the same proportion.
  • Length-to-mass conversion assumes a perfectly circular cross-section and uniform density. The typical diameter tolerance (±0.02 mm on 1.75 mm filament) introduces up to ~2 % error, because mass depends on the square of the diameter.
  • Density must come from YOUR filament's datasheet: it changes with colour, mineral fillers and brand.

Indicative estimate. Real consumption depends on your slicer, your machine and your settings. Amounts in Mexican pesos (MXN).

Indicative estimate. Real consumption depends on your slicer, your machine and your settings.

How it is calculated

Formula

masa_g = longitud_m × 100 × π × (diámetro_mm / 20)² × densidad_g_cm3   ·   longitud_m = masa_g / (100 × π × (diámetro_mm / 20)² × densidad_g_cm3)   ·   costo_mxn = (masa_g / 1000) × precio_mxn_por_kg. Ejemplo con PLA de 1.75 mm y densidad 1.24 g/cm³: 1 m de filamento = 2.41 cm³ = 2.98 g.

Assumptions

  • Filament is modelled as a perfect cylinder of nominal diameter; the real tolerance (±0.02 to ±0.05 mm depending on the maker) is not compensated.
  • The default density is the one published in each manufacturer's data sheet for that material, and can be overridden.
  • The price per kilo is entered by the user; we do not publish a market price as if it were a fact.
  • The mass returned is filament consumed, not finished-part mass: it includes skirt, raft, purges and supports if the slicer reported them.

Limitations

  • A ±0.05 mm diameter tolerance on 1.75 mm filament shifts mass per metre by roughly 6 %; for long runs, weigh the spool.
  • It does not know the density of filled filaments (wood, metal, glass fibre) unless you enter it.
  • It does not estimate material purged during multi-material colour changes; the slicer reports that.
  • An empty spool weighs 150 to 250 g depending on the brand; subtract that if you weigh the spool on a scale.