LF Calc
Advertisement

Perimeter Calculator — Linear Feet Around Any Shape

By the Linear Feet Calculator Team | Reviewed by estimators and trim carpenters | Updated June 2026

Perimeter is the single measurement behind every material sold by the running foot — baseboard, crown molding, fencing, gutters, and landscape edging. This calculator handles the common shapes and converts the result straight into a material order with waste allowance.

Need area instead of perimeter? Use the Square Footage Calculator.

About pricing on this page

This calculator is intentionally price-light. Absolute dollar figures are deliberately omitted because they vary too widely by region, brand, and installer to be useful as planning estimates. The relative-comparison tables below show how options stack up against each other — which is the durable, actionable information. For a real budget, get two or three written quotes from local suppliers and contractors after they have seen the job.

Advertisement

Perimeter Calculator

Choose a shape and enter dimensions. Results give perimeter in linear feet plus a material order with waste.

Advertisement

Perimeter Formulas by Shape

Perimeter is the distance around the outside edge of a shape. Unlike area, it is always a single-dimension measurement expressed in linear feet.

Shape Perimeter Formula Example Result
Rectangle(Length + Width) × 214 ft × 12 ft52 ft
SquareSide × 412 ft sides48 ft
Circle3.1416 × DiameterDiameter 12 ft37.7 ft
TriangleSide A + Side B + Side C10 + 12 + 14 ft36 ft
L-shapeSum of all outer sidesSee note belowVaries
Regular polygonSide × Number of sides8 sides × 5 ft40 ft

An L-shaped room has the same perimeter as the rectangle that encloses it, because the two inset sides equal the two sides they replace. A 20 × 16 room with a 6 × 8 notch removed still has a 72 ft perimeter.

Room Perimeter Reference — Baseboard and Trim

Perimeter drives every trim order. These figures show what to buy for baseboard at three waste levels.

Room Size Perimeter (LF) Less One Door Order +10% 8 ft Sticks 12 ft Sticks
8 × 10 ft36333754
10 × 10 ft40374164
10 × 12 ft44414664
12 × 12 ft48455075
12 × 14 ft52495475
12 × 16 ft56535985
14 × 20 ft68657296
20 × 20 ft807785118
24 × 24 ft9693103139

Buying longer sticks means fewer joints in the finished run, which matters visually on long walls. But 16 ft trim will not fit in most vehicles and often cannot turn a stairwell corner.

What Perimeter Is Used For

Every one of these materials is priced and sold by the linear foot, making perimeter the controlling number.

Material Typical Cost per LF Waste Factor Notes
Baseboard$1.50–$810%Deduct door openings
Crown moldingReference only15%Mitre cuts waste more
Quarter round / shoe$0.75–$310%Follows baseboard length
Chair railReference only10%Continuous, few deductions
FencingReference only5%Deduct gate widths
GuttersReference only5%Only eave runs, not full perimeter
Landscape edgingReference only5%Curves need more length
Paver edge restraintReference only5%Full patio perimeter

Perimeter vs Area — When Each Applies

Mixing these up is the most common estimating error in remodeling, and it produces orders that are wrong by a wide margin.

Use Perimeter for Anything Sold by the Foot

Baseboard, crown molding, chair rail, quarter round, fencing, gutters, countertop edging, and landscape borders are all priced per linear foot. You need the distance around the space, not the surface inside it. A 12 × 14 room needs 52 linear feet of baseboard regardless of how large its 168 square foot floor is.

Use Area for Anything That Covers a Surface

Flooring, tile, paint, drywall, carpet, sod, and mulch all cover a two-dimensional surface and are priced per square foot or square yard. The perimeter of the room tells you nothing useful about how much of these you need. These two numbers answer entirely different questions.

Gutters Use Partial Perimeter, Not Full

A common mistake on gutter estimates is using the full building perimeter. Gutters only run along eave edges, which on a simple gable roof is just two of the four sides. A 30 × 40 ft house has a 140 ft perimeter but only 80 linear feet of gutter if the gables face the sides. Count the actual eave runs from the roof plan.

Deduct Openings From Trim, Not From Fencing Posts

For baseboard, subtract each door opening from the perimeter since no trim crosses it. For fencing, subtract gate widths from the material length but still count the gate posts separately. The deduction affects the material quantity while the post count is driven by the original run length divided by spacing.

Frequently Asked Questions

How do I calculate the perimeter of a room?
For a rectangular room, add the length and width, then multiply by two. A 12 × 14 ft room has a perimeter of (12 + 14) × 2 = 52 linear feet. For an L-shaped room, add the lengths of all outer walls. Then subtract any door openings if you are ordering baseboard or trim, since no material crosses a doorway.
What is the formula for perimeter?
Perimeter is the sum of all outer side lengths. For a rectangle it is (Length + Width) × 2. For a square it is Side × 4. For a circle, called circumference, it is 3.1416 × Diameter. For a triangle or any irregular polygon, simply add every side together. The result is always in linear units such as feet, never square feet.
How many linear feet of baseboard do I need for a 12x12 room?
A 12 × 12 ft room has a 48 linear foot perimeter. Subtract about 3 feet for a standard doorway to get 45 linear feet of baseboard. Add 10% for mitre cuts and mistakes, giving 50 linear feet to order. That is seven 8-foot sticks or five 12-foot sticks, and longer sticks mean fewer visible joints.
Is perimeter the same as circumference?
They measure the same thing — the distance around a shape — but circumference is the specific term used for circles and other curved shapes, while perimeter is used for shapes with straight sides. Circumference of a circle is 3.1416 × diameter, or 2 × 3.1416 × radius. Both are expressed in linear feet.
Does an L-shaped room have a larger perimeter than a rectangle?
No — an L-shaped room has exactly the same perimeter as the rectangle that would enclose it, because the two inset walls together equal the length of the two full walls they replace. A 20 × 16 ft room with a 6 × 8 ft corner removed still has a 72 linear foot perimeter. The area drops by 48 sq ft, but the perimeter does not change at all.
How much waste should I add to a perimeter measurement?
Add 10% for baseboard and most flat trim, 15% for crown molding where every corner requires a compound mitre cut, and 5% for fencing and edging where runs are long and cuts are few. Rounding up to whole stock lengths often provides the waste allowance automatically, since you cannot buy a partial stick of trim anyway.