G-code Print Time & Shop Quote Estimator

Drop a sliced .gcode file locally to extract slicer-exact filament weight, print hours, and layer count—then price the job in seconds.

Free Local Parser · Zero Upload
Presets
Step 1 · Slicer G-code Extraction Bambu Studio · 265 layers
Step 2 · Spool Cost & All-In Machine Rate Power + depreciation combined
Step 3 · Failure Reserve & Target Markup Check revenue per printer-hour

Worked Slicer G-code Quote Examples

Representative jobs sliced across OrcaSlicer, Bambu Studio, PrusaSlicer, and Cura showing why machine hours usually outweigh plastic weight.

G-code quote benchmarks by slicer profile
Sliced Job Slicer Grams & Hours Unit Cost Customer Quote Rev / Hr
Wall Mount Bracket (OrcaSlicer) OrcaSlicer 64g · 2.4h $6.80 $10.20 $4.25/hr
Gridfinity 4×3 Organizer Tray (Bambu) Bambu Studio 118g · 3.8h $9.78 $15.16 $3.99/hr
Helical PETG Spur Gear (PrusaSlicer) PrusaSlicer 38g · 3.1h $8.43 $13.49 $4.35/hr
DIN-Rail Control Box (Cura) Cura 215g · 9.5h $26.12 $39.19 $4.12/hr

How Slicer Metadata Maps to Shop Quotes

Slicer-exported G-code removes guesswork from infill density, seam geometry, and support structures—leaving only shop rates to verify.

G-code Quoting Equations

MaterialCost = (FilamentGrams / 1000) × SpoolPrice
MachineCost = PrintHours × MachineHourlyRate
UnitProdCost = (MaterialCost + MachineCost + Handling) × (1 + Fail%)
UnitQuote = UnitProdCost × (1 + Markup%)
RevPerHour = UnitQuote / PrintHours

Known Slicer Discrepancies

  • Actual print time often runs 5%–15% longer than slicer estimates when firmware acceleration limits or bed-mesh probing differ from slicer machine limits.
  • Cura meter-only exports omit gram comments when material profiles are unconfigured; STLCost derives grams assuming 1.75 mm PLA (2.98 g/m), so adjust if using PETG or 2.85 mm rolls.
  • Purge lines & AMS filament swaps may be excluded in older slicer builds; add 5%–10% to Filament Used if you run multi-material towers.

Frequently Asked Questions

Which slicers are supported by the browser-local G-code parser?

STLCost reads standard comment headers and footers from PrusaSlicer, OrcaSlicer, Bambu Studio, and UltiMaker Cura—including multi-extruder comma-separated gram lines and Cura's ;TIME: seconds format.

Why does Bambu Studio or OrcaSlicer sometimes store metadata at the end of the file?

Most modern slicers write filament weight, total layer number, and estimated print time in the footer block after the final extrusion move. STLCost scans the full text locally in memory so both header and footer blocks are captured.

What should I include in the Machine Hourly Rate field?

Combine electricity cost (typically $0.02–$0.05/hr), printer amortization ($0.35–$0.85/hr), and routine wear parts (nozzles, build plates, lubrication). Most small print farms set Machine Hourly Rate between $1.00 and $2.25/hr before profit markup.

Can I parse .bgcode (binary G-code) files directly?

Plain-text .gcode files are parsed natively. If your slicer defaults to Prusa binary .bgcode or Bambu .3mf archives, toggle 'Export plain G-code' in slicer settings or type the slicer's reported grams and hours directly into Step 1.