What pressure advance does
Pressure builds inside the nozzle when the extruder pushes plastic through it. When the toolhead accelerates, flow lags; when it slows for a corner, extra plastic keeps oozing out. The result is thin starts and blobs at corners. Pressure advance (Marlin: linear advance) pushes slightly more filament during acceleration and pulls it back during deceleration to compensate.
The right value depends on the extruder, nozzle and filament, so it is tuned per printer and per spool. This calculator only does the arithmetic from your tuning tower so you do not have to do it by hand.
pressure_advance = start + measured_height × factorWorked examples
Worked example
Direct drive and long Bowden, Klipper tuning tower
| Direct drive tower command | TUNING_TOWER COMMAND=SET_PRESSURE_ADVANCE PARAMETER=ADVANCE START=0 FACTOR=.005 |
| Best corner measured at | 18.00 mm |
| Pressure advance | 0 + 18.00 × 0.005 = 0.090 |
| Long Bowden tower command | START=0 FACTOR=.020 |
| Best corner measured at | 12.90 mm |
| Pressure advance | 0 + 12.90 × 0.020 = 0.258 (the example in the Klipper docs) |
Put the result in the [extruder] section as pressure_advance: 0.090 and run RESTART. When two heights look equally good, pick the lower one.
How the test works
The tower changes the pressure advance value on every layer. Low layers have blobs at the corners, layers above the ideal value get rounded corners and thin extrusion going into them. You measure the height with the best corners and convert it to a value with start + height × factor.
Test settings (from the Klipper documentation)
| Setting | Value |
|---|---|
| Model | Large hollow square (docs/prints/square_tower.stl in the Klipper repo) |
| Speed | High, for example 100 mm/s |
| Infill | Zero |
| Layer height | About 75% of the nozzle diameter |
| Before printing | SET_VELOCITY_LIMIT SQUARE_CORNER_VELOCITY=1 ACCEL=500 |
| Slicer features | Turn off dynamic acceleration control and scarf-joint seams |
Settings quoted from the Klipper pressure advance guide. Marlin and other firmware use a similar idea (Marlin calls it linear advance, set with a K value). Enter the start value and per-millimetre step that your own test used, because the numbers are not interchangeable between firmware.
How to tune pressure advance
- Tune e-steps / rotation distance and nozzle temperature first. E-steps calculator.
- Slice the hollow square with the settings above and run the matching
TUNING_TOWERcommand at the start of the print. - Print it. You can cancel early once corners clearly get rounded and thin.
- Measure the height of the best corners with calipers. Ignore the corner where the layer change happens.
- Enter start, factor and height above. Set the result as
pressure_advanceand restart. - Repeat for each filament. Different brands and pigments can need very different values.
Common mistakes
- Tuning on wet filament. Moisture changes extrusion pressure. Dry the spool first, see the drying chart.
- Using the wrong factor for the tower command. The factor you typed in the printer command must be the one you enter here, or the value will be off by a multiple.
- Reading the value at a layer-change corner. The seam corner often looks different from the other three. Judge by the other three corners.
- Setting a very high value and skipping steps. Over about 0.200 the extruder may skip when acceleration returns to normal. Lower acceleration or disable pressure advance.
- Expecting it to change print time. It does not change the toolhead path or total filament, only the extra extruder motion during acceleration.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Corners still bulge at the best height | Flow too high or temperature too hot | Check flow first, then lower temperature 5 °C |
| No clear best band | Pressure advance may not help on this setup | Keep it disabled or use a small value |
| Extruder clicks after setting a high value | Not enough torque during acceleration | Lower acceleration or pick a lower value |
| Different value for each spool | Filament brand or pigment differs | Re-run the tower for each filament |
FAQ
What is a good pressure advance value?
Klipper's documentation says typical values are between 0.050 and 1.000, with the high end usually only on Bowden extruders. Direct drive printers are normally at the low end. Tune it with a tower instead of copying a number.
How do I calculate pressure advance from the tower?
Measure the height of the best corners, then use start + height × factor. With start 0, factor 0.020 and a height of 12.90 mm, the value is 0.258.
Which factor should I use?
Use the same factor you gave the TUNING_TOWER command. Klipper's docs use 0.005 for direct drive and 0.020 for long Bowden extruders.
Does this work for Marlin linear advance?
The idea is the same, but Marlin tests use their own start and step values. Choose Custom and enter the numbers your test used.
Do I still need retraction?
Yes. Klipper's docs suggest keeping a small retract (for example 0.75 mm) and using wipe on retract if available, and disabling z-lift on retract.
Why does the value change between filaments?
Different manufacturers and pigments flow differently, so Klipper recommends calibrating each spool.
Recommended gear
- Hardened / brass nozzle set — Spare nozzles; hardened steel for CF/glow filaments.
- Overture High Speed PETG, 1 kg — Tougher and more heat-resistant than PLA for functional parts.
- Overture High Speed PLA, 1 kg (1.75 mm) — Our default PLA pick: tight ±0.02 mm diameter tolerance and fast-print friendly.
Some links are affiliate links. MeshMath earns a commission on purchases made through Overture and Anycubic (via Awin) links, at no extra cost to you. Picks are chosen for usefulness, not paid placement.
Related tools
E-steps & flow calibration calculator
Calibrate extruder e-steps and flow rate, with the exact M92 G-code to send.
Temperature tower G-code generator
Add temperature changes by height to any sliced G-code file.
Filament drying temperature & time chart
How hot and how long to dry PLA, PETG, TPU, Nylon and more.
Volumetric flow & max speed calculator
Turn layer height, line width and speed into mm³/s, or find the max speed your hotend can handle.
Layer height & line width calculator
Recommended layer heights and line widths for any nozzle size, from 0.2 to 1.0 mm.
Retraction distance & speed calculator
Starting retraction distance, speed and Z-hop for direct drive or Bowden, by material and nozzle.