G-code interpretation
G-code feed rate: mm/min, mm/s and actual print time
In the documented G21 millimetre G0/G1 context, F1800 requests 1,800 mm/min, equivalent to 30 mm/s. It is a requested movement rate, not a measured speed or a guarantee throughout the move. Check units, preceding modal state and exact firmware before reading an isolated F word. This guide interprets instructions; it does not recommend a printer speed.
Convert the units before comparing values
Divide millimetres per minute by 60 to obtain millimetres per second. Multiply mm/s by 60 for the reverse conversion. These are unit conversions, not tuned settings or evidence of machine capacity.
| F in mm/min | Equivalent mm/s | Arithmetic |
|---|---|---|
| 1,200 | 20 | 1200 / 60 |
| 1,500 | 25 | 1500 / 60 |
| 1,800 | 30 | 1800 / 60 |
| 3,600 | 60 | 3600 / 60 |
In reverse, a chosen 45 mm/s corresponds to F2700: 45 × 60 = 2700 mm/min. Marlin's G0/G1 reference documents F in current units per minute and its persistence into following moves. Other units, E-only movement, G0 configuration and machine kinematics need their own documented interpretation; do not extend the table to them by assumption.
Follow a modal rate through three instructions
This original instruction-reading example assumes G21 millimetres, G90 absolute XYZ and initial logical X=0, Y=0, Z=0.2. Only X changes, with no E movement, intervening override, different motion type or unsupported state. These are travel-only analytical instructions, not a runnable printer job. No firmware or printer was run.
| Instruction | Segment length | Requested rate | Ideal duration |
|---|---|---|---|
G1 X30 F1800 |
30 mm | 30 mm/s | 30 / 30 = 1.0 s |
G1 X60 |
30 mm | 30 mm/s, inherited | 30 / 30 = 1.0 s |
G1 X90 F3600 |
30 mm | 60 mm/s | 30 / 60 = 0.5 s |
The total is 90 mm and 2.5 seconds in this deliberately idealised calculation. Missing F on the second line means the applicable earlier rate persists under these assumptions; it does not mean zero speed. An isolated line without its earlier state may still lack enough information. There is no deposited-material result in this travel example.
Acceleration, deceleration, corners, firmware limits and waits are excluded. A short 30 mm segment may not reach the requested speed. The total is neither a predicted real job duration nor a universal lower bound for all files and overrides. Marlin's reference describes acceleration and configuration-specific G0 behaviour; a simple distance/rate division cannot replace that context.
Movement rate, extrusion throughput and elapsed time
| Quantity | Example | What it cannot establish |
|---|---|---|
| Requested movement rate | F1800 becomes 30 mm/s in this context | Measured speed throughout a segment |
| Requested extrusion throughput | 0.45 × 0.20 × 30 = 2.7 mm³/s | A tested hotend ceiling |
| Elapsed sliced-job duration | A reviewed estimate from the generating slicer | An unconditional finish or delivery promise |
The throughput row is a separate hypothetical extruding-line approximation: 0.45 mm width and 0.20 mm height at 60 mm/s instead request 5.4 mm³/s. Neither value measures deposition in the travel-only table above. Nozzle diameter alone does not supply line width, layer height or an applicable measured limit. Keep that decision with the maximum-volumetric-speed guide and flow planner.
A feed percentage and a flow percentage differ
In named Marlin context, M220 changes the global feedrate percentage for G-code moves, while M221 changes the flow percentage applied to E moves, with documented extruder selection. These controls are not interchangeable calibration procedures. A percentage alone cannot predict the complete job response; no new multiplier is recommended here.
For other firmware and configured macros, use its exact primary documentation, including Klipper commands and macro state handling where applicable. InspectMesh does not execute those effects. Unrecognised state remains an explicit coverage limitation rather than an invented speed trace.
What the viewer and finish planner actually do
The read-only G-code viewer provides bounded linear geometry/classification and supported declared metadata. It does not expose a firmware feed-rate trace, acceleration simulation or elapsed-time reconstruction. Recognising a token does not simulate its effects; duration and material coverage remain independent of the path picture. Use the coverage explanation when a reported metric is incomplete or unavailable.
For a finish instant, review the generating slicer's duration and comparable-job evidence, then deliberately enter or apply it in the finish planner. Choose the start, timezone, correction and separately omitted time. Queue, finishing and dispatch remain the lead-time decision. Converting F does not supply those inputs.
Follow the question to the right next check
| Question | Next check |
|---|---|
| F looks much higher than slicer mm/s | Confirm G21/current units and divide mm/min by 60. |
| A line has no F | Trace the applicable earlier modal rate and intervening state changes. |
| The print runs slower | Compare the profile, short paths, waits and exact firmware context against observed runs. |
| I need a finish time | Use a reviewed sliced duration and an explicit start, not a speed ratio. |
| I want more throughput | Return to applicable tested profile evidence; unit conversion establishes no capacity. |
Primary command references reviewed 2 November 2026. The tables and arithmetic are original explanatory examples. No physical timing, new slicer experiment or firmware conformance result is claimed.