Solar panel roof calculator: how many panels fit on your roof?
Enter one roof face at a time to count the whole panels that fit, using makers' published panel sizes and an edge allowance you can change.
Measure along the bottom edge of this face. For a hipped face, the full eaves length between the two hip corners.
The length of the ridge on this face.
For a hip end, measure from the eaves to the top point, up the middle of the face.
The pitch is the roof's angle from horizontal. If you do not know it, measure up the slope instead.
The clear margin left on every side of the face. No rule fixes one figure: 0.4 m is the roof edge gap one supplier, Octopus Energy, adds in its own sizing. Use the figure on an installer's drawing if you have one.
No published rule sets this gap. The Building Safety Regulator has raised fire spread across compartment lines, and a review it published proposes layout guidance; ask the installer or building control what gap applies.
The panel this site's worked examples use. Pick the panel named on a quote, or enter its size.
Clamps leave a small gap between panels, set by the mounting kit. Leave 0 to count panels edge to edge, as this site's worked examples do, or enter the figure from the kit's instructions.
Roof windows, chimneys and vents (optional)
Up to 4 on one face.
More than one roof face?
Count this face, then add the next. Up to 4 faces.
Panels that fit
- Panels on this face
- –
- Orientation
- –
- Array size
- –
Enter the measurements of one roof face to count the panels.
Flat roofs use tilted frames with space between rows to avoid shading, which this calculator does not model. See the flat roof mounting guide.
An array above 3.68 kWp can still connect under G98 if its inverter is rated 3.68 kW or less on a single-phase supply; a larger inverter means a G99 application before installation.
A layout count from your measurements, not a survey. It leaves out shade, the roof structure, wind-load design, planning limits and the network operator's export limits. An installer's drawing should state its edge allowance and count for each face.
Get a quoteNothing typed into the calculator is stored or sent.
How does the calculator count the panels?
It lays panels out the way a roof drawing does, in whole rows, instead of dividing the roof's area by a panel's area. The first row starts one edge allowance above the eaves. Further rows stack up the slope until the next one would cross the allowance below the ridge, and each row takes as many whole panels as fit between the allowances at its ends. The count is run with the panels upright (portrait) and on their sides (landscape), one orientation per face, and the higher total is kept.
Hipped faces lose more than their area suggests. On the front of a hipped roof and on a hip end, the sloping hips shorten every row as it climbs, and the allowance is measured at right angles to the hip line, which takes more off each row than the same allowance at a straight gable edge. A roof window, chimney or vent cuts out the stretch of any row it crosses, plus a clearance round it, and the strips left either side may be too narrow for a panel. Given the same roofs, the calculator gives the counts in the worked tables of the guide to dormer, hipped and small roofs and the panel sizes guide, which walk through the method on example roofs.
Which panel sizes does it use?
Sizes and power ranges come from the makers' own product pages, checked on 10 November 2026. They are facts about those products, not recommendations, and the first is the panel this site's worked examples use.
| Panel | Length by width | Power range on the maker's page |
|---|---|---|
| JA Solar JAM54S31 LR | 1,762 by 1,134 mm | 415 to 440 W |
| JA Solar JAM54S41 LR | 1,762 by 1,134 mm | 430 to 455 W |
| JA Solar JAM54D40 GB 25Y | 1,722 by 1,134 mm | 420 to 445 W |
| Qcells Q.TRON BLK M-G2+ | 67.8 by 44.6 inches, about 1,722 by 1,133 mm | 415 to 440 Wp |
| Qcells Q.PEAK DUO BLK ML-G10+ | 74 by 41.1 inches, about 1,880 by 1,044 mm | 395 to 415 Wp |
| JA Solar JAM60D42 LB, a longer format | 2,063 by 1,134 mm | 515 to 540 W |
Qcells gives its sizes in inches, so they are converted with the legal definitions in the Weights and Measures Act 1985: a yard is 0.9144 metre and an inch is 1/36 of a yard, which makes an inch 25.4 mm. Small differences in size change the count. On an illustrative 6.0 m by 4.8 m slope with a 0.4 m allowance, the six panels in the table give counts from 6 to 9 (derived), which is why the result shows a range and why a quote should name its exact panel. Array size is shown as a range too, because each maker lists several power classes in the same size.
Why does the edge allowance matter so much?
Because a small face loses a whole panel, or a whole row, at a time. No rule fixes one figure. The starting value of 0.4 m is the 40 cm roof edge gap that Octopus Energy's installation FAQ adds to its panel size, one supplier's sizing figure, and the dormer and hip guide compares 0.2 m and 0.6 m against it. Use the figure on an installer's drawing when you have one.
In England, the permitted development rules for a house set no edge distance on a pitched roof. Under the rules in force from 27 August 2026, equipment there must not protrude more than 0.2 metres beyond the roof slope or sit higher than the highest part of the roof, excluding any chimney. Two other things can push panels in from an edge, and the calculator sets no figure for either:
- A party wall. The Building Safety Regulator has said fire spreading over panels could cross fire compartment lines, and a literature review it published proposes layout guidance, including array segmentation compatible with compartmentation. That is a proposal, not a rule, so any extra gap along a party wall is a figure to ask the installer or building control for.
- Wind loading. Where no mounting system certified under MCS 012 is available, MCS requires installers to evidence structural and wind loading calculations for the specific mounting system, mandatory from 18 June 2026. The calculator does not model wind loads, so the kit and its calculations stay with the installer.
What does the calculator leave out?
It counts what fits. It does not decide what should go there, and a survey settles each of these.
| Left out | Why it matters |
|---|---|
| Shade | The Energy Saving Trust says shading can have an even bigger impact than the direction a roof faces, so a shaded corner may be left empty. See solar panel shading. |
| The roof structure | Before installation, an assessor checks the roof is safe to hold the panels. |
| The grid connection | The Energy Saving Trust says local grid capacity and export limits can influence the final size. G98 covers installations up to 16 amps per phase, 3.68 kW on a single-phase supply, rated by the inverter; anything larger is a G99 application, submitted before installation. See what size inverter you need. |
| Planning and heritage | Local planning or conservation area requirements can limit the number of panels. |
| Clamp gaps | Panels are counted edge to edge, as in the worked examples, unless a gap is entered; the mounting kit's instructions give the real figure. |
| Flat roofs | Panels on frames need space between rows, which this calculator does not model. See flat roof solar mounting. |
How should you use the result?
- Run each roof face on its own, measured up the slope from eaves to ridge, or on a plan with the roof's pitch, and add the counts.
- Set the total against what your electricity use calls for. The guide to how many panels you need starts from your bills, and the usage-based size calculator runs the sum for you.
- Sense-check it. The Energy Saving Trust's rough guide is four panels on a mid-terrace, eight on an end-terrace or semi, 12 on a small detached house and 16 on a large one. A result far from that is worth measuring again.
- Ask each installer for a layout drawing that states the edge allowance, the orientation and the count for every face, and compare it with your figures. The solar survey guide explains what the visit checks.
- Compare prices per kilowatt with the government data in the cost guide, keep a note of your panel count range and array size to give when asked, and ask for a quote on the quote page.
Sources
- JA Solar product pages for the JAM54S31 LR, JAM54S41 LR, JAM54D40 GB 25Y and JAM60D42 LB, JA Solar (own products), checked 10 November 2026.
- Qcells product pages for the Q.TRON BLK M-G2+ and Q.PEAK DUO BLK ML-G10+, Qcells (own products), checked 10 November 2026.
- Solar installation FAQs, Octopus Energy (own sizing), checked 10 November 2026.
- Weights and Measures Act 1985, Schedule 1, legislation.gov.uk, checked 10 November 2026.
- The Town and Country Planning (General Permitted Development) (England) (Amendment) Order 2026, SI 2026/896, legislation.gov.uk (in force 27 August 2026), checked 10 November 2026.
- Rooftop solar panel installation: step-by-step guide, Energy Saving Trust (last updated 1 October 2026), checked 10 November 2026.
- G98 micro-generation and storage connections, Electricity North West, checked 10 November 2026.
- How to register energy devices in homes or small businesses, GOV.UK (published 31 March 2021), checked 10 November 2026.
- Fire spread over pitched roofs fitted with solar panels (summary), Building Safety Regulator, GOV.UK (published 22 December 2025), checked 10 November 2026.
- Thermal exposure to roofs from fires involving photovoltaic panels (executive summary), Building Safety Regulator, GOV.UK (updated 13 February 2026), checked 10 November 2026.
- MCS publishes update to MIS 3002, MCS, checked 10 November 2026.
Send your details for a figure for your roof
Calculator FAQs
Why does the calculator fit fewer panels than the roof area suggests?
Panels go on in whole rows with an allowance round every edge, so any strip narrower than a panel is wasted, and on a hipped face the hips shorten each row as it climbs. In the worked example of a 12 m by 8 m hipped roof, the front face divides into about 21 panels by area but holds 10 at a 0.4 m allowance.
Can panels go on more than one roof face?
Yes. Run each face on its own and add the counts. Faces that point different ways need wiring that copes with both, so ask how a quote connects each face to the inverter.
Is 0.4 m the right edge allowance?
No single rule sets one. It is the roof edge gap Octopus Energy adds in its own sizing, and the right figure for a roof comes from the installer's design, the mounting kit and any party wall or heritage limits. Ask which allowance the layout drawing uses and why.
Does a bigger array need the network operator's approval first?
It depends on the inverter more than the panels. Electricity North West says G98 covers installations up to 16 amps per phase, 3.68 kW on a single-phase supply, and rates an installation with an inverter at the inverter's continuous rating. Anything larger is a G99 application, which GOV.UK says goes to the network operator before the device is installed.
How close is the count to what an installer will fit?
It is a layout estimate from your measurements, not a design. Shade, the roof structure, the mounting kit, planning limits and the network operator can all lower it, so treat it as the question to put to each installer rather than the answer.