How this calculation works
Provide a strictly increasing order grid greater than one. Each mechanism contributes a nonnegative privacy guarantee at every listed order and a repetition count.
εRDP,total(α)=Σm rm εm(α); ε(δ)≤minα [εRDP,total(α)+log(1/δ)/(α−1)].A worked example
Default composed curve[3,4.5,7.5,15]. Conversion adds log(1000)/(alpha−1); best supplied order3 gives epsilon4.5+log(1000)/2. Finite-order zero-cost conversion is conservative, not exact optimal epsilon0.
Good to know
2–50 increasing Renyi orders>1,1–30 nonnegative per-order mechanism curves, integer repetition counts≤1e6, target delta1e−12…0.1; supplied curves or same-page Gaussian alpha*Delta²/(2sigma²) construction; finite-order minimum is an upper bound, no subsampling amplification or claimed globally optimized privacy.
Reference: Mironov original Renyi differential privacy paper (opens in a new tab) ↗
Align every mechanism on the same Renyi orders
Provide a strictly increasing order grid greater than one. Each mechanism contributes a nonnegative privacy guarantee at every listed order and a repetition count.
A missing entry is not zero privacy cost. Mechanism curves must be valid guarantees under the same adjacency definition before composition is meaningful.
Compare this with the Analytic Gaussian mechanism noise calibration calculator. Compose a list of order-indexed RDP guarantees with repetition counts and convert their sum to an epsilon bound for target delta by minimizing across supplied orders. Existing analytic Gaussian page calibrates the noise for one release and explicitly excludes composition.
Add privacy cost before converting to epsilon delta
At each order, multiply each curve by its repetition count and sum across mechanisms. This preserves the order-specific information during composition.
Converting each mechanism separately and then adding epsilon can produce a different, looser calculation. The input curves should remain the primitive guarantees here. An RDP curve supplies a privacy bound rho(alpha) at each listed Renyi order. Repeating a mechanism adds its curve once per release, and independent entries in the mechanism list add in the same order-wise accounting framework. The default two curves with repetition counts2 and4 produce totals3,4.5,7.5 and15 at orders2,3,5 and10. Those totals are privacy guarantees supplied by the mechanism analysis, not empirical estimates inferred from observed model accuracy or token usage.
Minimize the converted bound over supplied orders
For a target delta, add log one over delta divided by order minus one to each composed curve entry. Select the smallest resulting upper bound.
The best listed order need not be the best possible real order. A finite grid gives a valid bound from the supplied guarantees, not an assertion of global numerical optimality.
Work through the checked default example
Default composed curve[3,4.5,7.5,15]. Conversion adds log(1000)/(alpha−1); best supplied order3 gives epsilon4.5+log(1000)/2. Finite-order zero-cost conversion is conservative, not exact optimal epsilon0.
The converted bounds at orders2,3,5,10 are approximately9.907755,7.953878,9.226939,15.767528. The displayed minimum therefore uses order3 and delta0.001; it is a bound over this supplied grid. For target delta0.001, the basic conversion adds log(1/delta)/(alpha−1) to each composed RDP value. The default converted bounds are about9.90776,7.95388,9.22694 and15.76753. The smallest listed bound occurs at order3, giving epsilon about7.95388. This illustrates the trade-off: a higher order reduces the conversion penalty but can increase the mechanism's RDP bound. Choosing the largest order automatically would therefore be incorrect. The page displays all order-wise bounds so the selected finite-grid minimum can be checked directly.
Read a bound rather than an estimated exposure
The resulting epsilon and delta describe a mathematical privacy guarantee for the composed mechanism under its assumptions. They are not probabilities of identifying a person.
Repeating a mechanism adds privacy cost even when its output happens to look harmless. Composition depends on the mechanism guarantee rather than a visual inspection of released values.
Retain sensitivity and mechanism assumptions
For a Gaussian curve, sensitivity and noise scale must describe the actual mechanism and adjacency relation. Empirical observed sensitivity is not automatically a global bound.
Subsampling amplification and adaptive order-grid construction require their own valid accounting. They are not inferred from repetition counts or a low epsilon result. The accountant trusts that all input curves use the same adjacency definition and valid mechanism parameters. Nonnegative numbers alone do not establish a privacy proof. It does not add subsampling amplification, infer sensitivity from a dataset, or certify that an entire application contains no unaccounted releases. Zero repetition counts exclude a listed release without altering the remaining orders. A denser order grid may improve the converted bound, but the returned minimum is still only over that grid and should not be described as a globally optimized continuous-order epsilon. Preserve the target delta beside every reported epsilon.
Understand conservative zero-cost conversions
A supplied all-zero curve gives a positive bound on a finite grid under this generic conversion, although a truly data-independent mechanism can satisfy epsilon zero.
This illustrates the difference between a valid generic upper bound and the strongest possible guarantee. Report the conversion and grid rather than presenting it as a tight privacy estimate. If all repetition counts are zero, the basic finite-order conversion can still return a positive loose epsilon bound for the zero composed curve. That is a valid upper bound, not an exact privacy cost of doing nothing. A direct zero-release guarantee would be stronger. The distinction illustrates why every converted bound should be described as a bound rather than a measured loss.
A few questions, answered
Can mechanisms use different adjacency definitions?
Their guarantees must refer to a compatible common adjacency relation for this composition to apply.
Is the minimizing order globally optimal?
It is optimal among the supplied finite order grid only.
Does a smaller delta improve epsilon?
For this conversion a smaller delta adds a larger term and generally requires a larger epsilon bound.
Is subsampling amplification automatic?
No. A valid amplified RDP curve must be supplied or computed by a separately justified mechanism accountant.