Prusa
  • SHOP
    • Latest products
    BY CATEGORY
    • 3D printersnew
    • 3D printer upgradesnew
    • Materials
    • Accessories
    • Spare parts
    • Courses
    • Merch
    • Get a price quote
    QUICK LINKS
    • Shipping & delivery
    • Returns & refunds
    • Payment & financing
    • Warranty
    • VAT & Customs fees
    • FAQ

    0 item in your cartitems in your cart

    Your cart is empty

    Go to cartShop 3D printers

    My profile

    Log in to see orders, saved items

    My profile

    Signed in as

    • Orders
    • Logout
  • 3D PRINTING
    • Explore 3D printing
    FOR BEGINNERS
    • 3D printing 101
    • How FDM printing works
    • Buying your first printer
    • 3D model catalog
    BY APPLICATION
    • Rapid prototyping
    • Manufacturing
    • Engineering
    • Research
    • Arts & design
    GO DEEPER
    • Materials guide
    • Courses
    • Webinars
    • Case studies
    • Custom 3D printing
  • 3D PRINTERS
    • All 3D printers
    FOR
    • Home or garageHobbyists, tinkerers and home printing
    • BusinessIn-house production for small teams
    • EnterpriseFleets, security and scale
    • Which Prusa is right for me
    SHOP & BROWSE
    • CORE One+new
    • CORE One+ INDXnew
    • CORE One L+new
    • CORE One L+ INDXnew
    • XL+new
    • MK4S
    • Prusa Pro HT90
    • Prusa Pro AFS
    • Prusa Pro SLX
    MORE FROM PRINTERS
    • Parts & upgradesnew
    • Spare parts
    • Critical infrastructure
    • Case studies
    • Signature Oak
    • Kits
  • MATERIALS
    • All materials
    BY USE
    • Every-day & design
    • Functional engineering
    • Composites
    • Pro speciality
    • SLA resins
    PRUSAMENT
    • PLA
    • PETG
    • ASA
    • PC
    • PA11
    • Flex
    • TPU
    MORE FROM MATERIALS
    • Materials guide
    • We make material in house
    • Sustainability
    • Order on the store
  • SOFTWARE
    • All software
    PREPARE THE PRINT
    • PrusaSlicer 3.0New
    PRINT & MONITOR
    • Prusa Connect
    • EasyPrint
    • iOS & Android app
    • Prusa Farm
    GET STARTED
    • Download & install
    • Knowledge base
    MORE FROM SOFTWARE
    • 3D model catalog
  • SUPPORT
    • Explore support
    FIND ANSWERS
    • Knowledge base
    • Troubleshooting
    • Courses
    • Webinars
    GET HELP
    • Contact us
    • Livechat
    • Shipping & delivery
    • Warranty
    • Returns & refunds
    • Service & spare parts
    • Service & Repair
    COMMUNITY
    • Forum
    • Reddit
    • Printables
  • TRUST CENTER
    • Trust Center overview
    BY TOPIC
    • GDPR
    • Certificates
    • Security
    • Compliance
    COMMITMENTS
    • Sustainability report
    TALK TO US
    • Contact the security team
  • COMPANY
    • About Prusa
    GET TO KNOW US
    • Our story
    • How we make printers
    • Open source
    • Brand & media kit
    NEWS
    • Blog
    • Newsroom
    • Events
    TRUST & PARTNERS
    • Sustainability
    • Resellers & distributors
    • Affiliate program
    • Contact
    • English
    • Čeština
    • Deutsch
    • Español
    • Français
    • Italiano
    • Polski
    • 日本語
  • Signed in as

    • Orders
    • Address
    • In-stock Alerts
    • My Courses
    • Subscription
    • Edit Account
    • Logout

Log in to see orders, saved items

Signed in as
  • Orders
  • Address
  • In-stock Alerts
  • My Courses
  • Subscription
  • Edit Account
  • English
  • Čeština
  • Deutsch
  • Español
  • Français
  • Italiano
  • Polski
  • 日本語
Shop

0 item in your cartitems in your cart

Your cart is empty

Go to cartShop 3D printers

My profile

Log in to see orders, saved items

My profile

Signed in as

  • Orders
  • Logout
