Filament Length & Weight Calculator
Convert instantly between 3D printing filament weight (grams/ounces) and length (meters/feet) for 1.75mm and 2.85mm diameters across all major polymer densities.
What This Tool Does & Problem It Solves
The Filament Length Calculator performs high-precision, two-way mathematical conversions between 3D printing filament weight in grams and extrusion length in meters or feet.
Filament is universally sold and purchased by weight (e.g., 1 kg spools), but 3D printer slicers (Bambu Studio, PrusaSlicer, OrcaSlicer, Cura) and G-code commands command feed rates in linear length (millimeters and meters). Because different polymers possess radically different physical densities—ABS is 16% lighter than PLA, and PLA is 5% lighter than PLA-CF—a 1 kg spool of ABS produces roughly 60 more meters of filament than PLA. This calculator ensures exact conversion between linear G-code commands and physical spool grams.
Step-by-Step Instructions
- Select Conversion Direction:
- Mode A (Weight to Length): Enter physical filament weight in grams (e.g., 250g) to discover how many meters that yields.
- Mode B (Length to Weight): Enter the meters or millimeters generated by your slicer's preview screen to calculate how many grams of filament the print requires.
- Choose Material & Density: Pick from our calibrated polymer presets (PLA, PETG, ABS, ASA, TPU 95A, Nylon, PC, PLA-CF).
- Select Filament Diameter: Toggle between standard 1.75 mm and large-format 2.85 mm.
- Review Conversion Metrics: Instantly inspect equivalent meters, feet, grams, ounces, displacement volume ($\text{cm}^3$), and estimated material value.
- Copy Conversion: Tap Copy Length & Weight Conversion to paste the metrics directly into your slicer notes or manufacturing log.
Mathematical Formulas Used
Filament strand conversions model filament as an continuous cylindrical rod:
-
Cross-Sectional Area ($A_{\text{filament}}$):
$$r = \frac{\text{Diameter (mm)}}{20} \quad (\text{radius in cm})$$ $$A = \pi \times r^2 \quad (\text{cm}^2)$$ For 1.75 mm: $A = \pi \times 0.0875^2 \approx 0.0240528\text{ cm}^2$
For 2.85 mm: $A = \pi \times 0.1425^2 \approx 0.063794\text{ cm}^2$ -
Weight to Length:
$$V_{\text{cm}^3} = \frac{\text{Weight (g)}}{\rho_{\text{density (g/cm}^3\text{)}}}$$ $$\text{Length (m)} = \frac{V_{\text{cm}^3}}{A \times 100}$$ $$\text{Length (ft)} = \text{Length (m)} \times 3.28084$$ -
Length to Weight:
$$V_{\text{cm}^3} = A \times (\text{Length (m)} \times 100)$$ $$\text{Weight (g)} = V_{\text{cm}^3} \times \rho_{\text{density}}$$ $$\text{Weight (oz)} = \text{Weight (g)} \times 0.035274$$
Material Density & Length Reference Matrix (1 kg Spool)
The table below demonstrates how physical polymer density directly determines the total usable extrusion length contained within a standard 1 kg (1,000 g) spool:
| Material Type | Density (g/cm³) | 1.75mm Length (Meters) | 1.75mm Length (Feet) | 2.85mm Length (Meters) |
|---|---|---|---|---|
| ABS (Acrylonitrile Butadiene) | 1.04 | 399.8 m | 1,311.7 ft | 150.7 m |
| ASA (Acrylonitrile Styrene) | 1.07 | 388.6 m | 1,274.9 ft | 146.5 m |
| Nylon / Polyamide (PA) | 1.14 | 364.7 m | 1,196.5 ft | 137.5 m |
| Polycarbonate (PC) | 1.20 | 346.5 m | 1,136.8 ft | 130.6 m |
| TPU 95A (Flexible) | 1.21 | 343.6 m | 1,127.3 ft | 129.5 m |
| PLA (Standard Polylactic Acid) | 1.24 | 335.3 m | 1,100.0 ft | 126.4 m |
| PETG (Glycol Modified) | 1.27 | 327.4 m | 1,074.1 ft | 123.4 m |
| PLA-CF (Carbon Fiber Reinforced) | 1.30 | 319.8 m | 1,049.2 ft | 120.5 m |
Common Practical Use Cases
- Slicer G-Code Length to Grams: Translating G-code preview output (e.g. "Total filament used: 42,500 mm") into exact grams (approx 127g PLA) to verify spool capacity.
- Custom Spool Respooling: Measuring physical meters on a mechanical line counter when splitting 5kg bulk master spools into 500g personal spools.
- Cost per Meter Analysis: Calculating that standard $20/kg PLA costs approximately $0.06 per meter of extruded filament.
- 3D Pen Filament Sizing: Sizing precut 5-meter filament strands for educational craft kits and 3D pen art.
Realistic Example & Expected Output
Scenario: You want to know how many meters of filament are in a 250g sample coil of PETG (1.75mm diameter, density 1.27 g/cm³).
- Weight: 250 g
- Density: 1.27 g/cm³
- Volume: $250 / 1.27 = 196.85\text{ cm}^3$
- Cross-Sectional Area (1.75mm): $0.02405\text{ cm}^2$
- Resulting Length: $\frac{196.85}{0.02405 \times 100} = 81.85\text{ meters}$ ($268.5\text{ feet}$).
Technical Specifications & Mechanics
- Zero API Calls: Calculations operate entirely in local memory via JavaScript double-precision primitives.
- Standard Diameter Calibration: Accommodates commercial filament tolerances (±0.02mm) with exact geometric cylindrical math.
- Metric and Imperial Readouts: Provides meters, feet, grams, ounces, and volumetric displacement simultaneously.
Limitations & Browser Boundaries
Calculations assume a solid, uniform strand diameter along the entire length of filament. Filament with minor diameter fluctuations (±0.03mm) will experience variations of less than 0.5% in total length.
Privacy & Security Guarantee
No design files, dimensions, or usage statistics are uploaded or tracked. All conversions occur client-side on your device.
Frequently Asked Questions
Why does 2.85mm filament have so few meters per spool?
Cross-sectional area is proportional to the square of the diameter ($r^2$). A 2.85mm cylinder has 2.65 times the cross-sectional area of a 1.75mm cylinder. Therefore, each meter of 2.85mm filament weighs 2.65 times more than a meter of 1.75mm.
How does filament density change with carbon fiber additives?
Milled carbon fiber fragments increase polymer mass per volume, raising PLA density from 1.24 to ~1.30 g/cm³. This slightly decreases the total meters per kilogram, but significantly improves stiffness and heat resistance.
Can I use this tool for TPU flexible filament?
Yes! Select TPU 95A (density 1.21 g/cm³). Although TPU stretches during extrusion, its relaxed state before entering the extruder drive gears conforms exactly to standard volumetric geometry.