Lexical Diversity Calculator
Calculate a case-insensitive type-token ratio for pasted text.
How Lexical Diversity Calculator works
Lexical Diversity Calculator handles case-insensitive vocabulary variety as a basic type-token ratio, with both the raw unique-word count and a percentage view. Unicode words and numbers are lowercased into tokens, a set counts distinct forms, and unique types are divided by total tokens to three decimal places. The Lexical Diversity Calculator exposes its text controls so this particular convention stays inspectable instead of hiding behind an unexplained preset.
Red red blue contains three tokens but only two unique types, yielding a ratio of 0.667 and a displayed diversity of 66.7 percent. Authors can compare similarly sized drafts or observe repeated vocabulary during revision using a transparent metric rather than a subjective label. The Lexical Diversity Calculator presents a deterministic plain-text result that can be copied and compared with the worked value before it enters another workflow.
Limits and private processing
Type-token ratio naturally falls as documents grow, and inflected forms count separately. Compare passages of similar length and language for a fair interpretation. The Lexical Diversity Calculator performs its complete operation locally in your browser; neither the source text nor its settings are uploaded, stored remotely, or sent through an external request.
Frequently Asked Questions
How does the Lexical Diversity Calculator work?
Unicode words and numbers are lowercased into tokens, a set counts distinct forms, and unique types are divided by total tokens to three decimal places.
What does the default Lexical Diversity Calculator example return?
Red red blue contains three tokens but only two unique types, yielding a ratio of 0.667 and a displayed diversity of 66.7 percent.
What limitation should I know about?
Type-token ratio naturally falls as documents grow, and inflected forms count separately. Compare passages of similar length and language for a fair interpretation.
Is the Lexical Diversity Calculator private?
Yes. This specific lexical diversity calculator operation runs locally in your browser and does not transmit the input or settings.
Browse the full set of free, private, in-browser tools.