SHOP
  • Latest products
BY CATEGORY
  • 3D printersnew
  • 3D printer upgradesnew
  • Materials
  • Accessories
  • Spare parts
  • Courses
  • Merch
  • Get a price quote
QUICK LINKS
  • Shipping & delivery
  • Returns & refunds
  • Payment & financing
  • Warranty
  • VAT & Customs fees
  • FAQ

Featured products

    Popular categories

      Trending searches

        Articles

          Blog

            Products

              Categories

                Suggested searches

                  Searching…
                  No results
                  Something went wrong.
                  ↑↓ Select↵ OpenEsc Close search
                  1. Support
                  2. Original Prusa i3 MK2.5
                  3. Advanced calibration
                  4. Linear Advance
                   

                  Contents

                  • Configuration
                  • Download calibration G-code
                  • Optimal K-values and how to adjust

                  Blog

                  • Prusament Pellets: Raw material batches for large-format 3D printing or small-scale polymer research & development
                  • Print colorful and glowing Halloween decorations with our spooky offer
                  • Factorio Has Arrived on Printables

                  Newsletter

                  Signup and get our monthly squeeze on updates, blog, printables and much more.

                  By clicking, you agree to receive our newsletter.

                  This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.

                  Heavy Duty Keyboard Holder (No Supports)
                  E-shop
                  • 3D Printers
                  • Printer Upgrades
                  • Filaments
                  • Accessories
                  • Prusa Merchandise
                  Prusa

                  © Prusa Research a.s.

                  Printables
                  • 3D Models
                  • Store
                  • Clubs
                  • 3D Design Contests
                  • Brands
                  Community
                  • World Map
                  • Forum
                  • User Groups
                  • Events
                  Help
                  • Prusa Help
                  • Prusa Academy
                  • 3D Printing Calculators
                  Software
                  • PrusaSlicer
                  • Prusa.app
                  • Prusa Connect
                  • Drivers and Software
                  Company
                  • About Us
                  • Blog
                  • Official Prusa Resellers
                  • Contact Us
                  • Certified for ISO 9001, ISO 14001, ISO 45001
                  • General Terms and Conditions
                  • General Terms and Conditions of Use of the PRUSA Websites
                  • Privacy Policy
                  • Information about cookies
                  • Customer Complaints Policy
                  • Status Page
                  • Do Not Sell or Share My Personal Information
                  • Supplemental Statements
                  Prusa
                  • General Terms and Conditions
                  • General Terms and Conditions of Use of the PRUSA Websites
                  • Privacy Policy
                  • Information about cookies
                  • Customer Complaints Policy
                  • Status Page
                  • Do Not Sell or Share My Personal Information
                  • Supplemental Statements

                  © Prusa Research a.s.

                  JOSEF PRUSA®, PRUSA RESEARCH®, PRUSA POLYMERS®, PRUSA ORANGE®, PRUSA 3D ® AND PRUSAMENT® are registered trademarks of Prusa Development a.s. used by Prusa Research a.s. under licence from Prusa Development a.s.

                  Linear Advance

                  Relevant for

                  MK2.5
                  MK2.5S
                  MK3
                  MK3S
                  MMU2S
                  +
                  80 comments
                  Article is also available in following languages
                  English
                  Čeština
                  Polski
                  Deutsch
                  Français
                  Español
                  Italiano
                  日本語
                  This is an advanced calibration for MK3-family and MK2-family printers. It is replaced by Pressure Advance on MK4-family, XL, MINI/+ from firmware 5.0.0, and successive printer models. 

                  Linear Advance (LA) is a technology that predicts the pressure build-up in the extruder when printing at higher speeds. The firmware of the printer uses that prediction to decrease the amount of filament extruded just before stopping and decelerating, which prevents blobs or artifacts at the sharp corners. What is referred to as 'K-values' are the parameters determining how much Linear Advance affects the print.

                  With firmware 3.9.0, we introduced Linear Advance 1.5 for the Original Prusa MK3S, MK3, MK2.5S, and MK2.5, which was further improved upon with FW 3.9.1, addressing print artifacts found in specific scenarios and geometries. Linear Advance 1.5 is also backward compatible with version 1.0. In case you have a G-code with Linear Advance 1.0, the printer will analyze the code and convert the values automatically. 

                  Print profiles for the Original Prusa MINI are well-tuned. Additionally, there has never been LA1.0 on the MINI, so no conversion (to LA1.5) is required.

                  Configuration

                  These values are part of our PrusaSlicer configurations and filament presets. No need to adjust if you are using these. However, if you are using filaments not present or wish to play around with the presets, we have developed a K-factor calibration print together with the community, to find the perfect K-values for your material and printing temperatures. These are based on the various quality and layer height presets found in PrusaSlicer.

                  This article mainly refers to the printer use with a 0.4 mm brass nozzle. Other nozzle sizes or materials could result in different K-values.

                  It will print a series of lines with different K-values affecting the speed and flow across the accelerated distance. The examples below show how the lines are affected by their K-value. The first and last 25 mm are printed slowly, and between the marked locations (red squares) 100mm is printed fast. Look closely at the transition from slow to fast and fast to slow. You see the line can be irregular to broken entirely when the value is not optimal, most visible on the top lines (red squares), but present on all except those with the optimal K-factor. You also see big differences between different materials and how much difference it can make to have this dialed in.

                  Calibration G-code printed with PLA at 215 °C. Most consistent line achieved with K-value 0.05 (green square).

                  Calibration G-code printed with ABS at 255 °C. Most consistent line achieved with K-value 0.04 (green square).

                  Calibration G-code printed with PETG at 240 °C. Most consistent line achieved with K-value 0.08 (green square).

                  Download calibration G-code

                  You can download the K-factor calibration G-code from our print depository or directly from the table below. These are for a 0.4 mm brass nozzle. Load the correct filament type for the G-code and start the print as any other.

                  MaterialLayer height | Fastest speed | PrusaSlicer profile
                  0.2mm | 45mm/s
                  QUALITY
                  0.2mm | 60mm/s
                  SPEED
                  0.3mm | 50mm/s
                  DRAFT
                  PLADownloadDownloadDownload
                  PETGDownloadDownloadDownload
                  ASADownloadDownloadDownload
                  PCDownloadDownloadDownload
                  NYLONDownloadDownloadDownload
                  ABSDownloadDownloadDownload
                  HIPSDownloadDownloadDownload

                  These files have pre-set temperatures (e.g., PLA 215°C). If your filament requires a different temperature, it is necessary to edit the G-code manually. 

                  To do so, open the G-Code in a text editor. Inside the text editor, use the find function (e.g., CTLR+F) to find the block of commands, similar to the one shown in the example below, that starts with M104. The example below is taken from a pre-set PLA G-code. 

                  Where needed, change the "S" values, which represent the temperature in Celsius:

                   M104 S215 ; Set nozzle temperature (no wait)
                  M140 S60 ; set bed temp
                  M190 S60 ; wait for bed temp
                  M109 S215 ; Wait for nozzle temp
                   

                  Optimal K-values and how to adjust

                  The optimal values we found in our testing are listed in the tables below. These can be implemented into any slicer. Please note that different brands and colors of the same material may require a slightly different K value when printing at extreme speeds, however, our presets should be fine with all of them. 

                  0.4 mm nozzle

                  PLA0.05
                  PETG0.08 
                  CPE 0.07
                  PC Blend0.07
                  ASA/ABS0.04
                  HIPS0.04 (some brands may need a higher K-value)
                  Nylon Taulman0.08
                  Nylon FX256 0.1

                  0.6 mm nozzle

                  PLA0.04
                  PETG0.04 - 0.05
                  PC Blend0.04
                  ASA/ABS0.02 - 0.03
                  HIPS0.03 (some brands may need a higher K-value)
                  Be careful when setting new K-values. Changing them is recommended only for experienced users. Back up your settings before you adjust them.

                  PrusaSlicer

                  As mentioned, the K-values for all filaments are already implemented into PrusaSlicer's presets. If you need to adjust these settings due to some exotic filament or a specific application, the K-value is set in the custom G-code section in the Filament Settings tab, NOT under the printer-specific custom G-code.

                  • The blue arrow and box show the number to change for a 0.6 mm nozzle.
                  • The green arrow and box show the number to change for a 0.4mm nozzle.

                  Other slicers

                  If you are using a different slicer than our PrusaSlicer, you must manually change the settings in the G-code script of your slicer. 

                  Simplify3D, Cura, etc. users just need to add “M900 Kxx” into the starting G-code script. Keep in mind you need to manually change that for different filament materials. Only PrusaSlicer has a custom G-code for each filament preset and therefore the K value is changed automatically. Set the desired speed and print something (large enough for speed to show up). If sharp corners have blobs, increase the K value. If you see missing filament, decrease the K value.

                  Users of Simplify3D, Cura, etc. should change their LA adjustments in their slicer when they install firmware 3.9.0 or newer!
                  If you are interested in a more in-depth explanation of how Linear Advance works, check out the Prusa firmware changelog on GitHub or vanilla Marlin's pages.
                  Was this article helpful?
                  This action is available only to registered users. Please log-in.

                  Topics

                  • Calibration
                    • Advanced calibration
                      • Manual temperature calibration
                      • Linear Advance
                      • Extruder linearity correction calibration
                      • Extrusion multiplier calibration
                      • PID tuning
                      • Bed Level Correction
                    • Basic calibration
                    • Calibration Error Messages

                  33 comments

                  Log in  to post a comment
                  antionion
                  •
                  Would really appreciate calibration files for the MK4 with input shaper. I'm having issues at seams with a third-party filament.
                  Reply
                  antionion
                  •
                  Found this :-)
                  https://www.printables.com/model/641490-prusa-slicer-pressure-advance-test
                  Reply
                  Veggysaurus
                  •
                  XL please?
                  Reply
                  David B.
                  •

                  Hi! Original Prusa XL uses Pressure Advance instead of Linear Advance feature. 

                  If you wish to calibrate Pressure Advance, for example to use an exotic type of filament, you might want to have a look at this page:
                  https://garethky.github.io/PrusaSlicerPressureAdvanceCalibration/

                  Reply
                  Christian
                  •
                  Hi David,
                  thank you for the link. Helped me a lot to adjust my XL. It would be great to have this tool integrated in the slicer software.
                  The settings for PLA (M572) in Slicer 2.8.1 had to be adjusted for better results with my printer.
                  For 0,4 mm nozzle: 0,045 (old value: 0,036)
                  For 0,6 mm HF nozzle: 0,03 (old value: 0,02)
                  Reply
                  Matthias U
                  •
                  Here is a script you can plug into PrusaSlicer's postprocessing that generates this test pattern, tailored to your current printer setup / nozzle size / whatever. It can do (simple) corners, and/or do a test for PA (M572) instead of LA (M900).
                  Reply
                  SCprintman
                  •
                  Hi I am using Polymaker Matte PLA Filament 1.75mm Brown https://www.amazon.com/dp/B094FJ2NYL?psc=1&ref=ppx_yo2ov_dt_b_product_details
                  In the Amazon About this item, it says "【Printing Settings】 - Nozzle: 210˚C, Bed: 50˚C, Speed: 60 mm/s. Selected diameter: PolyTerra PLA filament 1.75mm Brown ( PLA filament Chocolate Brown )" 
                  So I used 215˚C for the First Layer and Other Layers 210˚C.  For the bed I used 50˚C
                  1. Do you think read the Amazon Item text correctly with 1st 215˚C and the other 210˚C?
                  2. I don't see a first lay and other layer in the  K-factor calibration G-code
                  So for my test of PolyTerra PLA I should change these lines in the K-factor calibration G-code to 
                  ; Nozzle Temperature = 210 °C
                  M104 S210 ; Set nozzle temperature 
                  M104 S210 ; Set nozzle temperature 
                  And
                  ; Bed Temperature = 50 °C
                  M140 S60 ; set bed temp
                  M190 S60 ;  wait for bed temp
                  While I'm here.  Anyone who used "Polymaker Matte PLA Filament" that has some suggested setting?  I have a stock MK3S+, and I'm using 0.2mm QUALITY
                  Reply
                  smiledemons
                  •
                  Would really appreciate calibration files for the MK4, both more M900 and M572 for input shaper. I'm having issues at corners even with Prusament and default profiles
                  Reply