What is in your G-code file: filament, layers, time and cost
Drop in a .gcode file from your slicer and see how much filament it will use, how long the print takes (by the slicer's estimate, when the file carries it), how many layers there are and which warnings apply. The numbers depend on the slicer and are sometimes wrong. See the model in 3D, work out the cost, download a PDF report. The file is read in your browser.
Opens with a free account.
- 3D layer by layera layer slider and travel moves
- 15 rulesfor temperature, cooling, supports
- Costfilament, power, depreciation, labor
- PDF reporta summary and the cost breakdown
What G-code is and what the analyzer shows
A G-code analyzer reads the .gcode file your slicer prepared for the printer and tells you what is inside: filament, layers and time, how the printing splits by type (walls, infill, supports) and what to check. G-code is a list of commands to the printer: where to go, how much to push out, at what temperature.
Before the print you see whether time and material are what you expect, whether the temperatures are sane and what the part will cost.
What the analyzer does with your file
Shows what is in the file
Print time, filament in grams, layers and average speed at a glance; details cover slicer, layer height, retractions, temperatures, cooling and object count.
Shows the model in 3D
A layer slider and travel moves. Above 50 MB the 3D preview is switched off and the numbers stay.
Gives warnings
15 rules: a nozzle above 240 or 255 °C, a bed at 0 °C, cooling off, a print over 24 hours and more; those for supports and bridges work only with OrcaSlicer's names.
Works out cost and makes a report
A cost and a recommended price; a comparison of two files; the last 20 analyses in the browser; a PDF report.
When to analyze G-code before printing
You analyze a file when you want to know what the printer will do before you start it.
How much filament and time it takes
You see the approximate grams and the time and decide if the spool is enough.
A price for a customer
Set spool price, power, printer and labor and get a price for a quote.
Comparing two variants
A file with 15% infill and one with 25% side by side: time, grams, layers.
A check before a long print
The warnings catch an unusual temperature, cooling that is off and a print over 24 hours.
How the cost of a print is calculated
The price is a sum of four parts and two surcharges: failure and margin.
Time comes from the slicer
If the file carries the slicer's estimate in a comment, it is shown. Otherwise the time is moves ÷ speed for the marked layers, with no acceleration.
Weight comes from the filament length
Worked out at 1.75 mm and 1.24 g/cm³, as for PLA. The weight line of PrusaSlicer and OrcaSlicer is not read.
The price is a sum and two surcharges
Failure and then margin are added to filament, power, depreciation and labor. The numbers sit in Cost Config and stay in the browser.
| Applies to | Formula | Meaning |
|---|---|---|
| Filament | weight · spool price ÷ spool weight | the weight comes from the filament length |
| Power | hours · power ÷ 1000 · rate | rate = day · (1 − n) + night · n; n = 0.3 over 8 hours, else 0; power starts at 200 W |
| Depreciation | hours · printer price ÷ lifetime in hours | the lifetime starts at 5000 hours |
| Labor | ((setup + post-processing) ÷ 60 + 0.05 · hours) · hourly rate | 0.05 · hours is the watching time; starts at 10 + 5 minutes |
| Cost and price | (filament + power + depreciation + labor) · (1 + failure); price = cost · (1 + margin) | starts at failure 5% and margin 30% |
Layer by layer, with warnings and a PDF
It reads the prepared file
The analysis runs on the G-code your slicer already made, so temperatures, cooling, retractions and supports are the real ones.
The price uses your numbers
Tariff, spool, depreciation, labor, failure and margin are fields you change; the profile stays in the browser.
The file stays with you
Reading, the 3D preview and the PDF report all happen in the browser: nothing goes to a server.
The numbers depend on the slicer. The time is not measured: OrcaSlicer and Bambu Studio give the model time without preparation, PrusaSlicer loses the days; with no estimate it is a rough sum with no acceleration, and with no layer comments layers and time are 0. A file from PrusaSlicer with a Prusa printer profile shows three times too many layers.
For Cura the weight, and the filament cost with it, comes out twice too high: the length from the file header is added again from the moves. Simplify3D and ideaMaker read the length the same way but are untested. Check the weight with your slicer.
Amounts on the screen carry the label “lv” (the PDF rows say “лв” (leva), its English header “BGN”), and the starting values for power, spool, printer and labor are in leva. Nothing is converted: for euro, enter your prices in euro, but the label stays. A binary .bgcode is not read. The Color by Type / Color by Speed menu does not change the colour: the model is one colour. The app opens in Bulgarian whatever your browser language is: pick EN in the language menu at the top right.
Questions about G-code files and print time
How to open a gcode file?
Drop the .gcode or .gco file on the box or pick it with the button: the app reads it in the browser. A binary .bgcode is not read.
What is gcode in 3D printing and how to read it?
G-code is a text file of commands to the printer: G1 moves, M104 and M109 set the nozzle temperature, M140 and M190 the bed, M106 the fan. The analyzer turns them into layers, time and filament.
How to check print time from gcode file?
It is the slicer's estimate if the file carries it in a comment: OrcaSlicer and Bambu Studio give the model time without preparation, PrusaSlicer loses the days. Without an estimate the analyzer adds moves ÷ speed with no acceleration.
How do I work out the cost of a 3D print?
Open the Cost Config tab: spool price and weight, power and tariff, printer price and lifetime, hourly rate, setup, failure and margin. The app shows a cost and a recommended price.
Is the G-code analyzer free?
It opens with a free account on EduFacturing, and Pro is not needed. The file stays in your browser.
The G-code analyzer is free with an account
Pro costs 15 EUR a month and opens 45 Pro tools.
Related tools
3D print cost calculator3D print cost calculator: upload an STL, pick a machine and a material, get the cost, the price and a quote. English screen. Pro, 15 EUR a month.
3D printer electricity cost calculator3D printer electricity cost calculator: kWh and euros for one print and for a month, day and night tariff, the cost of a printer left on, and CO₂. Free to use.
Filament calculatorFree filament length calculator: how many meters in 1 kg, what 1 meter weighs and how much is left on the spool. For 1.75 and 2.85 mm, 7 materials.
Slicer settings visualizerSlicer settings explained: 90 settings with a drawing, 53 with a slider, the reason and the trap. Search by symptom. Free account. The screen is in Bulgarian.
See what is inside your G-code file
Opens with a free account.