How do you work out sprinkler count and spacing?
The number of sprinklers in a room is not a single division. For standard spray sprinklers three limits apply at once: the maximum spacing between sprinklers, the maximum protection area per sprinkler and the maximum distance to the wall. On top of these there is a minimum spacing so that neighbouring sprinklers do not cool or wet each other. The calculator builds a regular rectangular grid and finds the solution with the fewest heads that satisfies all four.
Sx = L / nx ; Sy = W / ny ; As = Sx × Sy ≤ AmaxLimit values
The values below are for standard spray (upright/pendent) sprinklers under a flat, unobstructed ceiling. NFPA 13 values are defined in ft and ft²; the calculator uses the exact conversion internally.
| Standard · class | Amax | Smax | Smin | Max. to wall |
|---|---|---|---|---|
| NFPA 13 · LH (hydraulically calculated; noncombustible, or combustible with no exposed members / members ≥ 3 ft on centre — pipe schedule in the same construction 200 ft² (18 m²), other combustible construction 130–168 ft²) | 225 ft² (20.9 m²) | 15 ft (4.6 m) | 6 ft (1.8 m) | S/2 |
| NFPA 13 · OH | 130 ft² (12.1 m²) | 15 ft (4.6 m) | 6 ft (1.8 m) | S/2 |
| NFPA 13 · EH and storage, density ≥ 0.25 gpm/ft² (10.2 mm/min) | 100 ft² (9.3 m²) | 12 ft (3.7 m) | 6 ft (1.8 m) | S/2 |
| NFPA 13 · EH and storage, density < 0.25 gpm/ft² | 130 ft² (12.1 m²) | 15 ft (4.6 m) | 6 ft (1.8 m) | S/2 |
| EN 12845 · LH | 21 m² | 4.6 m | 2.0 m | 2.0 m |
| EN 12845 · OH | 12 m² | 4.0 m | 2.0 m | 2.0 m |
| EN 12845 · HHP and HHS | 9 m² | 3.7 m | 2.0 m | 1.85 m |
| NFPA 13 · ESFR, ceiling ≤ 30 ft and storage ≤ 25 ft | 100 ft² (9.3 m²), at least 64 ft² (5.9 m²) | 12 ft (3.7 m) | 8 ft (2.4 m) | S/2 |
| NFPA 13 · ESFR, ceiling > 30 ft or storage > 25 ft | 100 ft² (9.3 m²), at least 64 ft² | 10 ft (3.0 m) | 8 ft (2.4 m) | S/2 |
| EN 12845-2 · ESFR, ceiling ≤ 9.1 m | 9.3 m², at least 6 m² | 3.7 m | 2.4 m | S/2 |
| EN 12845-2 · ESFR, ceiling > 9.1 m | 9.3 m², at least 6 m² | 3.1 m | 2.4 m | S/2 |
Sources: NFPA 13-2025 Table 10.2.4.2.1(a)–(d), 10.2.6, Table 14.2.7.2.1, 14.2.7.3 and 14.2.8; EN 12845 Table 19, 12.3 and 12.4.1; EN 12845-2:2024 clause 5.1.3.2.
Do K80, K115 and K160 change the spacing?
No. For standard spray sprinklers the spacing and area-per-sprinkler limits do not depend on the K-factor in either standard; K80, K115 and K160 follow the same table. The K-factor decides two things: whether the sprinkler is permitted for the hazard class, and, through Q = K·√P, the pressure needed for a given flow. That is why the calculator checks the K-factor you pick:
- EN 12845 Table 37a: K57 for LH; K80 or K115 for OH; for HHP and HHS ceiling sprinklers K80, K115 or K160 up to 10 mm/min, and K115 or K160 above 10 mm/min.
- NFPA 13 9.4.4.1: a nominal K-factor of at least K5.6 (K80). In storage, K80 or larger up to 0.20 gpm/ft² (21.1.2), K115 or larger up to 0.34 gpm/ft² (21.1.3) and K160 or larger listed for storage above that (21.1.4).
Spacing does change for ESFR and extended coverage sprinklers. ESFR spacing depends on the ceiling height rather than the hazard class, and in NFPA also on the storage height. There is a minimum area too, which is often the binding rule in small rooms. Whether ESFR suits a warehouse at all is a separate question; use the ESFR suitability checker for that.
NFPA 13 also requires sprinklers to be at least 4 in (100 mm) from the wall (10.2.6.3). In EN 12845 (12.4.1) the maximum distance to the wall is the smallest of: 2.0 m for standard spacing; 2.3 m for staggered spacing; 1.5 m where the ceiling or roof is open-joisted or the rafters are exposed, from the open face of open-faced buildings, and where the external walls are of combustible material or of metal; half the Table 19 spacing. In a regular grid this effectively limits EN 12845 LH spacing to 4.0 m, and every class to 3.0 m where the 1.5 m condition applies. The calculator covers square/rectangular layouts and takes the 1.5 m condition as a separate option; staggered layouts are outside its scope.
The algorithm step by step
- The minimum number of rows in each direction is found: nx = ⌈L / Smax⌉ (twice the wall distance is used if that is more restrictive).
- For each nx the other direction is raised to the smallest value that meets both the spacing and the area limit: ny = ⌈W / min(Smax, Amax/Sx)⌉.
- Solutions whose spacing falls below the minimum are rejected; of the rest, the grid with the fewest heads wins, with ties going to the most nearly square grid.
- Sprinklers sit at the centre of each cell, so the wall distance is Sx/2 and Sy/2.
Example: NFPA 13 OH, 20 × 15 m room. 20 / 4.57 → 5 rows, Sx = 4.0 m. For the area limit Sy ≤ 12.08 / 4.0 = 3.02 m, so 15 / 3.02 → 5 rows, Sy = 3.0 m. Result: 5 × 5 = 25 sprinklers at 12.0 m² each.
Area or spacing? In ordinary hazard the area limit usually governs: a 4.6 × 4.6 m square gives 21 m², far above the 12 m² limit. Meeting the spacing limit on its own is not enough.
Why utilisation matters
The Sx·Sy / Amax ratio shown by the calculator is your tolerance on site. If it is close to 100%, moving a sprinkler a few centimetres to clear a beam, a light fitting or a duct will break the limit. Staying around 90–95% in critical areas reduces site revisions.
Design (operating) area overlay
The optional overlay draws the area assumed to operate at once in the hydraulic calculation as a schematic rectangle in the far corner of the room (long side roughly 1.2√A). For NFPA 13 it uses the design area from NFPA 13-2025 Table 19.2.3.1.1 (LH/OH 1,500 ft², shown as 139 m² — NFPA's rounded metric value is 140 m²; EH 2,500 ft², shown as 232 m² — NFPA's rounded metric value is 230 m²); for EN 12845 the class's area of operation (Table 3; for HHS with roof or ceiling protection only, Table 4: 300 m² at 20 mm/min or more, 260 m² below). Dividing the design area by the area per sprinkler also gives the minimum number of sprinklers in the calculation.
Reading the plan
The room in the visual is to scale: orange dots are sprinkler heads and blue squares are each head's coverage area. The yellow dimension lines on the top and right edges give Sx and Sy, and the green line the distance to the wall. The units switch changes every dimension between metres and feet instantly; the calculation itself always runs in SI.
When is this calculator not enough?
- Obstructions such as beams, ducts and cable trays change sprinkler positions; the obstruction rules may add sprinklers.
- Sloped ceilings, roof spaces and high ceilings have different spacing and deflector-distance rules.
- Extended coverage (EC), sidewall, ESFR and CMSA sprinklers are laid out to their own listing values.
- Irregular rooms should be split into rectangles and each zone checked separately.
Frequently Asked Questions
How many sprinklers does a 20 × 15 m room need?
For NFPA 13 ordinary hazard (OH), 5 × 5 = 25 sprinklers at 4.0 × 3.0 m spacing, 12.0 m² each. For light hazard (LH) the area limit is 225 ft² (20.9 m²), so 5 × 4 = 20 sprinklers are enough.
If the maximum spacing is 15 ft (4.6 m), why do I get more sprinklers?
Because there is also a maximum area per sprinkler. 4.6 × 4.6 m is 21.2 m²; the ordinary hazard limit is about 12 m², so the spacing in one direction drops to roughly 2.6–3.0 m.
How far from the wall can a sprinkler be?
Under NFPA 13, no more than half the spacing (S/2) and at least 4 in (100 mm). Under EN 12845 (12.4.1), the smallest of: 2.0 m for standard spacing; 2.3 m for staggered spacing; 1.5 m for open-joisted ceilings or roofs or exposed rafters, from the open face of open-faced buildings, and for combustible or metal external walls; half the Table 19 spacing (Smax/2). This effectively limits EN 12845 LH spacing to 4.0 m in a regular grid.
Why can't sprinklers be too close together?
When sprinklers are very close, water from the first one can cool its neighbour's bulb and delay it (cold soldering). NFPA 13 therefore requires at least 6 ft (1.8 m) and EN 12845 at least 2.0 m; closer layouts need measures such as baffles.
Does using K115 or K160 instead of K80 change sprinkler spacing?
No. For standard spray sprinklers the spacing and area per sprinkler in NFPA 13 Table 10.2.4.2.1 and EN 12845 Table 19 do not depend on the K-factor. The K-factor governs class compliance (EN 12845 Table 37a, NFPA 13 9.4.4.1 and 21.1.2–21.1.4 for storage) and the pressure needed. Spacing changes for ESFR: 12 ft or 10 ft (3.7 m or 3.0 m) in NFPA 13, 3.7 m or 3.1 m in EN 12845-2, at least 2.4 m.

MEP Calc — 110+ Engineering Calculators
MEP Calc bundles 110+ engineering modules in one iOS app: 21 fire calculations plus heating, cooling, HVAC, plumbing, steam and natural gas.
Download MEP Calc on the App Store
SprinkCalc — Fire Sprinkler Design in Three Standards
Run these calculations on site, offline and with PDF reports: NFPA 13, FM Global and BS EN 12845 in one iOS app.
Get SprinkCalc on the App Store