G-code Time Estimator
LocalEstimate G-code run time, filament weight and bounding box from any .gcode program — free online analyzer, no upload.
Sample data loaded — click "Stats" to try it.
What is it? G-code Time Estimator analyzes a G-code program and reports the estimated run time, filament weight, extruded length, bounding box and move counts — the numbers you need before you start a print or cut.
TL;DR: Estimate G-code time, filament weight and bounding box — no upload.
How to use
- Paste your G-code into the input box (a sample program is prefilled) — or choose/drop a .gcode/.nc/.tap program file.
- Click "Stats" (or press Ctrl/Cmd+Enter).
- Adjust filament diameter, material density and rapid rate in the parameter area to match your setup (defaults: 1.75 mm PLA at 1.24 g/cm³).
- Read the bounding box, move counts, time and material estimates — copy or download the report.
FAQ
How accurate is the time estimate?
It is based on feed rates and path lengths; acceleration and machine limits are not modeled.
Is it local?
Yes, analysis is local.
Does it handle inch (G20) programs?
Yes — inch programs are converted at 1 inch = 25.4 mm and noted in the basis line; all output is in millimetres, with mixed G20/G21 programs converted per line.
What is the filament weight based on?
It assumes 1.75 mm PLA at 1.24 g/cm³ by default; you can change the filament diameter, material density and rapid rate in the parameter area.
Is it free? Do I need an account?
It is free and no sign-up is needed — the analysis runs entirely in your browser, so your program is never uploaded.
Does it work for laser, plasma or engraving programs without extrusion?
Yes — run time, bounding box and move counts are computed for any G0–G3 program. Extrusion length and filament weight follow the E-value totals, so they read zero for programs without extrusion; those two stats are aimed at 3D-printing programs.
Examples
- Paste G-code → get stats and estimates
Supported formats
Limitations
- Estimates are for comparison only — dry-run and verify against your machine before cutting/printing.
- Approximate time (no acceleration modeling): cut time from G1/G2/G3 feed moves, G0 rapids timed separately at the configured rapid rate.
- Filament weight assumes a 1.75 mm PLA filament (density 1.24 g/cm³) unless configured.
- Extrusion is the net of per-line E differencing (G92 E resets and G91/M83 relative values honored; retractions and prime moves cancel out).
- Arc time uses the true arc length (full circle = 2πR, helical Z included); arcs without I/J/R fall back to a straight chord. The bounding box includes arc bulge (analytic extreme points) — a half/full circle is not bounded by its chord endpoints.
- All output is mm: inch (G20) programs are converted at 1in = 25.4mm and noted in the basis line; mixed G20/G21 is converted per line.
- Not modeled (out of scope): cutter compensation (G40-42), macros, acceleration, G4 dwell; cut moves without F assume 1000 mm/min (counted in the basis line).
- Runs locally in your browser, nothing is uploaded.
Privacy
Privacy first: this tool runs entirely in your browser — your input and files never leave your device, and everything is cleared when you close the page.