Finish carpentry

Checking a Room or Frame for Square: 3-4-5, Diagonals and Splitting the Error

How to test a corner or a whole frame for square with a tape alone, how big a triangle to strike, and where the error should go when the room is out.
  • 9 minReading time
  • 5Sections
  • 1Calculators inline
  • Last reviewed

What square means, and why a tape can tell you

Square means ninety degrees, and the reason a tape can check it is old: a triangle whose sides are in the ratio 3 to 4 to 5 has a right angle between the two short sides, because nine plus sixteen is twenty-five. Any multiple works, in any unit. Six, eight and ten; 600, 800 and 1000 millimetres; nine, twelve and fifteen feet. The triangle does not care what it is measured in, so the same ratio serves a metric crew and an imperial one.

The same arithmetic gives the second tool, the diagonal. In a rectangle with sides a and b the corner to corner distance is the square root of a squared plus b squared, and in a rectangle both diagonals are equal. A frame that is racked into a parallelogram has one diagonal long and one short, and the difference between them tells you how far it has racked. Between them, the triangle and the diagonals check a corner, a floor, a wall frame, a deck frame, a plinth, a run of worktops or a shower tray, without a square larger than your tape.

This guide is about the check at room and frame size and what to do with the answer. Setting out a whole building on profiles and string lines is a different job with its own routine, covered in the guide to setting out a building.

Striking the triangle in a corner

To test one corner, mark 600 mm along one wall or edge from the corner and 800 mm along the other, and measure between the two marks. If it reads 1000 mm the corner is square. In feet, 3 ft along one side and 4 ft along the other should read 5 ft. A reading longer than that means the corner is open, more than ninety degrees, and a shorter reading means it is closed.

How much error does the triangle hide? Suppose the diagonal is misread by 2 mm on the 600 by 800 triangle. The angle at the corner is wrong by the reading error times the hypotenuse divided by the product of the two legs, which is 2 times 1000 over 600 times 800, or 0.0042 radians, which is 0.24 degrees. Carried to the far end of a 4 m side, that angle is 17 mm out of square. Make the triangle bigger and the same 2 mm reading costs less: on 1.8 m, 2.4 m and 3.0 m legs it is 0.08 degrees and carries to under 6 mm over the same 4 m. The imperial equivalent is the 6-8-10 or the 9-12-15, struck with the biggest legs the room allows. The rule is plain: strike the largest multiple that fits, and read the longest side of it to the millimetre or the sixteenth of an inch.

  1. Choose the corner you trust to start from, such as the reference wall or the datum edge of the frame, and pencil a short tick at the exact corner point.
  2. Measure along the first edge from the corner to the multiple of three that fits, for example 1.8 m, and mark it with a fine pencil line crossing the edge.
  3. Measure along the second edge from the same corner point to the matching multiple of four, 2.4 m, and mark it the same way.
  4. Hook the tape on the first mark and read to the second. The reading should be the multiple of five: 3.0 m. In feet, 9 ft and 12 ft should read 15 ft.
  5. If it is long, the corner is open; if short, closed. Swing the second edge, keeping the corner point fixed, until the reading is right, then mark through the second tick.
  6. Check once with the legs reversed, 2.4 m on the first edge and 1.8 m on the second, to catch a hook that has slid.

Step through it: a 3-4-5 triangle and both diagonals

Both diagonals of a rectangle, worked

Once all four corners exist, the diagonals are a better check than any single corner, because they test the whole shape and use the longest distances in the room. Take a frame that is meant to be 3.6 m by 2.4 m. Square, its diagonal is the square root of 12.96 plus 5.76, which is 4.327 m. Suppose the tape gives 4.341 m one way and 4.312 m the other. The difference is 29 mm. The far side has racked along the base by the difference times the mean diagonal over twice the base length: 0.029 times 4.327 divided by 7.2, or 17 mm. To square the frame, slide the far side by 17 mm so as to shorten the longer diagonal, keeping the side lengths as they are, then read both diagonals again.

In inches the same job is a 12 ft by 8 ft frame, whose square diagonal is 14 ft 5 1/16 in, or 173 1/16 in. Readings of 173 1/2 in and 172 3/4 in differ by 3/4 in. The slide is 0.75 times 173.1 over 288, or about 7/16 in. The racking is easier to see in the diagonals than in the corners: on this frame a 17 mm slide shows as a 29 mm difference between the tapes, so the diagonals are a magnifier.

Equal diagonals prove a rectangle only when opposite sides are also equal. A trapezium with equal slanted sides has equal diagonals too. So read the four sides as well before anything is fixed. The calculator below works the single-diagonal check and the two-diagonal check in either unit system, and shows the triangle to strike.

  1. Peg or mark the four corners at the exact points the frame or room edge will be measured from, not the outside of the timber or the face of a peg.
  2. Measure both diagonals with the same tape pulled to the same tension, on edge, from the same point on each mark. Note which diagonal is which.
  3. Subtract the shorter from the longer. If the difference is within the tolerance for the job, stop.
  4. Otherwise slide one side along the base, towards the end the longer diagonal reaches, by the amount the calculator gives. Keep the side lengths as measured.
  5. Measure both diagonals again. Repeat until they agree, then check all four sides.

