ToolNestr

Perimeter Calculator

Find the perimeter of rectangles, squares, circles, and triangles from your measurements.

Reviewed by the ToolNestr Editorial Team — July 2026

Disclaimer: Results are estimates for planning only. Always verify quantities, measurements and structural loads against local building codes and a qualified professional before purchasing materials or building.
Perimeter of a rectangle diagram A four-sided shape with sides labelled showing the perimeter formula as the sum of all sides P = 2(L + W) Length (L) Width (W) Side L Side L Perimeter formulas Rectangle: 2(L+W) Square: 4s Circle: 2πr Triangle: a+b+c
The perimeter of a rectangle equals twice the sum of length and width

How the perimeter calculator works

The perimeter calculator measures the total distance around any shape. For rectangles and squares, it adds up all four sides. For circles, it calculates the circumference using 2πr. For triangles, it sums the three side lengths. The result is shown in feet and inches for practical construction use.

Perimeter is one of the most fundamental measurements in construction. It determines how much material you need for borders, edges, and boundaries. Whether you are installing baseboard trim around a room or building a fence around a property, the perimeter tells you the linear footage required.

Trim and molding waste-factor guidance follows the National Wood Flooring Association and NKBA (National Kitchen & Bath Association) standard practice of adding 10-15% to raw linear footage for miter cuts and joints.

1

Choose shape

Select the shape that matches your space — rectangle, square, circle, or triangle.

2

Enter dimensions

Type the side lengths or radius in feet. The calculator handles decimal values for precise measurements.

3

Get the perimeter

Read the total perimeter in feet and inches. Use the linear footage to order trim, fencing, or edging.

The formula explained

Rectangle perimeter

P = 2(L + W). A room 14′ × 12′ has perimeter 2 × (14 + 12) = 52 ft. This is the most used formula for baseboard, crown molding, and wall trim calculations.

Square perimeter

P = 4s. A square patio with 10′ sides has perimeter 4 × 10 = 40 ft. Squares are common in modern design and tile patterns.

Circle circumference

C = 2πr. A circular fountain with a 4′ radius has circumference 2 × π × 4 ≈ 25.13 ft. This measurement tells you the edging material needed.

Triangle perimeter

P = a + b + c. A triangular garden with sides 6′, 8′, and 10′ has perimeter 6 + 8 + 10 = 24 ft. The 3-4-5 triangle is common in construction for squaring corners.

Worked example

A rectangular deck measuring 16′ × 12′ needs a border trim for a fascia board around the entire edge.

Perimeter: 2 × (16 + 12) = 56 ft
In inches: 56 × 12 = 672 inches
With 10% waste: 56 × 1.1 = 61.6 ft

Use cases for the perimeter calculator

🪚

Baseboard and trim

Calculate linear footage of baseboard, crown molding, chair rail, or shoe molding. Add 10% for miter cuts and waste. The perimeter of each room gives you the exact material length needed.

🚧

Fencing

The perimeter of a property determines how much fencing material to buy. Measure along the property line, accounting for gates and corners. Enter the total in the rectangular mode for a quick estimate.

🌿

Garden edging

Borders around flower beds and vegetable gardens need edging materials. Use the circle mode for circular beds and the rectangle mode for raised beds to get the exact linear footage.

🏗️

Formwork and framing

Concrete forms, foundation footings, and wall framing all require perimeter measurements to estimate lumber and forming material quantities accurately.

Tips for measuring and using perimeter

Account for waste in linear materials

Baseboard, crown molding, and other trim materials come in standard lengths (typically 8-16 ft). Each joint creates waste from angled cuts. Add 10-15% to the raw perimeter to account for miter cut waste, damaged pieces, and future repairs.

Measure with a partner for accuracy

For large rooms or outdoor perimeters, have one person hold the tape end while the other reads the measurement. A 100 ft tape measure is ideal for most rooms. For property lines, use a measuring wheel for greater efficiency.

Deduct openings for material estimates

For baseboard and trim, subtract the width of door openings from the perimeter. A standard 36-inch door means 3 ft less baseboard. Window trim is measured separately as it goes around each window, not along the wall.

Real-world context

Backyard fencing projects are the most common large-scale use of perimeter math. A rectangular yard measuring 80 ft by 60 ft has a perimeter of 2 × (80 + 60) = 280 ft — a homeowner pricing out a 6 ft privacy fence at, say, $35 per linear foot installed would use that 280 ft figure directly to get a ballpark installed cost before even calling a contractor for a quote.

Interior trim work runs on tighter numbers. A 13 ft by 11 ft bedroom has a raw perimeter of 2 × (13 + 11) = 48 ft. Adding the standard 10% waste factor for miter cuts and damaged pieces brings the order quantity to 48 × 1.1 = 52.8 ft, which a contractor would typically round up to 53 or 54 ft when ordering baseboard by the linear foot.

Circular edging projects use the circumference formula instead. A round fountain or fire pit surround with a 3.5 ft radius has a circumference of 2 × π × 3.5 ≈ 21.99 ft, or about 263.9 inches — useful for ordering flexible steel or aluminum landscape edging, which is typically sold in 20 ft coils.

Common misconceptions

"Two shapes with the same area always have the same perimeter." Not true. A 10 ft by 10 ft square has an area of 100 sq ft and a perimeter of 40 ft, while a 20 ft by 5 ft rectangle also has 100 sq ft of area but a perimeter of 50 ft. Shape matters — long, narrow spaces always have more perimeter than compact ones for the same area, which means more trim or fencing material.

