Why length matters more than weight at the printer

Slicers report a job in two ways: grams of material and meters of filament. Spool labels usually give only the net weight. When you weigh a partly used spool and subtract the empty spool weight, you know how many grams remain, but the question you actually need answered before a long print is whether that material will reach the end of the job. Comparing meters to meters avoids a second conversion inside your head. This page converts the remaining net mass into an estimated length so you can set it against the meters your slicer reports for the job you are about to start. It is also useful when you split a spool between printers, log material for a print farm, or decide whether a short leftover length is worth keeping for small parts and test prints.

How the formula is built

A strand of filament is a long cylinder. Its volume equals the cross-sectional area times the length, and the area of a circle is pi times the diameter squared divided by four. Mass equals volume times density, so length equals mass divided by density and by the area. The units work out neatly. A diameter in millimeters gives an area in square millimeters, and one meter of filament with an area of one square millimeter holds exactly one cubic centimeter of material. Grams divided by g/cm³ give cubic centimeters, and dividing those by the area in square millimeters gives meters directly. That is why the formula, length = 4 × mass / (pi × diameter² × density), needs no extra conversion factor when you use the units the page asks for.

What 100 g of 2 mm filament comes to

The page opens with 100 g of filament, a 2 mm diameter and a density of 1 g/cm³. Those round values keep the arithmetic easy to follow. The area is pi × 2² / 4, about 3.1416 mm², and 100 cm³ divided by that area gives 31.831 m. Real filament rarely matches these numbers. Common diameters are 1.75 mm and 2.85 mm, and most thermoplastics are denser than water. Replace each default with your own values before relying on the output. The example is still useful as a sanity check, because doubling the mass doubles the length, while doubling the diameter cuts the length to one quarter. If you change one input and the result moves in an unexpected direction, recheck the units you entered.

A full PLA spool and a PETG remainder

Suppose a 1 kg spool of 1.75 mm PLA lists a density of 1.24 g/cm³. Entering 1000 g, 1.75 mm and 1.24 gives about 335.284 m, which sits close to the length many suppliers print on PLA spools of that size. A partly used PETG spool behaves differently. If the scale shows 250 g of net filament at 1.75 mm and the supplier gives 1.27 g/cm³, the page estimates about 81.841 m. That is enough for a job the slicer puts at 60 m, with a margin for purge lines and a failed first layer. A 750 g spool of 2.85 mm PLA at 1.24 g/cm³ comes out near 94.811 m, much shorter than the 1.75 mm spool because each meter of thicker filament carries more than two and a half times the material.

Why the diameter you measure changes the answer so much

Diameter enters the formula squared, so small measurement differences grow. With 1000 g of PLA at 1.24 g/cm³, a strand that measures 1.72 mm gives about 347.082 m, while one that measures 1.78 mm gives about 324.077 m. That spread of roughly 23 m comes from a 0.06 mm difference, which is within the tolerance some budget filaments advertise. Measure with calipers at several points along the strand, rotating the jaws a quarter turn each time because filament can be slightly oval, and average the readings. Many slicers use the nominal 1.75 mm, so your measured value may give a different length than the slicer assumes. For planning a borderline job, the measured diameter is the better input.

Where to find a trustworthy density

Use the density on the supplier technical data sheet for the exact product, not a generic value for the polymer family. Fillers change density noticeably. Carbon-fiber blends, wood-filled PLA, metal-filled filaments and glow-in-the-dark grades can differ from plain material, and two brands of the same polymer may list slightly different figures. As an illustration of the effect, 1000 g of 1.75 mm filament at 1.04 g/cm³, a figure in the range often listed for ABS, gives about 399.761 m, about 64 m more than PLA at 1.24 g/cm³. The calculator does not store a material library on purpose, so the density you type is the one it uses.

Getting the net mass right

The mass input is filament only. Weigh the spool on a kitchen or shipping scale, then subtract the weight of an empty spool of the same type. Some manufacturers publish empty spool weights, and you can also weigh an empty spool from the same supplier once and record it. Cardboard spools, plastic spools and refill masterspools differ, so one tare value does not fit every brand. Desiccant packs, labels and leftover packaging should come off before weighing. If you track several open spools, write the tare weight on the side of each spool so the next measurement takes a few seconds.

Matching the result to a slicer job

Slicers show filament use as meters, grams or both, and the length figure is based on the diameter set in the filament profile. If your profile says 1.75 mm and you entered a measured 1.73 mm here, the two lengths will not agree exactly even for the same grams. To compare like with like, either enter the profile diameter on this page or change the profile to your measured value. Then check the job length against the spool estimate. A comfortable rule for long prints is to start only when the spool holds noticeably more than the job needs, because a run-out near the top of a tall part usually ruins it unless your printer has a reliable filament sensor and resume feature.

What a spool-length estimate cannot see

The result assumes a uniform, circular strand with the density you entered along its whole length. Moisture absorption adds a little mass to hygroscopic materials such as nylon and PETG, which can make a damp spool look slightly longer on paper than it is. The calculator does not check whether a material suits your printer, calibrate flow or extrusion, or assess any electrical or safety question. The output is rounded to three decimal places for display, which is far finer than the precision of a kitchen scale or a caliper reading. Treat the estimate as a planning figure and keep a margin for purge, brims and failed starts.