Vinyl Fence Calculator
Count the panels, columns and tie beams a vinyl fence run needs.
Metric and imperial lengths, with the course count solved either way.
Updated October 25, 2026
Introduction
A prefabricated vinyl fence turns up as three kinds of part: panels, columns and tie beams. This page converts five lengths into the number of each part one run needs, and it does the thing a tape measure cannot — it decides how many whole spans fit the line you have.
It is written for the person placing the order: the householder fencing a boundary, the contractor pricing a kit, or anyone checking a supplier's quote before paying a deposit. The lengths can be metric or imperial, and they can be mixed between boxes, because every one of them is converted to metres before anything is added or divided.
Two things it deliberately does not do: it does not size the footings, and it does not decide whether the height you want is allowed where you live. Both are real questions, both are dealt with at the bottom of this page, and neither is a reason to distrust the part count itself.
Five lengths
Run, fence height, panel length, panel height, column width
Whole parts
The span count rounds up, never down
Either direction
The course count can follow from a height, or set it
Quick start
Measure the line the columns stand on
The figure the page wants is the run between the outside faces of the two end columns, and it includes both of them. Not the clear space between the first and last panel, and not the distance from the centre of one end column to the centre of the other — either of those drops a column width and can add a whole span on a short run. If the columns are not up yet, measure where their outside faces will sit.
Enter the two heights
Fence height runs from the ground line to the top of the tie beam. Panel height is the height of one panel as sold. The page divides one by the other to get the number of courses, so take both numbers from the same product sheet rather than combining two products.
Enter the panel length and the column width
Panel length is the panel's own length, the dimension that spans between two columns. Column width is the face of the column that the panel meets. The column box opens in centimetres, which catches people out on the first pass — ten is ten centimetres, while 0.1 would be a one-millimetre column.
Read the parts list
The three boxes underneath fill themselves in: whole spans, the columns that close them, and one tie beam per span. The panels box follows as soon as the course count is known. Every number there is a count of whole parts.
Work through a 24 m run
A 24 m boundary, 2.4 m panels, 10 cm columns, 2.7 m high, built from 90 cm panels. The pitch of one span is 2.4 m of panel plus 0.1 m of column, so 2.5 m:
Ten spans is ten panels per course, so thirty panels, eleven columns and ten beams. Read the remainder as well: ten spans of 2.5 m come to 25 m against a 24 m run, and with the closing column the line built to nominal sizes measures 25.1 m. The 1.1 m difference comes off the last panel, which finishes at 1.3 m rather than 2.4 m.
What the four counts come from
The page multiplies and divides lengths, and only one step rounds. That step is the span count, and it is the reason the answer is a buying list rather than a measurement.
A span runs from the centre of one column to the centre of the next
Half of each column belongs to the span, so the pitch is half a column, the panel, and another half column. The two halves are one column, which is why the pitch is simply the panel plus the column — a 2.4 m panel in 10 cm columns repeats every 2.5 m, not every 2.4 m.
Why one column width is subtracted from the run
The run includes both end columns in full, but each span only borrows half of each end column. The two halves you did not use add up to exactly one column, and that is the taken off before the division. The subtraction only changes the answer when the run overshoots a whole number of pitches by less than one column width — and then it changes it by a whole span, which is the kind of error that is hard to spot on a drawing.
Why the span count rounds up
A quotient of 9.56 is not nine and a half spans. It means nine spans close exactly and part of the run is still open, so a tenth panel closes it. Rounding down would leave that remainder open — up to almost a full span of run with no panel in it — while rounding up buys the tenth panel and trims it. The price of the ceiling is one cut panel; the price of rounding down is a gap.
Columns are one more than spans, and beams match spans
Every column between two panels carries a panel on each side, so it is shared by two spans. Only the two end columns belong to a single span, which is why the total is spans plus one. A tie beam caps one span, so there is one beam per span.
Courses are the one count that can be fractional
Fence height divided by panel height gives the courses — 2.70 m over 0.90 m is three. Nothing forces that quotient to land on a whole number: 2.70 m over 1.20 m panels is 2.25 courses, which is two full courses and a 30 cm strip cut from a third. The fence height, the panel height and the course count are linked, so you can start from whichever two you know:
Panels are the product of the two counts, so a fractional course count makes the panel count fractional too — 22.5 over ten spans in the case above. That fraction is a fraction of a panel, not of a span: every span still needs its full length.
Rounding, trimming and ordering
Four numbers come out of the page and only two of them can come out as a fraction. Knowing which is which prevents the two classic ordering mistakes: buying spare panels because a course count looked odd, and coming up short because a rounded number looked final.
Spans
Always whole. The ceiling in the formula did the rounding for you.
Columns and beams
Whole by construction — one more column than spans, one beam per span.
Courses
May be fractional. Type a height in and let the page work out the courses.
Panels
Inherits any fractional course count. This is the number that needs a decision.
Turning a fractional course count into panels you can buy
Take the 2.25-course run over ten spans: the page says 22.5 panels. That extra 0.25 is not a quarter of a panel's width — it is a 30 cm strip along the top of every span, ripped along the height of a full panel. One panel gives as many strips as its height allows:
Ten spans need ten strips, so three panels cover them, and the two whole courses need twenty panels on top. Twenty-three panels in total — the same figure as simply rounding 22.5 up, but now you know why, and where the off-cuts come from. Three panels yield twelve strips for ten spans, so two are spare: keep them.
If the strip left over is an awkward size for your product, the alternative is to change the course count rather than cut: a 2.4 m fence built from 1.2 m panels has an exact two courses, and 2.7 m from 0.9 m panels has three. Slightly changing the fence height is often cheaper than ripping every panel in the top course.
When the course count is 1
Many vinyl systems sell a panel as tall as the fence — a 6 ft panel for a 6 ft fence. Enter those two heights and the course box reads 1, the panel count collapses to the span count, and everything about fractional courses stops applying. If that is your product, the two numbers that decide the order are the run and the panel length, and the rest of this section can be skipped.
Three runs worked through
The first run is in feet and inches and finishes with a large cut; the second is designed backwards from a course count; the third has almost no waste at all. Together they cover the three shapes a real order tends to take.
A 20 ft boundary with 8 ft panels
Situation: A garden boundary measured in feet: twenty feet of run, eight-foot panels, four-inch columns, and two courses of 48-inch panels to make the height.
Inputs
Result
Three spans of 2.54 m plus the closing column measure 7.72 m against the 6.10 m run, so the last panel is cut from 2.44 m down to 0.81 m — two feet eight — and the 1.63 m taken off is the off-cut.
In practice: A two-foot-eight panel at the end of a run is a visible compromise. Check the layout before ordering: at 17 ft the same panel takes exactly two spans with no cut, and at 25 ft 4 in it takes three. If the boundary is fixed at 20 ft, plan the cut and keep the off-cut.
Designing to a course count
Situation: You like the look of the fence next door: six courses of 40 cm panels. The run is not decided yet, but the courses are.
Inputs
Result
The fence height box fills in at 2.40 m while the course count stays at six. Panels, columns and beams remain blank until a run is entered, because none of them depend on the height alone.
In practice: Set the courses first, read the height, then adjust the run until the spans and the cut panel suit you. Typing any two of the three height values works the third out, so the same box is useful in both directions.
A run that almost fits
Situation: Thirty metres of boundary with 2.4 m panels and 10 cm columns. Twelve spans is the nearest whole number, and it is very close.
Inputs
Result
Twelve spans, thirteen columns, twelve tie beams, and one panel cut from 2.4 m to 2.3 m.
In practice: Ten centimetres off one panel is a clean cut and worth doing rather than ordering a shorter panel: 2.4 m of nominal length finishes at 2.3 m. This is what a well-chosen panel size looks like — the ceiling costs almost nothing.
Measuring and ordering advice
The arithmetic is short. Almost every disappointing order comes from one of the six things below, and none of them are things the page can check for you.
Measure the outside faces, not the opening
The two end columns sit inside the length you enter. A tape hooked on the first panel and read at the last one — or run centre to centre — loses a column width, and on a run that sits close to a whole number of spans that loss is enough to change the count by one.
Use the panel length that seats in the groove
Check whether the quoted panel length includes the tongue that seats into the column. A spec sheet that quotes the visible face only understates the pitch, and a run then comes out one panel long. The arithmetic wants the full length between the two grooves, so take it from the spec sheet rather than from a tape across an installed panel.
Watch the unit shown beside each box
Panel height opens in centimetres while the fence height opens in metres, and that mismatch is the single most common bad result. Type 0.9 into a box marked cm and you have asked for a nine-millimetre panel; the course count jumps to hundreds and the box turns red. Change the unit first, then type the number.
The count is what fits, not what to buy
Nothing in the answer covers a panel dropped on the drive or a column set twenty millimetres out. If you are installing it yourself, add a spare panel and a spare column; on a long run with several cuts, add one of each per direction change.
Take corners out of the straight-run count
A corner that lands on a column is already covered — that column is the end column of both legs. A bend that falls inside a panel length needs its own column and a shorter panel, so add both by hand. For two legs meeting at a shared corner, add the two results and subtract one column per shared corner.
Gates and openings are not in the count
An opening for a gate replaces one span or more and usually needs a heavier column on each side, plus hinges and a latch. Work the gate out with the supplier, then take the spans it replaces out of the totals: the panels and beams it removed are exactly the ones the page counted for you.
Questions
Why does the page say I have zero spans?
The span formula divides the run minus one column width by one panel plus one column, and that numerator turns negative when the run is no longer than a single column. The page flags the fence length rather than the count, because the length is the box worth re-measuring. The other cause is a unit slip: 0.1 typed into the column box while it reads centimetres is a one-millimetre column, and the count that comes back is a span or more away from the one your layout needs.
Two legs meet at a corner. Do I count the corner column twice?
If you work each straight leg as its own run, yes — each leg closes with a column at both ends, so the shared corner column appears in both totals. Add the two results and subtract one column per shared corner. Panels and beams need no adjustment: the corner column was counted as the end column of both legs, not as a span in its own right.
Why is my panel count not a whole number?
Because the course count is not. A 2.70 m fence built from 1.20 m panels is 2.25 courses, so ten spans need 22.5 panels. The quarter is a 30 cm strip along the top of each span, ripped from a full panel; the rounding section above turns that fraction into a number of panels to buy, which in this case is 23.
Does the count include the concrete for the post holes?
No. Footings are outside this page: it counts panels, columns and beams, and stops there. Once you have chosen a hole diameter and depth, the Sonotube concrete calculator turns those dimensions and the column count into a concrete volume, a wet weight and a number of bags.
Where the count stops
- Parts, not a materials list. Panels, columns and tie beams are counted. Caps, adhesive, brackets, gate hardware, concrete, labour and prices are not, and no waste allowance is built in.
- One panel size for every span. The trim is assumed to land on the last panel of the run. Spreading the leftover across two or three panels gives a more even look and changes the cut list, not the number of parts.
- A level, straight line. Ground that falls away is normally fenced in steps, with panels cut to different heights and columns set at different levels. That is a different layout: work it one step and one leg at a time.
- Product dimensions vary. Panel lengths, panel heights, groove depths and column sizes differ between manufacturers and between product lines. Confirm the three panel and column sizes on the actual spec sheet before you pay for anything.
- A part count is not a permission. Maximum fence heights, boundary setbacks, permits and the rules that apply on a corner plot are decided where you build, not here. Settle those with your local authority or a qualified installer before ordering a fence at a height you have not checked.
Related Calculators
Board Foot Calculator
Calculate board feet from lumber dimensions. Convert timber volume measurements across different unit systems.
Bolt Circle Calculator
Lay out a circular bolt pattern: turn the hole count, radius, first-hole angle and centre offset into an x and y coordinate for every hole.
Bowl Segment Calculator
Turn a segmented bowl's segment count, outer radius, wall thickness and allowances into cut-ready segment lengths, blank thickness and cutting angle.
Material Removal Rate Calculator
Work out how much material a machining pass removes per minute for turning, milling, grooving, drilling or grinding. Enter the cut geometry and the cutting speed, read the removal rate in ten flow units, or leave one box empty to solve back for it.
Beam Deflection Calculator
Find how far a simply supported or cantilever beam bends under a point load, a uniform load, a linearly varying load, a triangular load or an end moment. Enter the span, the load and the flexural rigidity, or the modulus of elasticity and area moment of inertia separately, and read the maximum deflection and where it occurs.
Square Yards Calculator
Multiply a length and a width into square yards and price the material. Seven length units, nine area units from square centimeters to acres, and twenty currencies converted at live exchange rates.