Writing guide · 5 min read
The Math of Rhythm: What Sentence Length Variation Actually Measures
Rhythm in prose is not a feeling. It is a pattern of durations. Here is the formula behind sentence length variation and how to use it.
By Alyssa Glasco, Founder · Published
Rhythm in prose is not a feeling. It is a pattern of durations. Sentences have lengths. Those lengths vary, or they do not. When they do not, the reader’s attention levels out. The eye finds a pace and stops noticing the words.
Sentence Length Variation is measured as the standard deviation of word counts across all sentences in a passage. A score near zero means every sentence runs roughly the same length. A score of 5 or higher means the passage has real contrast: short sentences and long ones, stacked against each other.
The formula
std_dev = sqrt( sum((length_i − mean_length)^2) / n )
Where length_i is the word count of each sentence and n is the total sentence count.
This is not a subjective assessment of whether prose flows. It is a measurement of variance. A passage with a standard deviation of 1.2 is metronomic. A passage with a standard deviation of 7.4 has rhythm. The number does not tell you whether the rhythm is good. That requires a reader. It tells you whether rhythm is present at all.
Why standard deviation, specifically
I picked standard deviation over coefficient of variation because raw word-count spread is what readers actually feel. A passage of fifteen-word sentences with a sixteen-word outlier reads metronomic. A passage of ten-word sentences with a forty-word outlier reads alive. The mean cannot tell you that. The deviation can. I wanted the number that would change visibly when a writer broke a long sentence into two short ones, and the deviation does that cleanly.
The Inkbreaker benchmark
Inkbreaker’s fiction benchmark for Sentence Length Variation is 5.0. Passages below that threshold are flagged not because short sentences are bad, but because uniformity is invisible. The contrast is the craft. Literary fiction can run higher. Journalism sits a touch lower because deadline prose tends toward predictable rhythm.
A practical test
Read your last paragraph aloud. If you do not need to breathe anywhere unexpected, the variation is probably low. Then paste it into the Prose Grade tool and check the number. If your gut and the engine agree, that is information. If they disagree, that is information too.
References
Baayen, R.H., Milin, P. (2010). Analyzing Reaction Times. International Journal of Psychological Research, 3(2). / Flesch, R. (1948). A new readability yardstick. Journal of Applied Psychology, 32(3).