<p><a href="http://slic3r.org/" rel="nofollow noreferrer">Slic3r</a> will calculate the weight after you have exported the G-Code.</p>

<p>Normally, you'll only see the "Info" box. But after saving as G-Code, there's a "Sliced Info" which mentions the weight according to the settings you made (filament type and infill).</p>

<p>That's how it looks like:</p>

<p><a href="https://i.sstatic.net/cnZRE.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cnZRE.png" alt="enter image description here"></a></p>

CC BY-SA 4.0
2018-11-11T21:15:04.123Z
2018-11-11T21:15:04.123Z
Thomas Weller
<p>Some slicing programs will give this information. Here is the first comment at the end of the print, which gives volume and length of material used, from gcode generated by <a href="http://slic3r.org" rel="nofollow noreferrer">Slic3r</a>:</p>

<pre><code> ; filament used = 388.6mm (0.9cm3)
</code></pre>

<p>According to <a href="https://www.toybuilderlabs.com/blogs/news/13053117-filament-volume-and-length" rel="nofollow noreferrer">ToyBuilder Labs</a>, ABS is 1.04&nbsp;g/cm<sup>3</sup>, so 0.9 * 1.04 = <strong>0.936</strong>, or just under one gram.</p>

<p>In the G-code file produced by the slicer, search for "filament" or "M30" - it's right after the M30. You might need to use the verbose G-code option.</p>

CC BY-SA 4.0
2017-03-14T21:45:11.277Z
2019-07-23T19:43:01.193Z
2019-07-23T19:43:01.193Z
Davo
<p>This is a link I found that analyzes your G-code ( filament usage, time, etc.): <a href="http://gcode.ws/" rel="nofollow noreferrer">gCodeViewer</a></p>

<p>From the description (emphasis is mine):</p>

<blockquote>
  <ul>
  <li>Analyze GCode
  
  <ul>
  <li>Print time, <strong><em>amount of plastic used</em></strong>, layer height, etc. for whole file and for single layer</li>
  </ul></li>
  </ul>
</blockquote>

<p>Here is a screenshot:</p>

<blockquote>
  <p><a href="https://i.sstatic.net/pDsuL.png" rel="nofollow noreferrer" title="Screenshot"><img src="https://i.sstatic.net/pDsuL.png" alt="Screenshot" title="Screenshot"></a></p>
</blockquote>

CC BY-SA 4.0
2018-03-17T17:50:11.177Z
2019-08-12T11:30:17.517Z
2019-08-12T11:30:17.517Z
mostafa Ahmed Hegazy
<p>You can not tell this by looking at the STL file alone, because how much material will be used depends on the print settings (obviously, printing at 100% infill will consume much more material than 10%).</p>

<p>The best way to check the material usage is to load the model into a slicer and slice it using your preferred settings. Most slicers will report the projected material usage, often in grams but sometimes in meters of filament (but the two figures are easily converted between each other if you know the density and diameter of your material).</p>

<p>Here is an example in the Cura slicer:</p>

<p><a href="https://i.sstatic.net/e23iM.png" rel="noreferrer"><img src="https://i.sstatic.net/e23iM.png" alt="Cura print statistics"></a></p>

<p>Simplify3D (after you click "prepare to print!") also shows you the projected print time and material usage and even the cost of the material (if you have previously entered the material cost per kilogram):</p>

<p><a href="https://i.sstatic.net/pjcxO.png" rel="noreferrer"><img src="https://i.sstatic.net/pjcxO.png" alt="Simplify3D print statistics"></a></p>

