# How to calculate the approximate volume of material used in 3d print?

Is there a reasonable way of approximating the volume of material used for 3D print by knowing only the STL file volume and infill percentage?

Or what is the formula for calculating the exact volume and which parameters can be fixed to reasonable values?

Can this be done easily using Slic3r or CuraEngine in command line?

Note: Supposedly 3Dhubs use Cura[*] software to calculate the print volume.

Any help is appreciated.

[*] www.3dhubs.com/talk/thread/calculate-print-volume

• by knowing only the STL file volume which else volume do you want? – fukanchik Jul 20 '16 at 17:32
• Are you sure you want the volume, or are you asking for the amount of print material required to print? The volume does not depend on the infill percentage, but the print material usage does. – emackey Jul 20 '16 at 20:07
• @dsalaj, so what you are saying is that you want to know the volume of the material used, and not the volume of the final print? – Tormod Haugene Jul 21 '16 at 7:44
• @TormodHaugene You are right. I was ignorant thinking these two are the same. Obviously the volume after melting, cooling, etc. will change. I was able to work out the volume of material used know simply by using the filament length (calculated by Cura) and filament diameter. – dsalaj Jul 21 '16 at 10:31
• @TormodHaugene Thank you. Yes I have. I only need to figure out how to do it from command line with CuraEngine. I will do that, thanks. – dsalaj Jul 21 '16 at 10:38

## 1 Answer

Possible way to calculate the volume of material used is to multiply the filament length (calculated by CURA after slicing and displayed in lower right corner) and surface of filament tip.

Volume = Filament_length * ( Filament_diameter / 2 )^2 * PI

Of course do not forget to convert all values to the same order of magnitude (e.g. cm³).

• This is the correct answer for the volume of material used as talked about in the comments. Note that a traditional geometric volume of the final print would of course include the interior empty space between infill supports, not just the volume of the material used (for example, print a watertight model and dunk it in water, check the amount of water displacement). But for material used, this is the correct formula. – emackey Jul 21 '16 at 13:20