The number most calculators give you cannot be compared
Type-token ratio is distinct words over total words, and it is the figure almost every lexical diversity tool reports. It has one serious flaw: it falls as text gets longer, in every text, regardless of who wrote it or how well. You keep needing the and of and which, while genuinely new words arrive more and more slowly, so the ratio slides downward by arithmetic alone.
The practical consequence is that a 300-word abstract will nearly always out-score a 6,000-word chapter by the same author, and a comparison between them says nothing at all. Add a paragraph to your own draft and the score drops, which makes it useless even for tracking yourself. The chart above measures your text at increasing lengths so you can watch it happen.
What MATTR does differently
It holds the length constant. Take the first fifty words, compute the ratio, move the window forward by one word, compute it again, and keep going to the end; the answer is the average of all those windows. Every measurement is made on exactly fifty words, so document length drops out of the result and the figure means the same thing in a paragraph and in a thesis.
It is not the only length-corrected measure — MTLD and vocd-D are the two other names you will meet in the literature, and each makes different assumptions. MATTR is here because it is the easiest to state honestly in one sentence, which matters for a number people will quote.
What it does not tell you
Whether the writing is good, and whether any detector will flag it. Repetition is often correct: a methods section that keeps saying participants is being precise, and a thesaurus pass over it would damage the writing while improving the score. Treat the figure as a description, never a target.
The term itself has a fuller treatment in the glossary entry, including where the measure shows up in authorship arguments and why a raw ratio is not evidence unless both texts are the same length.
If the underlying worry is detection rather than style, the honest ground is how detectors actually work and perplexity, which is the quantity they are built on and is not the same as vocabulary variety. For the writing itself, word frequency shows you which words you are leaning on, and the sentence rhythm analyzer covers variation in length rather than in vocabulary.