Link Aggregation (LAG)
Define the member links and their speed and I compute the aggregate bandwidth, the per-flow ceiling (one flow never exceeds one link) and the hash balancing, warning if the split is uneven.
Hash load-balancing
—
Buckets per member
—
How it is computed · aggregate, flow and buckets
1. Aggregate bandwidth
= N × speed. It is the theoretical ceiling: the
sum of all active members.
2. Per-flow ceiling = 1 link.
The hash maps each flow (same source/destination pair) to one
member, so a single flow never exceeds one link's speed.
3. Hash buckets: a power of 2
(typ. 8). They are split across the N
members: base = ⌊buckets / N⌋ with
buckets mod N leftover buckets going to the first members.
4. If N is not a power of 2 it
does not divide the buckets and the split is
uneven (e.g. 3 members with 8 buckets →
3/3/2): some members carry more traffic than others.
Runs locally in your browser · no sign-up · nothing leaves your browser
How it works
The calculator models a LAG (Link Aggregation Group, also known as EtherChannel or port-channel, standardized with LACP in IEEE 802.1AX, formerly 802.3ad). From the number of member links (1 to 16) and their speed, it returns the aggregate bandwidth (N × speed), the per-flow ceiling and how the hash buckets are distributed among the members.
The key point is that a LAG does not speed up individual flows: the balancing algorithm (src-dst-mac, src-dst-ip or src-dst-ip-port) pins each flow to one member via a hash, so a single flow never exceeds the speed of one link. The hash buckets are a power of 2 (minimum 8) and are distributed as ⌊buckets ÷ N⌋ with the remainder going to the first members; when N is not a power of 2, the distribution becomes uneven and the tool warns you with the per-member detail.
Example: a 3 × 10 GbE LAG
- Aggregate bandwidth:
3 × 10 = 30 Gbps(theoretical ceiling of the bundle). - Per-flow ceiling: 10 Gbps, because each flow is pinned to a single member.
- Hash buckets: 8 spread across 3 members →
3 / 3 / 2: two links carry 37.5 % of the traffic each and the third only 25 %. - Verdict: uneven distribution; with 2, 4 or 8 members the balancing would be even.