Your G-code
G-code file
Read locally by your browser and never sent anywhere. Plain-text G-code only; binary .bgcode files are not supported.
Or paste G-code
; sample: a 40 mm square, two layers G90 M83 G1 X10 Y10 F6000 ;LAYER_CHANGE G1 Z0.2 F600 G1 X50 Y10 E1.6 F1800 G1 X50 Y50 E1.6 G1 X10 Y50 E1.6 G1 X10 Y10 E1.6 ;LAYER_CHANGE G1 Z0.4 F600 G1 X50 Y10 E1.6 F1800 G1 X50 Y50 E1.6 G1 X10 Y50 E1.6 G1 X10 Y10 E1.6
Filament diameter (mm)
Read from the file when the slicer wrote it; otherwise 1.75 or 2.85 as your filament is.
Filament density (g/cm³)
Default is PLA’s solid density from a published data sheet. The file’s own value is used when present.
Spool price per kg
Any currency, for the cost line.
Result
Working out the result.