Free simulator

3D Printer G-code Simulator — Real Print Time, Flow and Errors

Open a .gcode file from Cura, PrusaSlicer, OrcaSlicer or Bambu Studio, or start with one of the examples. The simulator plans every move like the firmware does, with acceleration, corner speed and the flow limit of your hotend, and then prints the part layer by layer in front of you.

Your file stays in your browser; nothing is uploaded. Files from Cura, PrusaSlicer, OrcaSlicer and Bambu Studio show the feature types.

Print time–with acceleration
Filament–g
Filament length–
Material cost–per print
Layers · height–
Peak flow–mm³/s
Average print speed–mm/s

    How it works

    Move time with a trapezoid profile: accelerate with a from the entry speed, cruise, brake to the exit speed. Corner speed (Marlin): v = √(a · jd · sin(θ/2) ÷ (1 − sin(θ/2))). Klipper uses square_corner_velocity the same way. Volumetric flow Q = ΔE × π(d/2)² ÷ t in mm³/s. Mass = filament volume × density.

    Why the slicer time is often wrong

    Many slicers estimate time from the F values alone. A printer never reaches F6000 on a 5 mm move with 500 mm/s² acceleration: it needs 36 mm only to get to full speed. Small details, infill and corners take two to four times longer than the speed in the profile suggests. This simulator plans every move with the acceleration and corner speed of the printer you choose, so the time is close to what the printer shows.

    What the check finds

    • Extrusion before the hotend is hot (cold extrusion), M104 without a later M109
    • Moves outside the build volume, a missing G28
    • E jumps from a missing G92 E0 in absolute mode
    • Retraction that is too long for a direct-drive extruder
    • Lines that need more melt than the hotend can give (under-extrusion at speed)
    • Layer heights above 80 % of the nozzle, heaters left on at the end
    • Klipper macros such as PRINT_START that the file calls

    How to read the colours

    Feature type shows walls, infill, support and travel as your slicer named them. Speed shows where the printer really moves fast. Flow is the most useful view: red lines need more melt than your hotend can give. Lower the speed of those features or the line width, or use the volumetric flow calculator to find the limit.

    Embed this calculator on your site

    Free for workshops, schools and forums — copy this snippet:

    HTML
    <iframe src="https://cnccode.com/embed/3d-printer-simulator/" width="100%" height="720" style="border:0" loading="lazy" title="3D Printer G-code Simulator"></iframe>

    More free CNC tools

    Frequently asked questions

    Does my file get uploaded?
    No. The file is read and simulated in your browser. Files up to 60 MB work; very large files can take a few seconds on a phone.
    Why is the time different from my printer?
    Use the profile closest to your printer and set its real acceleration in the firmware or in the file (M204, SET_VELOCITY_LIMIT). Pressure advance, input shaping and the heat-up time also change the result a little; the heat-up wait is not counted.
    Which firmware is supported?
    Marlin, Klipper and RepRap style G-code: G0 to G3 arcs, G28, G90/G91, M82/M83, G92, G10/G11 firmware retraction, M104/M109/M140/M190, M204, M106/M107 and slicer comments for layers and feature types.
    Was this page helpful?