CC BY-SA 3.0
2018-02-15T10:34:30.090Z
@TomvanderZanden do you know if its possible to determine the weight of filament left to print from a specific layer? Ie assuming there are 200 layers on your model, how would you know how much material was required to print from layer 150 -> 200?
Hans Rudel
CC BY-SA 3.0
2018-02-15T12:32:53.060Z
@HansRudel That's a new, separate question. As a side note, in some slicers you can indicate you want to start printing from a given layer - the slicer would probably give you an estimate then.
Tom van der Zanden
CC BY-SA 4.0
2019-08-12T18:30:36.727Z
This is a good answer, but I'd add text to the bottom (in bold, no less) that the amounts and times you see in the slicer are ***estimates***, and actual numbers can and will vary from what the slicer shows.
Joel Coehoorn
CC BY-SA 3.0
2017-03-15T13:24:45.350Z
Hi, I installed cura and imported and STL file but I dont have a printer connected to my computer (it's still being shippped), so how do I see the amount of material the will be used (aproximatelly yof course)?
Samul
CC BY-SA 3.0
2017-03-15T13:25:06.980Z
Have you checked to see how accurate are Cura's estimates? I use makerware and I've found their estimates to be fairly wrong. In excess of 15% error. Just wondering if Cura would be any better.
Diesel
CC BY-SA 3.0
2017-03-15T13:46:21.997Z
@Samul You *don't* need a printer connected to your computer. Just load a model and slice it.
Tom van der Zanden
CC BY-SA 3.0
2017-03-15T13:49:32.323Z
@Diesel I don't think the (in)accuracy of the estimates is due to the slicer. It should give a 100% accurate value; any deviation is due to (1) the printer not extruding as much as the slicer tells it to (2) the filament having a different diameter than configured (3) the filament having a different density than configured.
Tom van der Zanden
CC BY-SA 3.0
2017-03-15T16:55:21.117Z
@Tom van der Zanden I opened cura -> OPEN FILE -> selected STL file and it says it will use only 5g! It's certainly wrong. Would you mind checking in your Cura if it is really 5g? The STL file is here -> https://ufile.io/fc80e
Samul
CC BY-SA 3.0
2017-03-15T17:08:39.767Z
@Samul The .STL file only defines the surface geometry of the part. The slicer has many settings that will affect the amount of material used. The infill is usually not solid, but a pattern that is still fairly string but mostly air, and uses FAR less filament and time. There are also settings for the external shell thickness. You can also resize the object in the slicer. If the STL was created in inches, it may be opened by the slicer expecting mm, and cone out tiny. If the object is bigger than your print volume, it might be automatically shrunk to fit.
mbmcavoy
CC BY-SA 3.0
2017-03-15T17:35:46.813Z
@Samul That file comes out to around 100g for me.
Tom van der Zanden
CC BY-SA 3.0
2017-03-15T19:28:50.060Z
Thanks man, I have no idea why it came out 5g to me! I used 80% infill. But I thank you so much!
Samul
CC BY-SA 3.0
2017-03-16T20:33:52.320Z
@Tom van der Zanden I hadn't considered the density being off. I'll have to check that out. Thanks
Diesel
CC BY-SA 3.0
2017-03-14T21:49:42.817Z
2017-03-14T21:49:42.817Z
Tom van der Zanden
<p>I have an STL file and I would like to know how many grams would this print consume. Is there a software so I can get it or an online link that can say me  that?</p>

<filament><abs>
How many grams will be used in a print
Samul
# How many grams will be used in a print

(Asked by: username_0 on 2017-03-14)

I have an STL file and I would like to know how many grams would this print consume. Is there a software so I can get it or an online link that can say me that?

**Tags:** filament, abs


---

## 4 answers

### Answer by username_4 on 2017-03-14. Score: 9 | Accepted answer

You can not tell this by looking at the STL file alone, because how much material will be used depends on the print settings (obviously, printing at 100% infill will consume much more material than 10%).

The best way to check the material usage is to load the model into a slicer and slice it using your preferred settings. Most slicers will report the projected material usage, often in grams but sometimes in meters of filament (but the two figures are easily converted between each other if you know the density and diameter of your material).

Here is an example in the Cura slicer:

[![Cura print statistics](https://i.sstatic.net/e23iM.png)](https://i.sstatic.net/e23iM.png)

Simplify3D (after you click "prepare to print!") also shows you the projected print time and material usage and even the cost of the material (if you have previously entered the material cost per kilogram):

[![Simplify3D print statistics](https://i.sstatic.net/pjcxO.png)](https://i.sstatic.net/pjcxO.png)

> **Comments:**
> **username_0**: Hi, I installed cura and imported and STL file but I dont have a printer connected to my computer (it's still being shippped), so how do I see the amount of material the will be used (aproximatelly yof course)?  
> **username_7**: Have you checked to see how accurate are Cura's estimates? I use makerware and I've found their estimates to be fairly wrong. In excess of 15% error. Just wondering if Cura would be any better.  
> **username_4**: @username_0 You *don't* need a printer connected to your computer. Just load a model and slice it.  
> **username_4**: @username_7 I don't think the (in)accuracy of the estimates is due to the slicer. It should give a 100% accurate value; any deviation is due to (1) the printer not extruding as much as the slicer tells it to (2) the filament having a different diameter than configured (3) the filament having a different density than configured.  
> **username_0**: @username_4 I opened cura -> OPEN FILE -> selected STL file and it says it will use only 5g! It's certainly wrong. Would you mind checking in your Cura if it is really 5g? The STL file is here -> https://ufile.io/fc80e  
> **username_8**: @username_0 The .STL file only defines the surface geometry of the part. The slicer has many settings that will affect the amount of material used. The infill is usually not solid, but a pattern that is still fairly string but mostly air, and uses FAR less filament and time. There are also settings for the external shell thickness. You can also resize the object in the slicer. If the STL was created in inches, it may be opened by the slicer expecting mm, and cone out tiny. If the object is bigger than your print volume, it might be automatically shrunk to fit.  
> **username_4**: @username_0 That file comes out to around 100g for me.  
> **username_0**: Thanks man, I have no idea why it came out 5g to me! I used 80% infill. But I thank you so much!  
> **username_7**: @username_4 I hadn't considered the density being off. I'll have to check that out. Thanks  
> **username_5**: @username_4 do you know if its possible to determine the weight of filament left to print from a specific layer? Ie assuming there are 200 layers on your model, how would you know how much material was required to print from layer 150 -> 200?  
> **username_4**: @username_5 That's a new, separate question. As a side note, in some slicers you can indicate you want to start printing from a given layer - the slicer would probably give you an estimate then.  
> **username_6**: This is a good answer, but I'd add text to the bottom (in bold, no less) that the amounts and times you see in the slicer are ***estimates***, and actual numbers can and will vary from what the slicer shows.  

---

### Answer by username_1 on 2018-11-11. Score: 4

[Slic3r](http://slic3r.org/) will calculate the weight after you have exported the G-Code.

Normally, you'll only see the "Info" box. But after saving as G-Code, there's a "Sliced Info" which mentions the weight according to the settings you made (filament type and infill).

That's how it looks like:

[![enter image description here](https://i.sstatic.net/cnZRE.png)](https://i.sstatic.net/cnZRE.png)


---

### Answer by username_2 on 2017-03-14. Score: 2

Some slicing programs will give this information. Here is the first comment at the end of the print, which gives volume and length of material used, from gcode generated by [Slic3r](http://slic3r.org):

```
 ; filament used = 388.6mm (0.9cm3)

```

According to [ToyBuilder Labs](https://www.toybuilderlabs.com/blogs/news/13053117-filament-volume-and-length), ABS is 1.04 g/cm3, so 0.9 \* 1.04 = **0.936**, or just under one gram.

In the G-code file produced by the slicer, search for "filament" or "M30" - it's right after the M30. You might need to use the verbose G-code option.


---

### Answer by username_3 on 2018-03-17. Score: 1

This is a link I found that analyzes your G-code ( filament usage, time, etc.): [gCodeViewer](http://gcode.ws/)

From the description (emphasis is mine):

> * Analyze GCode
>   + Print time, ***amount of plastic used***, layer height, etc. for whole file and for single layer

Here is a screenshot:

> [![Screenshot](https://i.sstatic.net/pDsuL.png "Screenshot")](https://i.sstatic.net/pDsuL.png "Screenshot")


---

