CalculatorMasters

3D Printing Quantity Calculator Formula

Learn how to estimate 3D printing filament volume, weight, length, and material cost from a model volume and print assumptions.

This calculation provides an early estimate of filament needed before slicing a model. It adjusts the solid model volume for estimated material fill and waste, then uses density, filament diameter, and price to estimate grams, metres, and material-only cost.

  • 100% Free
  • No Sign-Up Required
  • Private & Secure
  • Mobile Friendly

Estimated filament weight

W = V × (F / 100) × (1 + A / 100) × D

Where:

Start with the solid model volume, apply the estimated material fill, add waste, and multiply the resulting material volume by filament density.

Variables Explained

VariableWhat It MeansUnit
W - Estimated filament weightEstimated mass of filament required, including the waste allowance.g
V - Model solid volumeVolume of the model if it were completely solid.cm³
F - Estimated material fillPercentage used as a simplified estimate for infill, walls, top and bottom layers, and supports.percent
A - Waste allowanceExtra percentage of material allowed for purging, brims, supports, setup losses, and similar waste.percent
D - Filament densityMass per unit volume of the selected filament material.g/cm³
d - Filament diameterNominal diameter of the round filament.mm
P - Filament price per kilogramPurchase price of one kilogram of filament.currency

Step-by-Step Calculation

1

Estimate base material volume

Apply the estimated material fill percentage to the fully solid model volume.

baseMaterialVolume = modelVolume * (materialFill / 100)

2

Add the waste allowance

Increase the base volume to account for expected extra material.

totalMaterialVolume = baseMaterialVolume * (1 + wasteAllowance / 100)

3

Convert volume to weight

Multiply material volume by density to calculate estimated filament mass in grams.

filamentWeight = totalMaterialVolume * materialDensity

4

Calculate filament cross-sectional area

Treat the filament as a circular strand to find its area in square millimetres.

filamentCrossSection = 3.14159265 * pow(filamentDiameter / 2, 2)

5

Convert material volume to filament length

Convert cubic centimetres to cubic millimetres, divide by strand area, then convert millimetres to metres.

filamentLength = (totalMaterialVolume * 1000) / filamentCrossSection / 1000

6

Calculate material cost

Convert grams to kilograms and multiply by the entered price per kilogram.

materialCost = (filamentWeight / 1000) * filamentPrice

Example: small PLA print estimate

Model solid volume100 cm³
Estimated material fill20%
Waste allowance10%
PLA density1.24 g/cm³
Filament diameter1.75 mm
Filament price$25.00 per kg
1

Base material volume

100 × (20 / 100)

20.0 cm³

2

Total material volume

20.0 × (1 + 10 / 100)

22.0 cm³

3

Filament weight

22.0 × 1.24

27.3 g

4

Filament cross-sectional area

3.14159265 × pow(1.75 / 2, 2)

2.405 mm²

5

Filament length

(22.0 × 1000) / 2.405 / 1000

9.1 m

6

Material cost

(27.3 / 1000) × 25.00

$0.68

Final Result

The print is estimated to require 27.3 g, or about 9.1 m, of 1.75 mm PLA at an estimated material cost of $0.68.

Try the Calculator →

Assumptions

  • The entered model volume represents a fully solid version of the part.
  • Estimated material fill is a simplified proxy for infill, shells, top and bottom layers, and supports.
  • Filament density is uniform and matches the selected material.
  • The filament has a consistent circular diameter.
  • The price per kilogram represents the cost of usable filament.

Limitations

  • !A slicer uses exact toolpaths and can produce a materially different estimate.
  • !Wall count, layer height, infill pattern, support geometry, and seam settings are not calculated separately.
  • !Actual waste can vary with purging, priming, calibration, failed starts, and printer setup.
  • !The cost excludes electricity, printer depreciation, labour, shipping, and failed prints.

Common Mistakes to Avoid

1

Entering a volume in mm³ as though it were cm³; divide mm³ by 1,000 before entering it.

2

Using infill percentage alone without allowing for walls, top layers, supports, or a waste allowance.

3

Using a PLA density value for a different material without checking its product data.

4

Entering spool price rather than price per kilogram.

5

Expecting filament diameter to change estimated weight; it changes length, not mass for the same volume and density.

Related Formulas

Frequently Asked Questions

How is 3D print filament weight calculated?

The calculator multiplies solid model volume by estimated material fill and waste allowance, then multiplies that volume by filament density.

How do you calculate filament length from volume?

The material volume is divided by the circular cross-sectional area of the filament. A larger diameter produces a shorter required length for the same volume.

Does infill percentage equal material fill?

Not exactly. Infill does not include shells, solid layers, supports, or purge material, so material fill should be treated as a broader planning estimate.

Why is density needed for a filament estimate?

Density converts the estimated material volume into grams. Different filament materials can have different densities.

Does changing from 1.75 mm to 2.85 mm filament change the weight needed?

No. With the same material volume and density, weight stays the same, while the estimated filament length becomes shorter for thicker filament.

Ready to calculate your result?

Use the calculator to get instant results with your own inputs.

Try 3D Printing Quantity Calculator