To ensure fair service for all customers, NCBI limits the total query length per web BLAST search. Hence, the number of sequences that you can enter in a BLAST search will depend on their lengths. For example, you can enter numerous short sequences in one search if their added length stays below the set limit.
These are the maximum allowed query lengths set by NCBI:
If you enter a query exceeding the length limit, the search will simply not run. You will receive a warning, stating that your query is too long.
Does keeping the query length below the maximum guarantee a successful search?
No. Even if you keep your query length below the required maximum, your search could still fail if it is computationally tasking. In such a case, you might have exceeded yet another imposed BLAST limit, that is the CPU allocated to each search.
Where can you learn more?
Related knowledge articles on web BLAST limitations, errors, and preventive measures: