Expected hits in the appropriate search space
The classical approximation links local raw score S to scoring-model constants K and λ and effective search lengths m and n. The calculator accepts Kmn as an already supplied aggregate factor.[1]
m and n are not simply database record counts. n describes an appropriate effective database size in characters or residues, accounting for length corrections and the actual search statistics. This calculator does not infer it from file size. At the same calibrated score, a larger space produces more expected chance hits. This accounts statistically for additional comparison opportunities rather than changing the observed symbol pairs.[1]
Local score statistics require an appropriate background and scoring model. The classical theoretical foundation concerns ungapped local alignments; gapped statistics also use suitably calibrated parameters. Composition bias and low-complexity regions can undermine naive interpretation. Do not apply this equation indiscriminately to the score distribution of global Needleman–Wunsch alignment.[1]
From raw score to bit score
B is normalized bit score and M is the explicitly supplied effective search space. K is already included in B and must not be multiplied in again.[1]
With the same space, one additional bit halves E. At the same bit score, multiplying search space multiplies E by the same factor. The inverse requires positive E and M.
Percent identity describes the fraction of exactly matching columns in a supplied alignment; it is not another unit for bit score. A short identical fragment and a long imperfect alignment can carry very different statistical evidence. Also report aligned length, coverage, scoring settings and search context. The reference on score and sequence identity separates these descriptive quantities.[2]
Two examples without a homology-percentage claim
Change bit score and database space separately
- Given
- Illustrative effective space M=220 and calibrated bit score B=30.
- Find
- E and the effect of increasing search space sixteenfold.
Distinguish the original and enlarged searches symbolically.
Combine powers with the same base.
Account for additional comparison opportunities.
Result: The same bit score yields a sixteenfold larger E-value in the enlarged space. The alignment’s sequence identity has not changed.
Check: Enlarged E divided by original E is 16. Improving the score by 4 bits would exactly offset this space increase.
An expectation of three is not a probability of three
- Given
- A search has supplied E=3; additionally assume a suitable Poisson model for its chance-hit count.
- Find
- Probability of at least one such chance hit.
State the additional distribution assumption.
Substitute the expected hit count.
Check with the complementary probability.
Result: Under this additional assumption, the probability of at least one chance hit is about 95.02 percent. It is still not the probability that a particular biological hypothesis is true or false.
Check: 0.95021293+0.04978707≈1. E=3 may exceed one; a probability cannot.
Recall the method later with the formula’s flashcards.
11 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
A zero display, database version and biological interpretation
An E-value printed as 0.0 may represent an extremely small positive number. With positive finite factors and finite score, model E is not mathematically zero. A rounded zero therefore has no finite inverse score. This calculator reports unrepresentable positive results instead of presenting a certain zero probability. Under a Poisson assumption P≈E for small E, but that approximation visibly fails for larger E.[1]
A statistically unusual local alignment can support evidence of homology, but does not automatically establish the same present-day function. Domains, coverage, composition and experimental context remain relevant. E-values from different database versions or scoring models are not directly comparable biological quantities without that context. Report the model, search-space definition and database version.[1]
Five tasks on score, space and chance
Calculate · Foundation
M=224, B=40. Calculate E.
Show hint
Subtract exponents with the same base.
Learning goal: Combine powers of two in an E-value.
Show solution and calculation
E=224·2−40=2−16=1/65536≈0.0000152588.
Check E·65536=1.
Rearrange · Application
M=220 and E=2−15. Find B.
Show hint
Use B=log2M−log2E.
Learning goal: Recover bit score from a positive E-value.
Show solution and calculation
B=20−(−15)=35.
Check 220·2−35=2−15.
Interpret · Application
E=0.2. Is this exactly 20 percent probability of at least one chance hit?
Show hint
Additionally use P=1−exp(−E) if the Poisson model fits.
Learning goal: Distinguish an expectation from its Poisson probability.
Show solution and calculation
P=1−exp(−0.2)≈0.18126925, or 18.13 percent.
E is an expected count; E≈P is a small-E approximation.
Error analysis · Application
An alignment had E=10−6. At the same bit score, effective search space grows 1000-fold. Someone reports unchanged 10−6. Correct under this model.
Show hint
At fixed score E is proportional to search space.
Learning goal: Account for database size in a comparison.
Show solution and calculation
New E=1000·10−6=10−3=0.001.
The alignment is unchanged but chance-comparison opportunities increased.
Transfer · Challenge
With fixed Kmn and lambda=0.5, E should decrease tenfold. What score increase ΔS is required?
Show hint
Divide the two exponential equations.
Learning goal: Translate an E-value improvement into a raw-score increase.
Show solution and calculation
New E/old E=exp(−lambdaΔS)=1/10, giving ΔS=ln10/0.5≈4.60517.
Check exp(−0.5·4.60517)≈0.1.
Lambda and scoring model must remain unchanged.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Sources for this explanation
Quanta · Updated November 1, 2026
- NCBI, The Statistics of Sequence Similarity Scores: local scores, bit scores, database searches and P-values
- NCBI, BLAST Command Line Applications User Manual, Appendices: alignment length, identity and output fields
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Separated raw score, bit score and effective space; distinguished E from Poisson probability and biological evidence, with two examples and five tasks.
Cite this reference page
Quanta. BLAST E-value in Sequence Searches. Updated November 1, 2026. https://quanta-study.de/en/formula-sheet/blast-e-value-sequenzsuche
When citing a specific scientific statement, also cite the specialist source linked to that statement.