Enter the two sides and a diagonal, or the difference between the two diagonals, to see how far out the corner is and which way to move it.

Diagonal when square

30.8 ft9.39 m

Squaring triangle: leg along the longer side
20 ft6.1 m
Squaring triangle: leg along the shorter side
15 ft4.57 m

When the room itself is not square

A frame can be pushed to square, but a room cannot. The walls are where they are, and the job is to decide where the error goes. The first step is to find out whether the room is a rectangle racked into a parallelogram, a wedge that narrows along its length, or just uneven. Measure the width at both ends and the middle, and both diagonals. Equal widths with unequal diagonals mean racking; different widths with equal-ish diagonals mean a taper.

Floors and wall coverings should follow what the eye follows. For a tiled floor, set the main line parallel to the longest or most visible wall, or to the door and the main light, rather than to the corner, and let the error vanish into the cuts at the other edges. A 12 mm taper across a 4.2 m room, split so that the border tile at the far end is 12 mm wider than at the near end, is invisible; the same 12 mm squeezed into one corner is a visible kink. For a run of worktops or kitchen units, scribe the filler or end panel to the wall rather than pull the line to it, and keep the front square to the floor datum.

For a timber frame inside the room, do the opposite. Square the frame to its own diagonals, then check its gap to the walls and fill the difference with a scribed fillet. When two datums conflict, an existing frame wall and an out-of-square party wall, say, pick the one that carries the most visible lines, and write the error and where it goes on the wall so every trade on the job works to the same line.

  1. Measure the width of the room at both ends and the middle, and both diagonals, and write them on the floor in chalk.
  2. Decide the datum: the wall, door or window that the eye reads along, which is rarely the corner.
  3. Strike the working line from the datum, square it with a large triangle, and check it against the opposite wall at both ends.
  4. Divide the difference between ends evenly across the borders, sharing the taper along the whole length rather than cutting it off at one end.
  5. Mark the working lines and the agreed error on the wall for other trades.

Tolerances, common mistakes and the checks that catch them

How far out is acceptable is set by the job. A tiled floor can take a few millimetres in a room length, a deck frame or wall frame that takes sheathing wants the diagonals within about 3 mm or an eighth of an inch, and a cabinet run wants the carcasses plumb and level more than square to the room. Check the specification before judging, because this guide gives the method and not the allowance.

The mistakes are small and repeatable. Using the edge of a peg instead of a pencil tick or a nail head, so the tape moves; measuring on a slope, where the tape reads a longer distance than the plan; mixing two tapes whose hooks disagree; reading one diagonal from the corner and the other from the outside of the timber; and assuming equal diagonals mean equal sides. The remedy is the same each time: one tape, one set of marks, a note of which reading is which.

Safety is mostly about the tape under tension and the floor under your feet. Do not stretch a metal tape across a room in a doorway where someone may walk into it, and never run one near live overhead conductors. Before fixing anything to a floor you have squared on, check for services below it.

The final check is a second method. After sliding or marking, read both diagonals again and strike the triangle at one corner as well. If the three readings agree, fix the line. If any one disagrees, find out why before a single fixing goes in.

Kit for squaring a room or a frame

Nothing here is bought by the area; it is what makes a check repeatable between two people and two days.

  • One long tape — The same tape for every reading on the job, with its hook checked against a rule.
  • Fine pencil and a nail or two — For marks and for fixed points the tape can be hooked on, so the hook does not walk.
  • A large timber or ply triangle — Built to 3-4-5 or 6-8-10 once, for a quick look before the tape is used.
  • Chalk line — For the working line, struck once the corner is agreed.
  • Notes on the wall — The two diagonals, the difference and where the error was sent.
Open this as a workspace →

Opens the calculators above on one screen with the dimensions from this article already filled in. Quantities only — this site publishes no price list, because local prices vary too much to publish honestly.

Drawn from

  • Euclid, Elements, Book I, Proposition 48 (D. E. Joyce's edition, Clark University) — if the square on one side of a triangle equals the squares on the other two, the angle between them is right
  • The QUIKRETE Companies, Layout Basics for Slabs and Footers — the 3-4-5 method, multiples such as 6-8-10, and the check of equal diagonals
  • NIST Digital Library of Mathematical Functions, section 4.42 Solution of Triangles — the law of cosines applied to a corner and to the halves of a parallelogram
  • BS 8000-5 Workmanship on building sites — Code of practice for carpentry, joinery and general fixings
  • BS 5606 Guide to accuracy in building — permissible deviations in setting out, as the reference for what a job allows

Guidance, not a specification. Local codes, the engineer of record and the product manufacturer’s instructions govern where they differ from anything written here.