"Any three side lengths can form a triangle." Not quite. The triangle inequality requires that the sum of any two sides be greater than the third side — sides of 3 ft, 4 ft, and 10 ft can't actually form a closed triangle. If your calculator gives an unexpectedly large or nonsensical perimeter, double-check that your three measurements satisfy this rule.

Related calculators

Frequently asked questions

What is the difference between perimeter and area?

Perimeter measures the distance around the outside of a shape. Area measures the space inside the shape. They use different units — perimeter in linear feet, area in square feet.

Why do I need to know the perimeter?

Perimeter is essential for buying fencing, baseboards, crown molding, edging, and any material that goes around the boundary of a space.

How do I measure perimeter for an irregular shape?

Measure each side individually and add them together. For curves, approximate with a piece of string and then measure the string length.

Does the calculator account for corners in baseboards?

Baseboard calculations should add about 10% extra for miter cut waste and corners. The perimeter gives you the linear footage needed before the waste factor.

Sources & references

This tool uses standard formulas and reference values from:

  • American Concrete Institute — ACI 318, Building Code Requirements for Structural Concrete. concrete.org
  • ICC — International Residential Code (IRC), span, footing and framing tables. codes.iccsafe.org
  • APA – The Engineered Wood Association, allowable span and load guidance.

Estimates for planning only. Span, load and code values vary by jurisdiction — verify against your local adopted code and a licensed engineer before building.

All tool categories

Construction & Home Improvement (105 tools)
🎨 Paint Coverage Calculator📐 Square Footage Calculator📏 Perimeter Calculator🏗️ Concrete Calculator🧱 Concrete Slab Calculator⬜ Tile Calculator🪵 Flooring Calculator🧱 Brick Calculator🚧 Fence Calculator🪵 Deck Calculator🏠 Roofing Calculator⛰️ Gravel & Sand Calculator🌿 Mulch Calculator🪵 Board Foot / Lumber Calculator🏊 Pool Volume Calculator📦 Cubic Yardage Calculator🧱 Drywall Calculator🛡️ Insulation Calculator🌱 Sod Calculator🟫 Paver Calculator🪜 Stair Calculator🧊 Concrete Block Fill Calculator🛢️ Sonotube Concrete Calculator🕳️ Concrete Footing Calculator🔻 Concrete Stairs Calculator🪣 Mortar Mix Calculator🔳 Thinset Coverage Calculator⏲️ Concrete Curing Time Calculator🏋️ Metal Weight Calculator🔗 Rebar Calculator🔨 Framing Stud Calculator🚰 Pipe Weight Calculator🔲 Retaining Wall Block Calculator🏘️ Vinyl Siding Calculator🧽 Tile Grout Calculator🌀 Spiral Staircase Calculator❄️ AC Unit Size Calculator🔥 Furnace BTU Calculator🌡️ Home Heat Loss Estimator🚧 Fence Post Spacing Calculator🖌️ Deck Stain Calculator🖼️ Wallpaper Roll Calculator♿ ADA Ramp Slope Calculator🐔 Chicken Coop Size Calculator📐 Roof Pitch Calculator📏 Rafter Length Calculator🏚️ Roof Truss Spacing Calculator❄️ Snow Load Calculator🏗️ Metal Roofing Calculator🛖 Gambrel Roof Rafter Calculator🛣️ Asphalt Driveway Calculator🪨 Road Base Calculator🛁 Water Tank Volume Calculator🪷 Pond Volume Calculator🚿 GPM Flow Rate Calculator🫗 Pipe Volume Calculator🚒 Fire Flow Calculator🔄 Square Feet to Cubic Yards Calculator🧴 Gallons per Square Foot Calculator📤 Box Weight Calculator🪚 Miter Angle Calculator🔺 Compound Angle Calculator📉 Grade & Slope Calculator⭕ Bolt Circle Calculator🐎 Round Pen Calculator🔩 Countersink Depth Calculator🌉 Beam Deflection Calculator💠 Bending Stress Calculator🔧 Bolt Torque Calculator⚡ Welding Amperage Calculator🗳️ Electrical Box Fill Calculator🚪 Door Header Size Calculator📊 Floor Joist Span Calculator🧥 Insulation R-Value Calculator🟦 Concrete Block (CMU) Count Calculator🏛️ Concrete Column Calculator⚖️ Concrete Weight Calculator🔘 Post Hole Concrete Calculator🪟 Board and Batten Calculator💧 French Drain Calculator🗿 Stone Weight Calculator🧮 Steel Plate Weight Calculator🌬️ Air Changes Per Hour (ACH) Calculator⛩️ Arch Layout Calculator🔆 Boiler Size Calculator🧶 Carpet Calculator🧾 DIY Shed Cost Calculator🧪 Epoxy Resin Calculator🗺️ Floor Area Ratio (FAR) Calculator🏕️ Hoop House Calculator📶 Ladder Angle Calculator🏖️ Paver Sand Calculator📚 Plywood Sheet Calculator🎋 Shiplap Calculator🪞 Wainscoting Calculator🪛 Birdsmouth Cut Calculator🛻 Concrete Driveway Cost Calculator🛞 Gravel Driveway Calculator💦 Liters Per Minute Calculator🏋️‍♂️ Beam Load Calculator🌲 Wood Beam Span Calculator🧬 Carbon Equivalent (CE) Calculator📌 Thread Pitch Calculator⚙️ Rivet Size Calculator🍃 CFM Airflow Calculator
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)