BM25 calculator

Enter a query and documents to see how BM25 ranks results by term matches, document length, and parameters.

How to use
Ranking
Controls how much repeated query terms can raise the score.
Controls how strongly document length is normalized.

Run a calculation to see ranked documents.

Free credits: Checking

BM25 calculator for BM25 algorithm and search ranking

The BM25 calculator helps debug keyword search by showing BM25 scores for a query and candidate documents. Use it to inspect how the BM25 algorithm balances term frequency, document length, and inverse document frequency. When a result ranks higher, the ranking view shows which terms matched and how the BM25 formula changed the score. This makes BM25 search easier to explain before you tune search or compare content.

BM25 calculator query

Enter a real query to see which terms drive BM25 ranking.

BM25 ranking documents

Paste candidate documents and compare how the BM25 calculator scores each document with the BM25 formula.

BM25 formula parameters

Adjust k1 and b to see how the BM25 formula changes BM25 ranking order.

How to use BM25 calculator

Use it in three steps.

  1. 01

    Enter the search query.

  2. 02

    Paste one or more candidate documents.

  3. 03

    Adjust k1 and b to see how scores and ranking change.

Formula

How BM25 scores documents.

Score

score(D,Q) = sum IDF(q) * tf(q,D) * (k1 + 1) / (tf(q,D) + k1 * (1 - b + b * |D| / avgdl))

Parameters

k1 controls term saturation. b controls length normalization.

BM25 calculator FAQ

What is BM25?

BM25 is a lexical ranking formula that scores documents by query term matches, term frequency, document length, and inverse document frequency.

How does BM25 score documents?

It compares query terms with each document, weighs repeated matches, normalizes document length, and returns a relevance score. The BM25 calculator makes those scoring changes visible.

Should I change k1 or b?

Start with defaults, then adjust k1 for term-frequency saturation and b for document-length normalization.

Is BM25 semantic search?

No. BM25 is keyword-based lexical search, not semantic vector search.

Pricing

Choose a Humyze plan with clear usage limits.

Each plan includes clear usage limits and service-protection rules.

Free

For light text cleanup and trying the tool first.

$0

400 free credits/month

Start free
  • 400 free credits per month
  • Simple cleanup for obvious AI phrasing
  • Basic AI Detector review
  • BM25 and BM25F calculators with light export
  • Upgrade for more natural, deeper rewriting

Basic

Paid entry for everyday rewriting and light articles.

Save 43% yearly

$199 per year

$16.58/mo billed annually

  • 18,000 annual credits
  • Everyday rewriting, basic checks, and light article starts
  • Low-commitment paid entry into the five-tool workbench
  • Includes AI Detector review and BM25/BM25F batch tools

Ultra

High-value quality plan for sensitive content and authority assets.

Save 50% yearly

$599 per year

$49.92/mo billed annually

  • 120,000 annual credits
  • Highest rewrite strength and strict review
  • Unlocks Authority articles and the highest-value writing path
  • Built for deeper polish before final use
Compare all plans and top-up credits

Top-up credits

One-time credits add usage only. They do not unlock higher tool modes.

Choose Pro or Ultra when you need a lower credit price and higher permissions.

300 Credits

Small top-up for extra usage.

$9.99 one-time
  • 300 one-time credits
  • Does not unlock tool permissions
  • Expires after 366 days

900 Credits

Top-up for extra current-period usage.

$24.99 one-time
  • 900 one-time credits
  • Does not unlock tool permissions
  • Expires after 366 days

2,000 Credits

Heavier top-up usage.

$49.99 one-time
  • 2,000 one-time credits
  • Does not unlock tool permissions
  • Expires after 366 days

4,500 Credits

Large temporary top-up.

$99.99 one-time
  • 4,500 one-time credits
  • Does not unlock tool permissions
  • Expires after 366 days
All tools
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

We use cookies to enhance your browsing experience. Choose your preferences below.

Cookie Preferences

You can customize your cookie preferences below. Essential cookies cannot be disabled as they are necessary for the website to function properly.

These cookies are necessary for the website to function and cannot be switched off.

These cookies enable personalized features and functionality.

These cookies help us understand how visitors interact with our website.

These cookies are used to show you relevant advertisements.

These cookies are set by third-party services on our website.

Chrome is phasing out third-party cookies. Some features may not work properly in future Chrome versions.

cookie_banner.stripe_warning