0800 158 3508

What is INP? (New Core Web Vitals Metric)

Learn everything you need to know about Core Web Vitals's newest metric: Interaction to Next Paint (INP).
What is INP? Image showing core web vitals 'Good, 'Needs Improvement' and "Poor'. For INP, anything above 200ms is 'good' but anything below 500ms is 'poor'.

An Introduction to INP

Interaction to Next Paint (INP) is the latest Core Web Vital metric to be introduced by Google, being used to measure how quickly your website responds and reacts to user interactions.

Those experienced in Core Web Vitals will see the immediate comparisons to First Input Delay (FID), and that’s for good reason – INP is essentially an updated and improved version of FID.

Considering that 90% of a user’s time on a web page is spent after it loads, this new core web vital metric was introduced to measure the responsiveness throughout a user’s entire page experience, rather than just the user’s first actions on the page.

INP is part of Google’s larger initiative to improve the overall user experience on the web and has been identified as one of the key factors in determining a website’s search ranking.

 

Table of Contents

What is Interaction to Next Paint?

Interaction to Next Paint is a web performance metric that measures the time it takes for a webpage to respond to user interactions.

This means the quicker your page responds to interactions, the more responsive it is.

These user interactions vary from mouse clicks, key presses and taps on a touch screen, but do not include hovering or scrolling.

Visual feedback plays a key role in determining INP, meaning the time it takes for a visual change to occur after a user has initiated an interaction is crucial.

For example, if a user adds something to their shopping cart on your website, does the cart immediately update or is there a delay? This will directly impact your INP score.

Alongside INP, Google has introduced Time to First Byte (TTFB) as another metric to measure responsiveness, which focuses more on the server-side response time.

More specifically, TTFB measures the time it takes for the first byte of data to be sent from the server to the user’s browser.

Together, INP and TTFB provide a more comprehensive understanding of a website’s responsiveness, allowing developers and website owners to identify and address any issues that may be affecting their user experience.

 

Why is INP important?

INP is important because it directly affects user experience. A website that is highly responsive and quick to react to user interactions leads to a more positive user experience.

Some interactions naturally take longer than others, especially with more complex tasks that require more from the user. However, when possible, it is important for websites to visually respond as quickly as possible to keep users engaged and satisfied.

By quickly informing the user that something is happening, whether it be a form submission or button click, you are creating a smoother and more enjoyable browsing experience for them.

This can increase user engagement and satisfaction, leading to longer website visits and potentially higher conversion rates.

In contrast, a delayed response may give the user the impression that the web page is not responding, leading to frustration and potentially causing them to leave the page.

This can also lead to a higher bounce rate, negatively impacting your website’s search engine rankings.

 

How is INP Calculated?

INP measures the time it takes for a webpage to respond to user interactions, specifically focusing on the time between when a user initiates an interaction and when the page shows a visual response.

There are three components that are used to calculate this delay – Input Delay, Processing Time and Presentation Delay.

Input Delay refers to the time it takes for background tasks on the page to complete before the browser can respond to the user’s interaction.

Processing Time is the time it takes for the browser to process and execute the resulting action from the input event in JavaScript.

Finally, Presentation Delay is the time it takes for any visual changes to occur on the webpage in response to the user’s interaction. This includes the recalculation of the page layout, printing of page content and handling of other queued-up interactions.

In short, INP is measured from the moment the user inputs a command into the webpage to when the page’s user interface (UI) visually responds to that interaction.

 

What is a Good Interaction to Next Paint Score?

As with all core web vitals, Google has set specific thresholds for INP that determine whether a website’s score is good, needs improvement, or is poor.

For Interaction to Next Paint, the thresholds are:

  • Good: Below or at 200 milliseconds
  • Needs improvement: 200 to 500 milliseconds
  • Poor: Above 500 milliseconds.

There is a balance to be had when developing your website’s INP.

For many, the priority will be to achieve the fastest INP score possible to achieve good responsiveness.

However, you must also consider the usability and capability of different devices (such as mobile and tablet) when setting a target score.

Some interactions may take longer to respond on certain devices, so it is important to optimise your website for all platforms.

 

What Causes Poor INP?

Poor Interaction to Next Paint scores typically stem from a variety of issues related to both user-side and server-side performance.

One of the primary causes is JavaScript execution blocking the main thread, preventing the browser from quickly responding to user inputs.

Heavy, unoptimised scripts and excessive rendering tasks can considerably delay visual updates.

Network latency also plays a crucial role; slow server responses and large payloads can significantly impact the time it takes for visual feedback to appear.

In addition, a lack of efficient resource management, such as deferring non-critical JavaScript and optimising images, can exacerbate delays and negatively impact INP scores.

Identifying and addressing these factors is essential for improving INP and thereby enhancing the overall user experience on your website.

 

How Can I Improve My Website’s INP?

Typically, the best way to optimise your website’s Input to Next Paint is to minimise how much CPU time is needed to process incoming user interactions.

Some experienced SEO specialists and website developers use techniques like code splitting and caching to optimise their websites’ performance.

Meanwhile, others may opt to switch to server-side rendering or utilise web workers to offload some tasks from the main thread.

To improve network latency, you can employ server-side caching and Content Delivery Networks (CDNs) to reduce the time it takes for data to be sent from the server to the browser.

However, if you’re struggling to identify what could be causing slow interactions, here is a list of potential steps to help you improve your website’s INP score.

 

Reduce Input Delay

Tackling input delay involves pinpointing and eliminating the tasks that obstruct the browser’s ability to respond immediately to user actions.

By optimising tasks such as parsing and executing JavaScript, you can curtail the time spent on these operations, thereby freeing up the main thread. This ensures that user inputs are processed swiftly and without unnecessary lag.

