Skip to content

Blog / Writing

How to Calculate Reading Time for a Blog Post

Reading time is word count divided by 238 words per minute, plus time for images. Learn the formula, rounding rules and a copy-paste JavaScript snippet.

2 min read

To calculate reading time, divide the word count by a reading speed of about 238 words per minute, then round to the nearest minute. A 1,500-word post takes 1,500 ÷ 238 = 6.3 minutes, so you would label it a “6 min read”.

Reading time labels help readers decide whether to start. They are also easy to get wrong if you ignore images, code or odd formatting.

Step 1: count the words

Use the word count from your editor, or count in code by splitting the text on whitespace. Exclude front matter and HTML tags if you are counting from source. Rounded counts are fine; you are producing an estimate.

Step 2: pick a reading speed

The best-supported figure is 238 WPM for adult non-fiction, from a 2019 meta-analysis. Some publishers use slightly faster numbers, like 265 WPM, which gives shorter times. Slower speeds suit technical content. The reading speed guide lists the common values.

Step 3: divide and round

WordsTime at 238 WPM
5002 min 6 sec
8003 min 22 sec
1,0004 min 12 sec
1,5006 min 18 sec
2,0008 min 24 sec
3,00012 min 36 sec

Round to the nearest whole minute, with a floor of 1 minute so a short post never says “0 min read”.

Step 4: add time for images

Images take a few seconds each to look at. A widely used method adds 12 seconds for the first image, 11 for the second, and so on down to a minimum of 3 seconds each.

For a 1,500-word post with three images:

  • Text: 1,500 ÷ 238 = 6.3 minutes, or 378 seconds
  • Images: 12 + 11 + 10 = 33 seconds
  • Total: 411 seconds, or 6 minutes 51 seconds, which rounds to 7 min read

A JavaScript snippet

function readingTime(text, images = 0, wpm = 238) {
  const words = text.trim().split(/\s+/).length;
  let seconds = (words / wpm) * 60;
  for (let i = 0; i < images; i++) seconds += Math.max(12 - i, 3);
  return Math.max(1, Math.round(seconds / 60));
}

It returns whole minutes, with a minimum of 1.

Things to watch

  • Code blocks. Developers read code more slowly than prose, so a post full of code needs a lower WPM or a longer estimate.
  • Tables and lists. These are often scanned, so they can read faster than their word count suggests.
  • Don’t over-promise. A “2 min read” on an article that takes five erodes trust.

If you would rather skip the code, paste your post into the reading time calculator. It counts the words, lets you adjust the speed and adds the image time automatically.

Try the calculators

Keep reading