Boneyard Tools

Filament Weight and Length Calculator

This calculator converts between a length of 3D printing filament and its weight by modeling the strand as a solid cylinder. Pick a diameter and a material density, then enter either meters or grams, and it returns the matching weight, length and volume. It is handy for checking whether a print fits on the filament you have left, or for turning a slicer length estimate into grams.

How to calculate filament weight

  1. Choose the filament diameter from the dropdown: 1.75 mm or 2.85 mm.
  2. Select a material (PLA, ABS, PETG, TPU or Nylon) to load its typical density, or drag the density field to set a custom value.
  3. Click 'Length to weight' or 'Weight to length' to choose the direction.
  4. Enter your length in meters or your weight in grams.
  5. Read the Weight, Length and Volume cards, then use Copy to grab the summary.

Examples

330 m of 1.75 mm PLA (length to weight)

diameter 1.75 mm, density 1.24 g/cm3, length 330 m
984.24 g, volume 793.74 cm3

A full 1 kg PLA spool (weight to length)

diameter 1.75 mm, density 1.24 g/cm3, weight 1000 g
335.28 m, volume 806.45 cm3

100 m of 2.85 mm PETG (length to weight)

diameter 2.85 mm, density 1.27 g/cm3, length 100 m
810.05 g, volume 637.83 cm3

Frequently asked questions

How does the calculator turn length into weight?

It treats filament as a round rod. The cross-section area is pi times the radius squared, the volume is that area times the length, and the weight is the volume times the density you selected. Grams back to meters runs the same relation in reverse.

Which density should I enter for each material?

The presets use PLA 1.24, ABS 1.04, PETG 1.27, TPU 1.21 and Nylon 1.14 g/cm3. These are typical averages, so if your spool label lists a density or a length-per-kilogram figure, override the field to match it for a closer result.

Does it support 2.85 mm filament as well as 1.75 mm?

Yes. Switching to 2.85 mm uses a larger cross-section, so the same length weighs about 2.65 times more than 1.75 mm filament of the same material. Both are common, and choosing the wrong one is the usual cause of a surprising result.

Why does my figure differ from the printed spool weight?

Spools advertise net filament weight, but real filament varies. Diameter tolerance, absorbed moisture and colorant pigments all shift the effective density slightly, and manufacturers round their labels. Treat the output as a close estimate rather than an exact scale reading.

Can I go from grams back to meters?

Yes. Choose 'Weight to length' and enter a weight in grams. The tool divides the weight by density to recover volume, then solves the cylinder relation for length, showing meters and volume alongside.

What are the input limits?

Density accepts 0.5 to 3 g/cm3, length runs from 0 to 2000 m and weight from 0 to 5000 g. Values must be positive; a zero or negative entry produces an error instead of a result.

Does it account for infill, walls or supports?

No. It converts a raw length or weight of filament only. To estimate the filament a specific model needs, read the length or weight from your slicer after setting infill and walls, then paste that number here.

Is my data sent anywhere?

No. The math runs entirely in your browser, so the numbers you type never leave your device. You can use it offline once the page has loaded.

Can I automate this in a script?

Yes. The tool exposes a JSON API that takes diameterMm, density and one of lengthM or weightG, and returns lengthM, weightG and volumeCm3, so you can wire it into batch spool-tracking scripts.

Learn more

Related tools