Quotient filter explained in plain terms means understanding the membership test that stores fingerprints in a table so tidy it can delete items, resize itself and merge with another filter, all without ever seeing the original keys. The central question is why engineers needed another filter when Bloom filters already worked, and the answer is that Bloom filters cannot delete or grow, so a filter that can do both saves a rebuild every time a set changes.
A quotient filter is a compact data structure from a 2012 paper, Don’t Thrash: How to Cache Your Hash on Flash, by Bender, Farach-Colton, Johnson and colleagues. It splits each fingerprint into a quotient that picks the slot and a remainder that is stored, and it answers the same question as a Bloom filter, is this item probably in the set, while also supporting removal and resizing.
This article sets out five facts about quotient filters, what they are, how they work, and where they run in the real world.
Key takeaways
- A quotient filter stores fingerprints, not whole items.
- It splits each fingerprint into quotient and remainder.
- It can delete items and resize without the original keys.
- Two filters can be merged like a merge sort.
- It came from a 2012 VLDB paper by Bender and colleagues.
What a quotient filter is
A quotient filter is a membership structure that turns each item into a short fingerprint and stores only the remainder in a table, and that split is what makes it unusual among filters. Each fingerprint is divided into high bits that choose the slot and low bits that are kept, which means the quotient is remembered by position alone, and because only the remainder is written down, the table stays small.
Its signature feature is deletion. Most membership filters can only add, but a quotient filter removes an item by deleting its remainder, which means a set can shrink as well as grow, and because removal is a normal operation, the filter fits systems where membership changes all the time.
The design was a reaction to the Bloom filter’s limits. Bloom filters were fast and small but could never delete or resize, so Bender and his colleagues asked whether quotienting could carry fingerprints instead, because a filter that cannot forget is a filter that must be rebuilt, and that practicality is what made the quotient filter worth building.
It became one of the best-known filters in the world, and it is named in every discussion of the field. The paper appeared at VLDB 2012, it built on Knuth’s 1973 quotienting idea and Cleary’s 1984 compact hash tables, it showed that lookups touch only one or two cache lines, and it is still the first example engineers meet when they learn that a filter can resize, which means the design survives as a tool even though it is over a decade old.
Our guide to cuckoo filters explains the other deletable filter it is measured against, and our guide to cuckoo hashing explains the table design its clusters resemble.
How a quotient filter works
Everything starts with the fingerprint, which sets the item’s compact form. A quotient filter hashes an item into a p-bit fingerprint, which means the filter depends on fingerprints alone, and because the hash is uniform, the fingerprints spread evenly across the table.
Each step begins with the split, which divides the fingerprint in two. A quotient filter takes the high q bits as the quotient and the low r bits as the remainder, which means every fingerprint has exactly one home slot, and because the quotient is the slot address, it never needs to be stored.
The run is what makes the design work as a whole. When several fingerprints share a quotient, their remainders sit together in a run of slots, which means the table stays ordered, and because three metadata bits mark each slot as occupied, continued or shifted, the run can be found again later.
Lookup spreads the effect further. A quotient filter goes to the fingerprint’s home slot, finds its run, and checks the remainders inside it, which means a member is found in a short local scan, and because the scan touches contiguous slots, the answer comes back with almost no cache misses.
Deletion is what turns the structure into a living set. A quotient filter removes the remainder from its run and shifts the rest back, which means the item leaves the set cleanly, and because the metadata is repaired as it goes, the rest of the set stays valid.
The result comes from the run check, read out as probably present or definitely absent. A quotient filter returns a definite no when no remainder matches, which means the result is certain in one direction whatever the input, and that certainty is exactly what a membership test needs.

