G-code Quoting Equations
MachineCost = PrintHours × MachineHourlyRate
UnitProdCost = (MaterialCost + MachineCost + Handling) × (1 + Fail%)
UnitQuote = UnitProdCost × (1 + Markup%)
RevPerHour = UnitQuote / PrintHours
Drop a sliced .gcode file locally to extract slicer-exact filament weight, print hours, and layer count—then price the job in seconds.
Representative jobs sliced across OrcaSlicer, Bambu Studio, PrusaSlicer, and Cura showing why machine hours usually outweigh plastic weight.
| 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 |
Slicer-exported G-code removes guesswork from infill density, seam geometry, and support structures—leaving only shop rates to verify.
Switch workflows across FDM quoting, SLA/MSLA photopolymer resin, spool length math, and sliced G-code headers.
Drop an STL or G-code file in your browser to estimate material, energy, wear, failure buffer, and shop markup.
Price photopolymer prints with hollowing savings, support ml, IPA wash consumables, FEP film wear, and UV curing.
Convert grams to meters for 1.75 mm or 2.85 mm PLA, PETG, ABS, ASA, TPU, and PA-CF spools.
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.
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.
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.
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.