Implementing strategies like deferring non-essential scripts and streamlining high-priority tasks are proven methods to shorten input delay.

As a result, users experience a more fluid and responsive interaction, leading to increased engagement and satisfaction.

 

Reduce the Processing Component

Reducing the processing component helps to enhance your website’s INP score and directly influences the responsiveness perceived by users.

By optimising how the browser processes and executes JavaScript, you can significantly cut down the time needed to handle user interactions.

Techniques such as minimising render-blocking scripts, breaking down complex tasks into smaller chunks, and employing asynchronous operations can be highly effective.

These methods ensure that the browser can quickly and efficiently update the UI in response to user inputs, thereby reducing the lag between interaction and visual feedback.

 

Minimise Presentation Delay

Minimising presentation delay directly affects the speed at which visual updates are rendered post-interaction.

By streamlining the presentation phase (including recalculating styles, layout, and painting tasks) you can ensure that changes appear instantaneously in response to user commands.

This can be achieved through effective techniques, such as reducing unnecessary CSS rules, utilising efficient animation methods, and optimising rendering paths.

Such improvements not only elevate your INP score but also provide a smoother and more intuitive experience for users, creating greater engagement and satisfaction.

 

Optimise Event Callbacks

Properly streamlined event callbacks ensure that once a user action occurs, the associated callback function executes swiftly and efficiently.

This can be achieved by minimising the complexity within each callback, utilising debouncing or throttling techniques to reduce the frequency of function executions, and ensuring that heavy-lifting tasks are offloaded from the main thread.

By focusing on these optimisations, the browser can more promptly deliver visual updates in response to user inputs, reducing latency and creating a seamless, highly responsive interface.

 

Avoid Layout Trashing

Avoiding layout trashing is a critical step in improving your website’s Interaction to Next Paint score, directly impacting user satisfaction.

Layout trashing occurs when the browser repeatedly reflows the layout in response to DOM and CSS changes, significantly degrading performance.

To mitigate this, it is essential to batch DOM and style updates together, thereby minimising the number of reflows the browser must perform.

Utilising specialised methods, such as requestAnimationFrame, for animations and transitions can ensure smoother rendering processes.

 

Interaction to Next Paint FAQs

What is the Difference Between FID and INP?

There is some confusion over the difference between First Input Delay and Interaction to Next Paint, especially with the latter replacing FID in Google’s Web Vitals.

FID was used to measure the time from when a user first interacts with a page (such as clicking a link, tapping on a button, or using a custom JavaScript-powered control) to the time when the browser begins to process that interaction.

This metric was used to measure the initial delay after the user’s first interaction with the page.

But now, INP is the metric being used to evaluate the overall responsiveness of a page by assessing the latency of almost all user interactions throughout the entire lifecycle of the page.

While FID was solely focused on the first impression of interactivity, INP offers a comprehensive view, ensuring that the site maintains optimal performance during continued use.

Understanding the distinction between these metrics is crucial for developers aiming to enhance not just the initial appeal but also the sustained usability and satisfaction of their websites.

 

Does INP Measure the Slowest Response on a Page?

Interaction to Next Paint meticulously reports the slowest 2% of all UI responses, ensuring that even the most sluggish interactions are identified and addressed.

In practice, this means that the worst delays are typically highlighted, offering a precise snapshot of performance bottlenecks

However, for pages with a significant volume of interactions, INP will report just one of the slowest occurrences.

This method provides a balanced view, ensuring that persistent performance issues are flagged without overwhelming developers with data from an excessively busy page.

Consequently, INP serves as a robust metric for enhancing overall user experiences by targeting and mitigating the most detrimental interaction delays.

 

What are the Three Pillars of Core Web Vitals

As of 2024, Core Web Vitals revolve around three key performance metrics: Interaction to Next Paint (INP), Largest Contentful Paint (LCP), and Cumulative Layout Shift (CLS).

As we’ve established, INP focuses on the overall responsiveness of a page by measuring the latency of user interactions throughout its lifecycle.

LCP gauges loading performance, pinpointing the time it takes for the largest content element to become visible within the viewport.

Lastly, CLS assesses visual stability, specifically monitoring the impact of unexpected layout shifts on the user experience.

Together, these metrics provide a comprehensive framework for evaluating and optimising website performance, thereby enhancing user satisfaction and engagement.

 

Why Do Core Web Vitals Matter?

Core Web Vitals are instrumental in defining the quality of user experience on a website, serving as a comprehensive benchmark for site performance, SEO, and lead conversion

In an era where user patience is dwindling, ensuring fast load times and seamless navigation is paramount.

Core Web Vitals metrics equip developers with the insights needed to fine-tune their sites for optimal performance.

Most notably, Google integrates Core Web Vitals into its ranking algorithms, elevating the significance of these metrics for SEO.

A well-optimised site not only ranks higher but also retains users, facilitates smoother interactions, and ultimately drives higher lead conversion.

For any digital marketer or website developer, Core Web Vitals paves the way for superior user engagement, greater visibility, and business growth.

 

So, What’s the Bottom Line?

In conclusion, comprehensively optimising for Interaction to Next Paint, alongside other Core Web Vitals, is imperative for delivering unparalleled digital experiences.

Prioritising user interaction responsiveness, ensuring prompt visual updates, and mitigating layout shifts collectively establish a smoother, more engaging user journey.

These meticulous enhancements not only elevate website performance but also significantly contribute to user satisfaction and retention.

By embracing these strategies, developers can consistently meet and exceed modern web performance standards, ensuring their digital platforms remain at the forefront of both efficiency and user-centric design.

Newsletter

Subscribe to Creative Chronicles – Your Monthly Design & Marketing Update from Inc!