Guide
How to calculate LIX
A fully worked Swedish example using the same counting rules as Legibly’s calculator.
Published
Count words, sentences and words with more than six letters. Add words per sentence to the percentage of long words. Those are the two components of LIX.
Sources: Språkbanken Text: LIX, formula and Björnsson reference
A worked Swedish example
This is an original synthetic example, not a customer result. It remains in Swedish because translating it would change the calculation. The table is generated by the same engine as Legibly’s tool and shows the intermediate counts.
A worked Swedish example
Eleverna läser en berättelse. Sedan pratar de om texten.
| Measure | Value |
|---|---|
| Words | 9 |
| Sentences | 2 |
| Words with more than six letters | 2 |
| LIX | 26.72 |
Word segments: Eleverna · läser · en · berättelse · Sedan · pratar · de · om · texten.
Long words: Eleverna, berättelse.
9 / 2 + 100 × 2 / 9 = 26.722222… ≈ 26.72.
“Eleverna” counts as long under the formula even if readers know it well. The result does not measure comprehension.
Calculate it in three steps
- Divide words by sentences to obtain the average sentence length.
- Divide long words by all words and multiply by 100.
- Add the two results, keeping intermediate precision until the end.
There are nine words in two sentences. ”Eleverna” and ”berättelse” have more than six letters. ”Texten” has exactly six and does not belong in the long-word count. The tool shows the words so you can check this distinction.
Counting is part of the method
The equation does not resolve every computational boundary. Legibly uses language-aware segmentation and word-like segments. Hyphens, abbreviations and sentence fragments can affect counts. Unicode provides a segmentation framework, not a guarantee that every application will choose identical word boundaries.
Sources: ECMA-402: Intl.Segmenter · Unicode Standard Annex #29: Text segmentation
Empty text has no LIX score. Treat very short text, lists, code and number-heavy content cautiously. LIX is a Swedish readability measure, not an English reading grade or a test of factual correctness.
Sources and method
Source content checked . This is not a claim of external expert review.