Bloom Filter Sizing Calculator
Inputs
| Expected items | 1,000,000 |
|---|---|
| Target false-positive rate | 1 % |
Bloom Filter Sizing Calculator
Inputs
Filter Requirements
≥ 1
%
0 – 100 %
Results
Enter a value to see results.
Recommended Sizing
m = \dfrac{-n \ln p}{(\ln 2)^2} = \dfrac{-\left(1,000,000\right)\ln\left(1\right)}{(\ln 2)^2} = ?
k = \operatorname{round}\!\left(\dfrac{m}{n}\ln 2\right) = \operatorname{round}\!\left(\dfrac{ ? }{ 1,000,000 }\times \ln 2\right) = ?
Cost and Accuracy
r = \dfrac{m}{n} = \dfrac{ ? }{ 1,000,000 } = ?
p' = \left(1 - e^{-kn/m}\right)^{k} = ?\,\text{\%}
Recommended Next
Hash Collision Probability Calculator
Estimate the probability of a birthday collision among a set of hash values, and find how many items are needed to reach a 50% collision chance for a given hash size.