3D Print Filament Calculator — Estimate Filament Usage
Filament Weight
—
Filament Length
—
Filament Cost
—
How 3D Print Filament Calculation Works
A 3D print filament calculator estimates the weight, length, and cost of thermoplastic filament required for a given print based on object volume, infill density, wall thickness, and material type. According to Prusa Research, one of the leading 3D printer manufacturers, filament estimation is essential for avoiding mid-print runouts (which ruin the print) and for accurate cost quoting in production environments. The global 3D printing filament market reached $2.1 billion in 2024 and is projected to exceed $4.5 billion by 2030, reflecting rapidly growing adoption across prototyping, manufacturing, and hobbyist communities.
This calculator combines wall volume (solid outer shell) with infill volume (partially filled interior) to determine total material usage. It then multiplies by the filament's density to get weight in grams, and converts weight to filament length using the cross-sectional area of the filament diameter (1.75mm or 2.85mm). The result tells you how many grams and meters of filament you need, plus the material cost. For comprehensive project cost estimation including electricity and machine wear, use our 3D print cost calculator.
The Filament Usage Formula
The core calculation estimates total material volume, then converts to weight and length:
- Material Volume (cm3) = Print Volume x (Wall Fraction + Infill% x Interior Fraction)
- Filament Weight (g) = Material Volume x Filament Density (g/cm3)
- Filament Length (m) = Material Volume / Cross-Sectional Area of Filament
- Cost ($) = Weight (g) x Price per gram
Worked example: A 50 cm3 print at 20% infill with PLA (density 1.24 g/cm3) and 1.75mm filament at $25/kg. Material volume = 50 x (0.15 + 0.20 x 0.85) = 50 x 0.32 = 16.0 cm3. Weight = 16.0 x 1.24 = 19.8 g. Filament cross-section = pi x (0.0875 cm)^2 = 0.02405 cm2. Length = 16.0 / 0.02405 = 665 cm = 6.65 m. Cost = 19.8 x $0.025 = $0.50.
Key Terms You Should Know
- Infill Percentage: The density of the internal structure, expressed as a percentage. 0% is hollow, 100% is solid. Most functional prints use 15-25% infill with patterns like grid, gyroid, or honeycomb.
- Wall Thickness (Perimeters): The thickness of the solid outer shell, measured in millimeters or number of perimeter lines. Standard is 1.2mm (3 perimeters at 0.4mm nozzle). Increasing wall thickness improves strength more effectively than increasing infill.
- Filament Diameter: The cross-sectional diameter of the filament spool. The two standard sizes are 1.75mm (most common, used by Prusa, Creality, Bambu Lab) and 2.85mm (used by Ultimaker and some industrial machines).
- Slicer: Software (Cura, PrusaSlicer, OrcaSlicer) that converts a 3D model into G-code instructions for the printer. Slicers provide the most accurate filament estimates because they account for supports, brims, and exact toolpath geometry.
- Retraction: The pulling back of filament to prevent oozing during travel moves. Retraction wastes a small amount of filament and causes slight wear on the filament path.
Filament Types Compared: Properties, Cost, and Use Cases
Different filament materials have dramatically different properties, densities, and price points. The table below compares the most common FDM/FFF filament types based on data from major manufacturers.
| Filament | Density (g/cm3) | Print Temp (C) | Price ($/kg) | Best For |
|---|---|---|---|---|
| PLA | 1.24 | 190-220 | $15-$30 | Prototypes, decorative items, low-stress parts |
| ABS | 1.04 | 230-260 | $15-$25 | Functional parts, enclosures, heat-resistant items |
| PETG | 1.27 | 220-250 | $18-$30 | Mechanical parts, outdoor use, food-safe containers |
| TPU | 1.21 | 220-250 | $25-$45 | Flexible parts, phone cases, gaskets, grips |
| Nylon (PA) | 1.14 | 240-270 | $30-$60 | High-strength parts, gears, hinges, tools |
| ASA | 1.07 | 240-260 | $20-$35 | Outdoor parts (UV-resistant ABS alternative) |
Practical Filament Estimation Examples
Example 1 -- Phone Stand (small print): Volume: 15 cm3, 20% infill, PLA. Material volume = 15 x 0.32 = 4.8 cm3. Weight = 4.8 x 1.24 = 5.95 g. Length = 2.0 m. Cost = $0.15. A single 1kg spool produces approximately 168 identical phone stands.
Example 2 -- Drone Frame (medium print): Volume: 120 cm3, 40% infill, PETG for strength. Material volume = 120 x 0.49 = 58.8 cm3. Weight = 58.8 x 1.27 = 74.7 g. Length = 24.5 m. Cost = $1.87 at $25/kg. Use our print time calculator to estimate how long this will take.
Example 3 -- Full-Size Helmet (large print): Volume: 800 cm3, 15% infill, PLA. Material volume = 800 x 0.278 = 222.4 cm3. Weight = 222.4 x 1.24 = 275.8 g. Length = 92.5 m. Cost = $6.90 at $25/kg. This requires about 28% of a 1kg spool. Printing in multiple pieces may be necessary depending on your printer's build volume.
Tips for Reducing Filament Waste
- Optimize infill pattern: Gyroid and honeycomb infill patterns provide excellent strength-to-weight ratios at lower percentages. A gyroid at 15% can match the strength of rectilinear at 25%, saving 25-30% material. Check your slicer's infill options for the most efficient pattern.
- Increase wall count instead of infill: According to CNC Kitchen's strength testing research, adding one extra wall perimeter improves tensile strength more than increasing infill from 20% to 50%. Walls are more material-efficient for structural strength.
- Minimize supports: Orient your model to reduce overhangs below 45 degrees, eliminating the need for support structures. Supports can add 15-30% to filament usage and require removal labor. Tree supports (available in Cura and OrcaSlicer) use less material than traditional grid supports.
- Use a filament runout sensor: If your printer supports it, a runout sensor pauses the print when filament runs out, allowing you to load a new spool without wasting the partially completed print.
- Track remaining spool weight: Weigh your spool before printing. A typical empty 1.75mm spool weighs 200-250g. If the spool weighs 450g, you have approximately 200-250g of filament remaining. Compare this to the calculator's weight estimate before starting.
Frequently Asked Questions
How much filament does a typical 3D print use?
Filament usage varies enormously by object size and infill. Small prints (keychains, phone stands) use 5-20 grams. Medium prints (enclosures, brackets) use 20-100 grams. Large prints (helmets, vases) can use 100-500+ grams. A standard 1kg spool of PLA contains approximately 330 meters of 1.75mm filament, enough for dozens of small prints or 2-4 large ones. Infill percentage is the single biggest factor -- a 100 cm3 object uses roughly 25g at 20% infill versus 124g at 100% infill. Always check your slicer's estimate for the most accurate prediction.
Does infill percentage affect print strength?
Yes, but not linearly. Research by CNC Kitchen and other 3D printing test channels shows that increasing infill from 10% to 25% improves tensile strength by approximately 40%, but going from 25% to 50% only adds another 20%. Going from 50% to 100% adds very little additional strength while doubling material usage. For most functional parts, 20-25% infill with 3-4 wall perimeters provides an excellent balance of strength and material efficiency. Wall thickness contributes more to overall part strength than infill density, especially for parts under bending or compression loads.
What filament density should I use for this calculator?
Use the density specified by your filament manufacturer, which is usually printed on the spool label or product listing. Standard densities: PLA = 1.24 g/cm3, ABS = 1.04 g/cm3, PETG = 1.27 g/cm3, TPU = 1.21 g/cm3, Nylon = 1.14 g/cm3, ASA = 1.07 g/cm3, Polycarbonate = 1.20 g/cm3. Specialty filaments (wood-fill, metal-fill, carbon fiber) have different densities depending on the fill material percentage. Carbon fiber PLA is typically 1.15-1.20 g/cm3, while metal-fill PLA can reach 1.8-3.5 g/cm3.
How accurate is this calculator compared to slicer estimates?
This calculator provides a ballpark estimate within approximately 10-20% of actual usage for most prints. Slicer software (PrusaSlicer, Cura, OrcaSlicer) provides more accurate estimates because it calculates the exact toolpath including support structures, brims, skirts, and retraction moves. The calculator is most useful for quick pre-planning, material purchasing decisions, and cost comparisons across different filament types. For production quoting, always use the slicer estimate. The calculator tends to slightly underestimate because it does not account for support material, which can add 5-30% to the total.
How many meters of filament are on a 1kg spool?
The length depends on filament material density and diameter. For 1.75mm PLA (density 1.24 g/cm3), a 1kg spool contains approximately 335 meters. For 1.75mm ABS (density 1.04 g/cm3), it contains about 400 meters. For 2.85mm PLA, a 1kg spool holds only about 126 meters because the thicker filament has a larger cross-sectional area. The formula is: Length (m) = 1000g / (density x pi x (diameter/20)^2). Knowing your remaining spool length helps you decide whether to start a long print or swap to a fresh spool first.
What is the best infill pattern for strength?
Gyroid infill provides the best all-around strength-to-weight ratio, performing well under tensile, compressive, and shear loads while using minimal material. Honeycomb is strong under compression. Grid (rectilinear) is the default in most slicers and prints fastest but is weaker under shear forces. Cubic infill is good for all-direction strength. For parts under specific loads, align the infill pattern with the expected force direction -- lines parallel to the load direction provide the most resistance. Lightning infill (available in Cura) uses the least material of any pattern but is designed only to support top surfaces, not provide structural strength.