Part of the AI & Machine Learning suite · 24 calculators

Token Count Estimator

How many tokens a piece of text is — from words, characters or pages — and whether it fits a context window.

English prose runs about 0.

Results update as you type
Results
Estimated tokens
6,667
Low estimate
High estimate
Approximate characters
Pages
Fits the context window?
Share of the context window
Tokens per word for this content
Reviewed September 2026. Model arithmetic is the same everywhere: the same formulas in every market, in your own currency. The NIST framework is voluntary guidance; it does not prescribe cost or sizing methods.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About token count estimator

How the token count estimator works

English prose runs about 0.75 words per token, or roughly four characters per token. Those two ratios disagree slightly and both are approximations, which is why this shows the range rather than a single confident number.

Other content tokenises worse. Code, JSON, non-Latin scripts and text full of numbers all use more tokens per character, sometimes twice as many, because the tokeniser was fit to ordinary prose.

Formula: tokens ≈ words / 0.75 ≈ characters / 4

Worked examples

InputsEstimated tokensNote
5,000 words of prose6,667about 6,700 tokens
The same in code9,500nearly half again as many
A book120,000still fits a 128k window

Frequently asked questions

How many tokens is a word?

About 1.33 for English prose — the familiar rule is 0.75 words per token. Code and structured data run much higher.

Why is this an estimate?

Because every model has its own tokeniser fitted to its own training data. Two models can differ by 20% on the same text.

How many tokens is a page?

A 500-word page is roughly 670 tokens of prose. A novel of 90,000 words is about 120,000.

Why does non-English text cost more?

Because tokenisers are trained predominantly on English. Scripts with fewer training examples get split into more, smaller tokens.

Should I count tokens exactly?

For billing, use your provider's tokeniser. For sizing a design, this range is enough to tell you whether something fits.

Where these figures come from

Last checked: September 2026. The relationships here are architectural, not vendor-specific: bytes per parameter follow the numeric format, KV-cache size follows the transformer definition, and token-per-word ratios come from published tokeniser behaviour.