Comparing quotient filters with other filters
A quotient filter is one of several membership structures built to answer probably-in-the-set, and each was built with a different emphasis. A Bloom filter is the classic bit array built for minimal space, a cuckoo filter is the fingerprint filter built to delete cheaply, and a quotient filter is the one built to delete, resize and merge, while each approach trades something for something else.
The table below sets out the main contrasts between the leading approaches.
| Aspect | Quotient filter | Bloom filter | Cuckoo filter |
|---|---|---|---|
| Stores | Remainders | Bits | Fingerprints |
| Deletion | Yes | No | Yes |
| Resizing | Yes, without keys | No | Rebuild needed |
| Merging | Yes, like merge sort | No | No |
| Best for | Changing sets | Fixed sets | Fast deletion |
The practical result is that a quotient filter is the right choice for changing sets, a Bloom filter suits fixed sets, and a cuckoo filter fits fast deletion instead.
Where quotient filters are used
Databases use them to skip disk reads. A store checks the filter before touching slow storage, because a definite no saves a whole read, and that saving is the reason the filter earns its keep in database code.
Storage engines use them inside flash caches. The original paper built buffered and cascade variants for SSDs, because a filter that touches few pages suits flash, and that locality is the reason the design was built for real systems.
Networks use them to track live sets. A router checks the filter before forwarding a lookup, because a fast answer keeps packets moving, and that speed is the reason the quotient filter appears in networks far beyond its database origins.
Benchmarking uses them as the resizable reference. Engineers still quote quotient filters when they discuss how a membership test should behave under churn, because it is the clearest example of resizing without keys, and that number shapes how new filters are measured.
Teaching uses them as the quotienting example. Courses introduce quotient filters when they explain that position can store information, because it is the clearest case of an address doing the work of data, and a student who understands quotient filters understands why a filter’s layout shapes its whole behaviour.
Strengths and limits
The greatest strength of a quotient filter is that it grows and shrinks without the original keys. A filter that resizes by rehashing its own remainders fits every system where sets change size, and that strength is real, measured in the paper’s own benchmarks and confirmed by the systems that adopted it.
It is also a strength that lookups stay local. A filter that answers from one or two cache lines wastes almost no memory bandwidth, and that locality is worth more than cleverness in a field where a filter that jumps across memory is a filter that wastes time.
The limits are real, though, and the biggest is the false positive rate. A quotient filter can say probably present when the item is absent, which means it must never be the final word on membership, and a system that needs certainty must check the real data after the filter.
Quotient filter checklist
- Use quotient filters for membership tests, never as proof of presence.
- Remember it stores remainders, not whole fingerprints.
- Note it supports deletion, resizing and merging.
- Compare it with Bloom to see two generations of one idea.
- Study the three metadata bits, which is what makes runs work.
- Check the false positive rate, since short remainders err more.
- Keep real membership checks behind the actual data store.
- Read the 2012 paper to see how the filter was built.
- Choose a quotient filter when sets change and space is tight.
Frequently asked questions
What is a quotient filter in simple terms?
It is a compact structure that stores short fingerprints split into a quotient and a remainder, so it can test membership and delete items too.
Who created the quotient filter?
Bender, Farach-Colton, Johnson and colleagues, in a paper presented at VLDB 2012 about caching hashes on flash.
How is a quotient filter different from a Bloom filter?
Both test membership, but a quotient filter can delete, resize and merge, while a Bloom filter can do none of those.
Is a quotient filter still secure?
It is fast and well tested, but it can give false positives, so it must never be the final word on whether an item is present.
Where are quotient filters used?
In databases, in flash storage engines, in networks, and in teaching about compact data structures.
When should I use a quotient filter?
When you need fast membership tests on a changing set, when resizing matters, or when you study modern filter design.
The bottom line
Quotient filter explained in one line is this: a Bloom filter that learned to grow, a 2012 design that stored remainders by quotient and taught the field that position itself can hold information.
It is proof that a clever split beats a bigger table, and the reason it still matters is that every filter designed since has been judged partly by the lesson the quotient filter taught.
This article is general information about how a quotient filter works, not advice about choosing encryption for a particular device or system.







