The definitive answer is: that depends
Hi the Last Knight
A synopsis should be no longer than the individual agent specifies... so check out the rules of whomever you're querying.
Having said that, if they don't specify, I would say about 1000 words is right for a novel of circa 100,000...
I guess the final word on this is: keep the synopsis tight; just as in your ms, if a word, sentence or paragraph can be removed without losing anything, then do so.