{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"text-statistics"},"result":{"entity_type":"calculator","id":"text-statistics","calculator_id":"text-statistics","canonical_url":"https://tttkmbb.com/everyday/text-statistics","name":"Text Statistics Calculator","title":"Text Statistics – Character, Word and Sentence Counts with Reading and Speaking Time","category":"everyday","category_name":"Everyday Life","tool_name":"analyze_text_statistics","featured_mcp_tool":false,"description":"Counts characters (with and without spaces), words, unique words, sentences and paragraphs of a text, computes average word and sentence length, the most frequent words and the longest word, and estimates silent reading time at 238 words per minute (Brysbaert 2019) and speaking time at 150 words per minute.","use_when":"You need a word or character count, word frequencies, or the reading and speaking time of a passage, essay, speech or post, for example to check a length limit.","do_not_use_when":"You need readability grades (use reading-level), reading time from a word count you already have (use reading-time), or typing speed (use typing-speed).","inputs":[{"name":"text","label":"Text","type":"string","required":true,"description":"The text to analyse, up to 20,000 characters.","example":"The quick brown fox jumps over the lazy dog. It was a sunny day!"},{"name":"reading_speed_wpm","label":"Reading speed","type":"number","unit":"wpm","required":false,"default":238,"min":50,"max":2000,"description":"Silent reading speed in words per minute; 238 wpm is the adult mean for non-fiction (Brysbaert 2019).","example":238},{"name":"speaking_speed_wpm","label":"Speaking speed","type":"number","unit":"wpm","required":false,"default":150,"min":50,"max":500,"description":"Speaking pace in words per minute; 150 wpm is a typical presentation or audiobook pace.","example":150}],"outputs":[{"name":"characters","label":"Characters","type":"integer","decimals":4,"description":"All characters including spaces and line breaks (Unicode code points)."},{"name":"characters_without_spaces","label":"Characters without spaces","type":"integer","decimals":4,"description":"Characters excluding all whitespace."},{"name":"words","label":"Words","type":"integer","decimals":4,"description":"Whitespace-separated tokens that contain at least one letter or digit."},{"name":"unique_words","label":"Unique words","type":"integer","decimals":4,"description":"Distinct words, case-insensitive, ignoring surrounding punctuation."},{"name":"sentences","label":"Sentences","type":"integer","decimals":4,"description":"Segments ending in . ! or ? (optionally followed by a closing quote or bracket) before whitespace or the end of the text (minimum 1)."},{"name":"paragraphs","label":"Paragraphs","type":"integer","decimals":4,"description":"Blocks of text separated by blank lines (minimum 1)."},{"name":"average_word_length","label":"Average word length","type":"number","unit":"characters","decimals":2,"description":"Letters and digits of all words ÷ words (punctuation, apostrophes and hyphens are not counted)."},{"name":"average_sentence_length_words","label":"Average sentence length","type":"number","unit":"words","decimals":2,"description":"words / sentences."},{"name":"unique_word_ratio_percent","label":"Unique words","type":"number","unit":"%","decimals":2,"description":"unique_words / words × 100 (lexical variety)."},{"name":"reading_time_seconds","label":"Reading time","type":"number","unit":"s","decimals":1,"description":"words / reading_speed_wpm × 60."},{"name":"reading_time_text","label":"Reading time","type":"string","decimals":4,"description":"Reading time as h / min / s."},{"name":"speaking_time_seconds","label":"Speaking time","type":"number","unit":"s","decimals":1,"description":"words / speaking_speed_wpm × 60."},{"name":"speaking_time_text","label":"Speaking time","type":"string","decimals":4,"description":"Speaking time as h / min / s."},{"name":"longest_word","label":"Longest word","type":"string","decimals":4,"description":"First word with the most letters and digits."},{"name":"top_words","label":"Most frequent words","type":"list","decimals":4,"description":"Up to 10 rows of word and count for words of 3 or more characters, most frequent first (ties in order of first appearance)."}],"input_schema":{"type":"object","properties":{"text":{"description":"The text to analyse, up to 20,000 characters.","type":"string","examples":["The quick brown fox jumps over the lazy dog. It was a sunny day!"]},"reading_speed_wpm":{"description":"Silent reading speed in words per minute; 238 wpm is the adult mean for non-fiction (Brysbaert 2019). Unit: wpm.","type":"number","minimum":50,"maximum":2000,"default":238,"examples":[238],"x-unit":"wpm"},"speaking_speed_wpm":{"description":"Speaking pace in words per minute; 150 wpm is a typical presentation or audiobook pace. Unit: wpm.","type":"number","minimum":50,"maximum":500,"default":150,"examples":[150],"x-unit":"wpm"}},"additionalProperties":false,"required":["text"]},"output_schema":{"type":"object","properties":{"characters":{"description":"All characters including spaces and line breaks (Unicode code points).","type":"integer"},"characters_without_spaces":{"description":"Characters excluding all whitespace.","type":"integer"},"words":{"description":"Whitespace-separated tokens that contain at least one letter or digit.","type":"integer"},"unique_words":{"description":"Distinct words, case-insensitive, ignoring surrounding punctuation.","type":"integer"},"sentences":{"description":"Segments ending in . ! or ? (optionally followed by a closing quote or bracket) before whitespace or the end of the text (minimum 1).","type":"integer"},"paragraphs":{"description":"Blocks of text separated by blank lines (minimum 1).","type":"integer"},"average_word_length":{"description":"Letters and digits of all words ÷ words (punctuation, apostrophes and hyphens are not counted). Unit: characters.","type":"number","x-unit":"characters"},"average_sentence_length_words":{"description":"words / sentences. Unit: words.","type":"number","x-unit":"words"},"unique_word_ratio_percent":{"description":"unique_words / words × 100 (lexical variety). Unit: %.","type":"number","x-unit":"%"},"reading_time_seconds":{"description":"words / reading_speed_wpm × 60. Unit: s.","type":"number","x-unit":"s"},"reading_time_text":{"description":"Reading time as h / min / s.","type":"string"},"speaking_time_seconds":{"description":"words / speaking_speed_wpm × 60. Unit: s.","type":"number","x-unit":"s"},"speaking_time_text":{"description":"Speaking time as h / min / s.","type":"string"},"longest_word":{"description":"First word with the most letters and digits.","type":"string"},"top_words":{"description":"Up to 10 rows of word and count for words of 3 or more characters, most frequent first (ties in order of first appearance).","type":"array"}}},"formula":"words = whitespace tokens containing a letter or digit; sentences = max(1, segments split at [.!?]+ followed by whitespace or end); paragraphs = max(1, blocks split at blank lines); average_word_length = Σ letters and digits per word / words; reading_time_seconds = words / reading_speed_wpm × 60; speaking_time_seconds = words / speaking_speed_wpm × 60","method":"Counting follows common word-processor conventions: hyphenated words and numbers count as one word, and abbreviations with periods ('e.g. ') end a sentence. Reading speed defaults to Brysbaert's 2019 meta-analytic mean for silent reading of English non-fiction (238 wpm; fiction 260 wpm).","sources":[{"name":"Brysbaert M (2019) How many words do we read per minute? A review and meta-analysis of reading rate, J Mem Lang 109:104047","url":"https://doi.org/10.1016/j.jml.2019.104047","type":"peer_reviewed","retrieved_at":"2026-09-24"},{"name":"Words per minute – reading and speech rates (Wikipedia)","url":"https://en.wikipedia.org/wiki/Words_per_minute","type":"reference","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"Pangram plus a second sentence","inputs":{"text":"The quick brown fox jumps over the lazy dog. It was a sunny day!"},"expected":{"characters":64,"characters_without_spaces":51,"words":14,"unique_words":13,"sentences":2,"paragraphs":1,"average_word_length":3.5,"average_sentence_length_words":7,"reading_time_seconds":3.5,"speaking_time_seconds":5.6,"longest_word":"quick"},"url":"https://tttkmbb.com/api/v1/calculate/text-statistics?text=The+quick+brown+fox+jumps+over+the+lazy+dog.+It+was+a+sunny+day%21"},{"name":"Two paragraphs with repeated words","inputs":{"text":"Rain, rain, go away. Come again another day.\n\nLittle Johnny wants to play; rain, rain, go away!","reading_speed_wpm":238,"speaking_speed_wpm":150},"expected":{"characters":95,"characters_without_spaces":78,"words":17,"unique_words":12,"sentences":3,"paragraphs":2,"average_word_length":4.12,"reading_time_seconds":4.3,"speaking_time_seconds":6.8,"longest_word":"another","top_words":[{"word":"rain","count":4},{"word":"away","count":2},{"word":"come","count":1},{"word":"again","count":1},{"word":"another","count":1},{"word":"day","count":1},{"word":"little","count":1},{"word":"johnny","count":1},{"word":"wants","count":1},{"word":"play","count":1}]},"url":"https://tttkmbb.com/api/v1/calculate/text-statistics?text=Rain%2C+rain%2C+go+away.+Come+again+another+day.%0A%0ALittle+Johnny+wants+to+play%3B+rain%2C+rain%2C+go+away%21&reading_speed_wpm=238&speaking_speed_wpm=150"}],"faq":[{"q":"Why does the word count differ from my word processor?","a":"Tools differ on hyphens, slashes, numbers and stand-alone punctuation. Here any whitespace-separated token with a letter or digit is one word, which matches Microsoft Word for ordinary prose."},{"q":"How are sentences detected?","a":"A sentence ends at . ! or ? followed by a space or the end of the text, so abbreviations such as 'Dr. ' add a sentence; a text without terminal punctuation counts as one sentence."},{"q":"What speaking speed should I use?","a":"Conversational English runs 150–160 wpm; slow, formal presentations 100–130 wpm; auctioneers and fast speakers exceed 200 wpm. Audiobooks are recorded near 150 wpm."}],"tags":["word counter","character count","sentence counter","reading time calculator","speaking time","word frequency"],"related":[{"calculator_id":"reading-time","reason":"Reading time from a word count alone."},{"calculator_id":"reading-level","reason":"Readability grades for the same text."},{"calculator_id":"typing-speed","reason":"Words per minute for typing."}],"links":{"html":"https://tttkmbb.com/everyday/text-statistics","markdown":"https://tttkmbb.com/everyday/text-statistics.md","json":"https://tttkmbb.com/everyday/text-statistics.json","api":"https://tttkmbb.com/api/v1/calculate/text-statistics","schema":"https://tttkmbb.com/api/v1/calculators/text-statistics","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T03:44:15Z"}