MetricRaven

Performance

What is TBT (Total Blocking Time)?

TBT (Total Blocking Time) is a lab metric that adds up how long the main thread was blocked while a page loaded: for every task over 50 ms, the part beyond 50 ms counts. Lighthouse rates under 200 ms as good on mobile.

Updated

What TBT measures

While the browser runs a long JavaScript task, it can't respond to clicks, taps or key presses. TBT measures how much of that blocking happens during page load. Any task longer than 50 ms is a long task, and the time over 50 ms is its blocking portion. TBT is the sum of those portions between FCP and Time to Interactive.

TBT is a lab metric. Lighthouse and PageSpeed Insights measure it in a simulated page load, without a real person. It can't be measured for real visitors, because "between FCP and Time to Interactive" only makes sense in a controlled test. Its field counterpart is INP, which measures how fast the page actually responded to real interactions.

How TBT is calculated

TBT = Σ (long task duration − 50 ms), for tasks between FCP and Time to Interactive

Example: during load, Lighthouse sees three tasks of 70 ms, 40 ms and 250 ms. The 40 ms task isn't long. The others block for 20 ms and 200 ms, so TBT is 220 ms: just over the mobile "good" line.

Lighthouse TBT thresholds

RatingMobileDesktop
Green (fast)0–200 ms0–150 ms
Orange (moderate)200–600 ms150–350 ms
Red (slow)Over 600 msOver 350 ms

These are Lighthouse's scoring bands, not Core Web Vitals thresholds. TBT is one of the inputs to the Lighthouse performance score, alongside FCP, LCP, CLS and Speed Index.

How to measure and improve TBT

Run Lighthouse in Chrome DevTools or PageSpeed Insights, and use the Performance panel to find the long tasks. The fixes are the same ones that help INP: ship less JavaScript, split large bundles, defer third-party scripts, and break long tasks into smaller pieces so the browser can respond between them.

Common TBT mistakes

  • Treating TBT as what users feel. It is a lab proxy. A page with a high TBT may respond fine if nobody clicks during load, and a page with a low TBT can still have slow clicks later. Check INP from real visitors.
  • Testing only on desktop settings. Mobile Lighthouse throttles the CPU, which is closer to what most visitors have.
  • Comparing single runs. Lab results vary from run to run; compare medians of several.

Does MetricRaven report TBT?

No. MetricRaven measures real visitors, and TBT can't be measured for them. Its Page speed feature (off until you turn it on in Settings) collects the field metrics instead: INP for responsiveness, plus LCP, CLS, FCP and TTFB, through Google's web-vitals library. That is real user monitoring, not a lab test.

Pages → view all shows INP and LCP at the 75th percentile next to each page's purchase rate, and Pages → Details (and the API) lists pages where visitors with slow loads paid less often than visitors with fast ones. Use Lighthouse's TBT to find long tasks, and MetricRaven's INP and conversion rate to see whether they cost you sales. See Page speed vs conversion.

Questions

What is a good Total Blocking Time?
Under 200 milliseconds on mobile in Lighthouse (green). 200–600 ms is moderate and over 600 ms is slow. On desktop the bands are 0–150, 150–350 and over 350 ms.
Is TBT a Core Web Vital?
No. TBT is a lab metric used in the Lighthouse performance score. The Core Web Vital for responsiveness is INP, which is measured from real visitors.
What is the difference between TBT and INP?
TBT measures how long the main thread is blocked during a simulated page load. INP measures how quickly the page responded to real clicks, taps and key presses during a visit. TBT is a lab proxy; INP is what visitors experienced.
Can you measure TBT for real users?
No. TBT depends on the window between FCP and Time to Interactive in a controlled load, so it is only measured in lab tools such as Lighthouse and PageSpeed Insights. For real users, measure INP.
Full glossary

See if slow responses cost you buyers

MetricRaven measures INP and LCP from real visitors, the field metrics TBT stands in for, and shows them next to each page's purchase rate.

14-day free trial, no card required.