Estimate Reading Time and Speaking Time From a Word Count (With a JavaScript Snippet)
Blog editors, podcast hosts and students all ask the same thing: how long will this text take to read, and how long to say out loud? You can estimate both from a word count. The usual rates Adults read silent
Blog editors, podcast hosts and students all ask the same thing: how long will this text take to read, and how long to say out loud? You can estimate both from a word count.
The usual rates
Adults read silently at roughly 200 to 250 words per minute for ordinary prose. Speaking aloud is slower, commonly about 130 to 150 words per minute. These are averages, so treat the result as an estimate, not a promise.
A small estimator
const RATES = { read: 230, speak: 140 }; // words per minute
function countWords(text) {
const m = text.trim().match(/\S+/g);
return m ? m.length : 0;
}
function minutes(words, wpm) {
return words / wpm;
}
function label(mins) {
if (mins < 1) return 'under 1 min';
const m = Math.round(mins);
return m + ' min';
}
const text = 'Paste your article here';
const w = countWords(text);
console.log(w + ' words | read ' + label(minutes(w, RATES.read)) + ' | speak ' + label(minutes(w, RATES.speak)));
How many words is a page?
A rough guide: a single-spaced page of 12 point text holds about 500 words, a double-spaced page about 250. So a 1,500 word essay is around 3 single-spaced or 6 double-spaced pages. Fonts, margins and headings change this, which is why a live counter beats a formula.
Things to watch
- Hyphenated words and URLs: decide whether they count as one word or several, and stay consistent.
- Numbers and symbols standing alone count as words in most counters.
- Character limits for social posts and meta descriptions need characters with and without spaces.
Check your text quickly
If you just want the numbers without code, I keep a free word, character and reading-time counter at https://wordcounter.network/ . It runs in your browser, so your text is not uploaded.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.