Square Building Calculator: Floor Area, Perimeter & Cost

A square building has no special formula: the floor area is length times width and the perimeter is twice the sum of the two sides. This square building calculator returns the floor area and perimeter of a rectangular building from its length and width, and it can also multiply the area by a cost per square foot.

Construction — Other Calculators

Square Building Calculator

Floor area, perimeter and construction cost estimate for a simple square or rectangular building.

The starting values are a 40 ft by 30 ft building, which gives 1,200 ft² of floor area and 140 ft of perimeter. The cost rate starts at 0, which skips the cost.

How are building area and perimeter calculated?

Both results come from the two side lengths. The cost, if you enter a rate, is the area times that rate.

Area = Length × Width
Perimeter = 2 × (Length + Width)
Cost = Area × Cost per ft²

Worked example: the starting values

Area = 40 × 30 = 1,200 ft²
Perimeter = 2 × (40 + 30) = 140 ft

Perimeter is useful for walls, footings and fencing, area for floors, roofing and cost.

How is square footage counted for a building?

Inside or outside measurements

If the 40 ft by 30 ft footprint is measured to the outside of the walls, that is the 1,200 ft². Add a wall thickness of 0.5 ft on each side and the measurement becomes 41 × 31 = 1,271 ft², which is 71 ft² more. The calculator uses whichever dimensions you enter, so decide on one convention before comparing quotes or listings.

What the calculator leaves out

It handles one rectangle. For an L-shape, calculate each rectangle and add the areas, for example 40 × 30 plus 20 × 10 gives 1,400 ft². It does not include land, permits, site preparation, a slab, multiple storeys or roof area, and it applies one rate to the whole footprint, though building types differ widely in cost per square foot. Treat any cost it shows as a rough comparison, not a quote.

Area and perimeter for different buildings

The table applies the formulas to four buildings. Cost is left out because the rate is your own figure.

Building Floor area Perimeter
20 × 20 ft 400 ft² 80 ft
40 × 30 ft 1,200 ft² 140 ft
60 × 40 ft 2,400 ft² 200 ft
100 × 50 ft 5,000 ft² 300 ft

Same perimeter, different areas

A building with a fixed amount of wall can enclose very different areas depending on its shape. With a 140 ft perimeter, a 35 × 35 ft square gives 1,225 ft², the 40 × 30 ft building gives 1,200 ft², a 50 × 20 ft building gives 1,000 ft² and a 60 × 10 ft building gives 600 ft². The square encloses the most area for a given perimeter, which is why long narrow buildings need more wall for the same floor space.

Using the perimeter

The perimeter gives the length of the footing or foundation wall, and with the wall height it gives the wall area. For the 140 ft perimeter and a wall height of 10 ft, the walls cover 140 × 10 = 1,400 ft² before the openings are subtracted. The same figure sets the length of fencing around the building, and the starting point for a siding or a gutter order.

Adding a cost rate

If you enter a cost per square foot, the calculator multiplies it by the floor area. At a rate you take from your own quote, such as $100 per ft², the 1,200 ft² building comes to $120,000. The rate is only a placeholder, so use the figure from a builder for the type of building you plan.

Frequently asked questions

How do I calculate the area of a square building?

Multiply length by width. A 40 ft by 30 ft building is 40 × 30 = 1,200 ft².

How do I calculate the perimeter?

Add the length and width and double it. For 40 and 30 that is 2 × 70 = 140 ft.

Which shape gives the most area for a given perimeter?

A square. With a 140 ft perimeter, a 35 × 35 ft building has 1,225 ft², against 1,200 ft² for 40 × 30 ft and 600 ft² for 60 × 10 ft.

How do I find the wall area from the perimeter?

Multiply the perimeter by the wall height. A 140 ft perimeter and a 10 ft wall make 1,400 ft² before subtracting the openings.

Should I measure inside or outside the walls?

Outside for the footprint and the footing, and inside for the usable floor area. The difference on the 40 × 30 ft building is 71 ft² with 0.5 ft walls.

Mark Danny

Mark Danny

Mark Danny builds and maintains the free calculators and guides on Area of Irregular Shapes Calculator. Every calculator page explains its formula and shows a worked example, so you can check the working yourself. Spotted a mistake or have a suggestion? Email gulsher.hingoro101@gmail.com.

Articles: 559