3D printer G-code · Marlin and Klipper
M221: Flow percentage (Marlin & Klipper)
Flow percentage — Multiplies all extrusion by a factor while printing. Useful for a quick test; the better place for a lasting change is the flow or extrusion multiplier in the slicer.
On this page
| Property | Value |
|---|---|
| Command | M221 |
| Function | Flow percentage |
| Firmware | Marlin and Klipper |
| Group | Extrusion |
| Syntax | M221 S<percent> |
What does M221 do?
Multiplies all extrusion by a factor while printing. Useful for a quick test; the better place for a lasting change is the flow or extrusion multiplier in the slicer.
Parameters
| Parameter | Meaning |
|---|---|
S | Flow in percent, 100 = normal |
Example
M221 S95Tips from practice
- M221 is reset at the next print on most printers.
The command works in Marlin and Klipper. Options can differ: Klipper accepts fewer parameters for some M-codes and ignores codes it does not know with an "Unknown command" error.
Related commands
More extrusion commands
| Command | Function | Firmware |
|---|---|---|
G10 | Firmware retract (G10 / G11) | Marlin and Klipper |
G92 | Set position (G92 E0) | Marlin and Klipper |
M82 | Absolute extrusion (M82 / M83) | Marlin and Klipper |
M900 | Linear advance factor | Marlin |
SET_PRESSURE_ADVANCE | Pressure advance (Klipper) | Klipper |
SET_RETRACTION | Change firmware retraction | Klipper |
Test it before you print
Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.
Open the simulatorFrequently asked questions
What does M221 do on a 3D printer?
M221 is flow percentage. Multiplies all extrusion by a factor while printing. Useful for a quick test; the better place for a lasting change is the flow or extrusion multiplier in the slicer.
Does M221 work in Klipper and Marlin?
Yes, both firmwares understand M221.
Was this page helpful?