Skip to content

Easter egg3 min read

How to Display a Dynamic Remaining Reading Time in Webflow

Learn how to display a reading time indicator that updates as you scroll in Webflow with JavaScript.

In this tutorial, Sandro, cofounder of Gemeos Webflow agency, shows you how to display a dynamic remaining reading time that updates as you scroll in Webflow.

Example

Scroll the page — the counter appears in the bottom-right corner

📖
Calculating...
0%
VariableValueDescription
WPM200Words per minute (average reading speed)
wordsCounted automaticallyNumber of words in .article-content
totalMinCalculatedTotal reading time in minutes
remainingUpdated on scrollMinutes left based on progress

1. Add the elements in Webflow

Create a Text Block with the ID reading-time-left wherever you want to display the remaining time (article header, sticky sidebar...). Add the article-content class to your content area.

(function() {
  var content = document.querySelector('.article-content');
  var display = document.getElementById('reading-time-left');
  if (!content || !display) return;

  var words = content.innerText.trim().split(/\s+/).length;
  var WPM = 200;
  var totalMin = Math.ceil(words / WPM);

  function update() {
    var scrolled = window.scrollY;
    var docH = document.documentElement.scrollHeight - window.innerHeight;
    var pct = Math.min(1, scrolled / docH);
    var wordsRead = Math.floor(words * pct);
    var remaining = Math.ceil((words - wordsRead) / WPM);
    if (remaining <= 0) {
      display.textContent = 'Article finished ✓';
    } else if (remaining === totalMin) {
      display.textContent = totalMin + ' min read';
    } else {
      display.textContent = remaining + ' min remaining' + (remaining > 1 ? 's' : '');
    }
  }

  update();
  window.addEventListener('scroll', update, { passive: true });
})();

3. Variant: combined progress bar

Combine it with the reading progress bar for a complete visual and text indicator.

Conclusion

Remaining reading time helps reduce drop-off by giving readers a clear goal. Use cases:

  • Long blog posts (5 min+)
  • Technical guides and tutorials
  • Documentation pages

Published on May 20, 2026

Sandro DA SILVA

Growth Marketer, Webflow expert, and jack-of-all-trades. Sandro handles commercial operations, ensures projects run smoothly, and addresses marketing-related issues (SEO, Tracking, Copywriting, etc).

You might be interested in these tutorials

Related tutorials

See all

You're going to working with us, guaranteed

Ready to launch your business?

get a quote

Let’s f*****G GO !!