This SAN fan-out ratio calculator counts how many host initiators share each array target port, how many target ports each initiator sees and how many zones that creates. Enter the hosts, HBA ports, fabrics and target ports, and it returns the ratios. If you add the limit from your array’s documentation, it tells you how much room is left, and what to change if there is none.
Result
The result updates automatically as you change any input.
Formula and worked steps
Formulas used
- Initiators per fabric = hosts x ceil(HBA ports / fabrics)
- Fan-in = initiators per fabric / target ports per fabric
- Initiators zoned to each target port = initiators x targets per initiator / target ports
- Zones (single initiator, single target) = initiators per fabric x targets per initiator x fabrics
- Maximum initiators per fabric at a vendor limit L = floor(L x target ports / targets per initiator)
- No vendor limit is built in. Enter the figure from your array documentation.
- Fan-in is a connectivity count, not a performance prediction.
- Hosts are assumed to connect symmetrically to every fabric.
Working on switch uplinks in a campus or data centre rather than SAN ports? Use the oversubscription ratio calculator, which divides access bandwidth by uplink bandwidth.
What are fan-in and fan-out?
Two terms describe how a SAN connects many hosts to a few array ports. They look at the same design from opposite ends, and vendors use them loosely, so state which you mean.
Fan-in
Fan-in is the number of initiators, host HBA ports, that connect to one target port on the array. A high fan-in means many hosts compete for the same front-end port and its queue.
Fan-out
Fan-out is the number of target ports each initiator is zoned to. A host zoned to two array ports per fabric has a fan-out of 2. Higher fan-out gives more paths and more zones to manage.
Initiators per fabric
A host with two HBA ports on two fabrics has one initiator on each. The ratios are worked out per fabric, because fabric A and fabric B are separate networks and each has its own target ports.
How the SAN fan-out ratio calculator works
The tool works out initiators per fabric, target ports per fabric and the ratios between them. It also counts zones for the two main zoning patterns.
Formulas
- Initiators per fabric = hosts x ceil(HBA ports / fabrics)
- Target ports per fabric = target ports / fabrics
- Fan-in = initiators per fabric / target ports per fabric
- Initiators zoned to each target port = initiators x targets per initiator / target ports
- Zones, single initiator and single target = initiators per fabric x targets per initiator x fabrics
- Zones, single initiator and multiple targets = initiators per fabric x fabrics
Worked example
Forty hosts each have 2 HBA ports across 2 fabrics, and the array has 8 target ports. Each fabric has 40 initiators and 4 target ports, a fan-in of 10:1 and 10 hosts per target port. If each initiator is zoned to 2 target ports, then each target port is zoned to 40 x 2 / 4 = 20 initiators. Single-initiator, single-target zoning creates 40 x 2 x 2 = 160 zones, while the multiple-target pattern creates 80.
Testing against a limit
Enter the limit your array vendor gives, in initiators per target port. With a limit of 24, the example above is within it, and the maximum is floor(24 x 4 / 2) = 48 initiators per fabric, leaving room for 8 more. With a limit of 16 it is over, the maximum is 32, and the design needs more target ports or fewer initiators. The tool contains no vendor limits of its own.
Bringing the ratio down
To halve the fan-in in the example, from 10:1 to 5:1, each fabric needs 8 target ports instead of 4, which means 16 target ports across the array. The alternative is fewer initiators on those ports, by moving some hosts to another array or by connecting fewer HBA ports per host. The calculator lets you try each option and see the port count and the zone count that result.
What the ratio does not say
Fan-in counts connections, not load. Ten idle hosts on a port cost nothing, and two busy ones can saturate it. Use the ratio to stay inside published limits, and use performance data to judge load.
Why it matters for SAN and storage admins
Array ports are the scarce resource in most SANs. Hosts are added continuously, and front-end ports are added rarely, so the ratio drifts upward until something breaks. The SAN fan-out ratio calculator gives you the number to watch and the point where one more host exceeds a documented limit.
It also puts a price on zoning style. A pattern that creates 160 zones instead of 80 doubles the objects to review and maintain. That may be worth it for isolation, and it is better to decide knowingly than to find out when a change window has to cover 160 zones.
Use it when you:
- Plan how many array ports a new cluster needs.
- Check an existing array against the vendor’s limit.
- Compare zoning patterns by zone count.
- Explain why a new host cannot simply be added.
Best practices and common mistakes
- Take limits from the array documentation for your model and software version.
- Calculate per fabric, never across both, since traffic on one fabric cannot use ports on the other.
- Keep target ports balanced between fabrics and between controllers.
- Combine the ratio with queue depth, since the limits interact.
- Add monitoring of port utilization, so you notice load before the ratio matters.
- Re-run the numbers after every cluster or array change.
A frequent mistake is to quote the ratio for both fabrics together. Eighty initiators on eight ports looks like 10:1 either way, but the per-fabric figure is what each fabric experiences, and it is the one the vendor limit applies to.
FAQs
What is a SAN fan-in ratio?
The number of initiator ports, usually host HBA ports, that connect to each target port. 40 initiators on 4 target ports per fabric is 10:1.
What fan-in ratio is safe?
There is no universal figure. Array vendors publish limits for each model, and the right value depends on how busy the hosts are, so enter your vendor’s number to test a design.
What is the difference between fan-in and fan-out?
Fan-in counts initiators per target port, seen from the array. Fan-out counts target ports per initiator, seen from the host. Vendors use the terms differently, so check the definition.
Next, try the SAN zoning naming convention generator, the HBA queue depth calculator and the SAN switch port calculator, or browse the full list of storage calculators. For Ethernet switch uplinks instead of SAN ports, see the network oversubscription ratio calculator.