Skip to main content
Calcimator

FDM Filament Calculator

Calculate filament usage, weight, and length from part volume, infill percentage, and material density.

About this calculator

This calculator splits a part's bounding volume into two zones — the solid outer shell and the interior fill — because FDM printers deposit them differently. It approximates the shell's share of total volume as shell thickness divided by a rough 20mm average wall-to-center distance, then applies your chosen infill percentage only to what's left over (the interior). Add those two fractions together and you get the "effective fill" — the real percentage of the part's volume that actually gets filled with plastic, which is always higher than your raw infill setting because the solid shell counts too. From there the math is straightforward: multiply part volume by effective fill to get material volume, multiply by density to get weight, and back out filament length by treating the filament as a cylinder (volume = πr²·length) using the diameter you specify.

The spool-used percentage just compares that weight against your spool's net weight. The one figure to watch is estimated cost: it's always computed at a flat $25/kg PLA rate, so if you're printing ABS, PETG, nylon, or TPU — materials this calculator already lets you set a different density for — the dollar estimate will be off from what you actually pay, since real filament pricing varies significantly by material and brand. Treat the cost output as a ballpark for standard PLA and use your own per-kilogram price for anything else. Also remember the 20mm shell-zone assumption is a simplification: very thin-walled or unusually shaped parts will see more error in the shell/infill split than a typical blocky print.

Inputs

%
oz

Results

Filament weight (g)

6.15

Filament length (m)

2.06

Material volume (cm³)4.96
Effective fill (%)24.8%
Spool used (%)0.62%
Est. material cost ($)$0.15
How to Use This Calculator
  1. Enter Part volume (cm³), Infill percentage (%), and Shell/wall thickness (mm).
  2. Set Material density (g/cm³), Filament diameter (mm), and Spool net weight (g).
  3. Review Filament weight (g) and Filament length (m).
  4. Use Material volume (cm³) and Effective fill (%) to inform your decision.

How the result changes with Part volume (cm³)

Part volume (cm³)Filament weight (g)Filament length (m)
103.081.03
154.611.55
309.233.09
5015.385.16

What each input means

Part volume (cm³)
Total bounding volume of the part in cubic centimeters. Export from your slicer or CAD software.
Infill percentage (%)
Interior fill density. Common: 10-20% (light), 40-60% (strong), 100% (solid).
Shell/wall thickness (mm)
Outer wall thickness. Typically 2-3 perimeters at 0.4mm each = 0.8-1.2mm.
Material density (g/cm³)
Filament density. PLA=1.24, ABS=1.04, PETG=1.27, Nylon=1.14, TPU=1.21.
Filament diameter (mm)
Standard filament diameters: 1.75mm or 2.85mm.
Spool net weight (g)
Net weight of filament on the spool (not including spool). Standard spool is 1000g.

What each result means

Material volume (cm³)
Actual volume of filament to be deposited.
Filament weight (g)
Total weight of filament needed.
Filament length (m)
Total length of filament that will be used.
Effective fill (%)
Combined shell + infill as percentage of total part volume.
Spool used (%)
Percentage of one spool consumed by this print.
Est. material cost ($)
Approximate cost based on typical PLA pricing ($25/kg).

How this is calculated

Worked example, using the default values

  1. Identify Input Parameters
    4 parameters
    Part volume (cm³) = 20, Infill percentage (%) = 20, Shell/wall thickness (mm) = 1.2, Material density (g/cm³) = 1.24 = 6 input(s) provided
  2. Calculate Filament weight
    Filament weight = materialVolumeCm3 * materialDensity
    6.15 = 6.15
  3. Calculate Filament length
    Filament length = filamentLengthCm / 100
    2.06 = 2.06
  4. Calculate Material volume
    Material volume = partVolumeCm3 * effectiveFillFraction
    4.96 = 4.96
  5. Calculate Effective fill
    Effective fill = shellFraction + (interiorFraction * infillPct / 100)
    24.8 = 24.8

Engine last updated . Checked against 2 independently-derived tests — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.

Frequently Asked Questions

Why is my "effective fill" percentage higher than the infill I set?

Effective fill combines two things: the solid outer shell (which is always 100% filled by definition) and your chosen infill percentage applied only to the remaining interior volume. Because the shell fraction gets added on top of the scaled-down infill fraction, the combined number is always at or above your raw infill setting — a 20% infill part with thick walls might show an effective fill closer to 30-35%.

How does the calculator turn a volume of plastic into a length of filament?

It treats the filament strand as a cylinder: volume equals π times radius squared times length, so length is just material volume divided by the filament's cross-sectional area. The radius comes from the diameter you enter (1.75mm or 2.85mm are standard), converted from millimeters to centimeters before the area is computed in cm².

Why does the estimated cost stay the same no matter what material density I enter?

Estimated cost is hard-coded to a flat $25/kg rate meant to approximate standard PLA — it multiplies the computed weight by that fixed price regardless of which material density you chose. If you're printing ABS, PETG, nylon, or TPU, treat the cost figure as a rough placeholder and substitute your own per-kilogram price for an accurate number.

How reliable is the shell/infill split for unusual part shapes?

The split assumes a rough 20mm average wall-to-center distance for every part, which works reasonably for typical blocky prints but breaks down for very thin-walled or oddly proportioned geometry. A tall, thin-walled vase or a part with wildly varying cross-sections will see more error between this estimate and your slicer's actual reported usage than a simple cube or box would.

The questions that sit next to this one — chosen by subject, including calculators filed under a different category.

More in Manufacturing, Industrial & Coatings.