Egyptian Rope Stretchers and the 12-Knot Rope

The story says Egypt's surveyors made perfect right angles with a knotted rope bent into a 3-4-5 triangle. Here is where that story comes from, what surviving Egyptian mathematics actually shows, and how to use the trick yourself.

By the PythagoreanTheorem.net teamUpdated 10 min read

There is no direct evidence that the ancient Egyptians knew the Pythagorean theorem or used a 12-knot rope to make 3-4-5 right angles. The rope story is a modern guess, put forward by the historian Moritz Cantor in the early 1880s. Egyptian papyri show real skill with squares, areas and slopes, but none of them states the theorem.

The trick itself works perfectly, though, and it is still a handy way to lay out a square corner. This page explains the geometry first, then weighs the history claim by claim.

How a 12-knot rope makes a right angle

Take a loop of rope and mark it into 12 equal spaces with 12 knots. Peg it to the ground at three knots so that the sides of the triangle are 3, 4 and 5 spaces long. The corner between the 3-side and the 4-side is a right angle.

4 spaces3 spaces5 spacesone loop of rope, 12 equal spacesStakes at knots 0, 4 and 93² + 4² = 9 + 16 = 25 = 5²so the corner between the 3-sideand the 4-side is a right angle.
The same 12-space loop laid out straight, then pegged at knots 0, 4 and 9. Because 3 + 4 + 5 = 12, the loop closes exactly, and the 3-4-5 triangle it forms always has a 90° corner.

The reason is the converse of the Pythagorean theorem: if the sides of a triangle satisfy a2 + b2 = c2, the angle opposite the longest side is exactly 90°. For the rope,

32 + 42 = 9 + 16 = 25 = 52

so the triangle must be a right triangle, with its right angle opposite the 5-side. Nothing else is needed: no protractor, no set square, just equal spacing and taut rope. The other two angles are about 36.87° and 53.13°, the angles of every 3-4-5 triangle.

Who were the rope stretchers?

"Rope stretchers" translates the Greek word harpedonaptai, literally "rope-fasteners". The word comes down to us in a boast attributed to the Greek philosopher Democritus (5th century BCE) and quoted by Clement of Alexandria around 200 CE: no one had ever surpassed him in constructing figures with proof, not even the Egyptians called harpedonaptai. Democritus does not say what their methods were.

Egyptian sources do show cords at work. Paintings in New Kingdom tombs at Thebes, such as the tomb of the official Menna, show men measuring a grain field with a long cord. Such measurements set boundaries and taxes, and the Greek historian Herodotus suggested that geometry itself began in Egypt, when land had to be re-measured after the Nile flood.

There was also a ceremony called "stretching the cord", in which the king, often shown with the goddess Seshat, marked out the plan of a new temple with cords and stakes. It is attested over thousands of years of Egyptian history, from the Early Dynastic period to Ptolemaic times. None of these scenes or texts shows a 3-4-5 triangle.

Where the 3-4-5 rope story comes from

The claim that the rope stretchers used a 12-knot rope goes back to the German historian of mathematics Moritz Cantor in the early 1880s. His reasoning joined four facts together:

  1. Egyptian right angles were accurate. Pyramid bases and temple corners are very close to square, so builders had some reliable method.
  2. Surveyors used cords. The rope stretchers were real, and cords are exactly what the 3-4-5 trick needs.
  3. A Greek writer linked Egypt with 3-4-5. Plutarch, around 100 CE, wrote that the Egyptians admired the triangle with sides 3, 4 and 5 and compared its sides to the gods Osiris, Isis and Horus.
  4. A papyrus involves 6, 8 and 10. The Berlin papyrus (below) asks for two squares that add up to a square of area 100.

From these Cantor suggested that the rope stretchers might have used the 3-4-5 rope. It was a reasonable hypothesis, but textbooks and popular books repeated it until it sounded like established fact. Separated into individual claims, the evidence looks like this:

ClaimWhat the evidence says
Egyptian surveyors measured land with cordsTrue. Tomb paintings show it.
They were called harpedonaptaiOnly in Greek. The word comes from a passage attributed to Democritus.
They used a 12-knot rope to make 3-4-5 right anglesNo evidence. No Egyptian text or picture shows it; it is Cantor's 19th-century guess.
The Egyptians knew the Pythagorean theoremNot attested. No surviving text states it or uses it on a triangle.
The Egyptians admired the 3-4-5 triangleReported late. Plutarch says so more than 2,500 years after the Giza pyramids were built, and he may be reading Greek ideas back into Egypt.

There were also simpler ways to make a right angle with a cord, which need no theorem at all. Stretch a cord between two pegs, then swing equal arcs from each peg on both sides; the line through the two crossing points is perpendicular to the cord. Egyptian builders also had wooden set squares and A-frame levels with plumb lines. The historian Roger Cooke, reviewing the question, guesses that the Egyptians probably did know the theorem, but finds no evidence that they used it to construct right angles.

What Egyptian mathematics actually shows

Only a handful of Egyptian mathematical papyri survive, so silence does not prove ignorance. But the ones we have are revealing, because they include exactly the kinds of problems where you would expect the theorem to appear.

The Rhind papyrus

The Rhind Mathematical Papyrus, now mostly in the British Museum, was copied by a scribe named Ahmose (often written Ahmes) around 1550 BCE from an older text of the 12th dynasty. It contains more than 80 problems with worked solutions: tables of fractions, sharing loaves, finding unknown quantities, areas of fields, volumes of granaries, and the slopes of pyramids. It never states the Pythagorean theorem and never uses it.

Seked: Egyptian slopes without hypotenuses

Egyptian builders described the steepness of a pyramid face by its seked: how many palms the face runs inward horizontally for every cubit it rises, where 1 royal cubit = 7 palms. It is the reciprocal of our slope (run over rise instead of rise over run), measured in palms.

Example: Rhind problem 56

A pyramid is 250 cubits high and its base is 360 cubits long. What is its seked?

Half of the base is 180 cubits, so the face runs in 180 cubits while rising 250. Per cubit of rise, it runs in 180/250 = 0.72 cubits. Convert to palms:

0.72 × 7 = 5.04 = 51 over 25 palms

The seked is 5 1/25 palms per cubit, which the papyrus also writes as 1/2 + 1/5 + 1/50 of a cubit (= 0.72).

250cubits high180 (half of 360)slope length:never asked for1 cubit= 7 palms5 1/25 palmsthe sekedrun for each cubit of rise
The seked compares the horizontal run with the vertical rise. The papyrus never asks for the length of the sloping face, the one quantity that would require the Pythagorean theorem.

The next problems are even more telling. Problems 57 to 59 use a seked of 5 palms and 1 finger, that is 5¼ palms. A rise of 7 against a run of 5¼ is the ratio 4 : 3, so the pyramid's half cross-section is a 3-4-5 triangle. In problem 59 the pyramid is 8 cubits high with half-base 6 cubits, so its sloping face is exactly 10 cubits, yet the scribe never computes it. The pyramid of Khafre at Giza has a slope of about 53°, close to the 53.13° of a 3-4-5 profile, while the Great Pyramid's slope of about 51.8° matches a seked of 5½ palms. Choosing a convenient seked does not require knowing the theorem.

Berlin Papyrus 6619

The closest Egyptian text to the theorem is a damaged papyrus in Berlin from the Middle Kingdom, about 1800 BCE. In Richard Gillings' translation, one problem begins: "the area of a square of 100 is equal to that of two smaller squares. The side of one is ½ + ¼ the side of the other."

100side 10=64side 8+36side 66 is ¾ of 8(½ + ¼)
The Berlin problem drawn as squares. These are the squares on the sides of a 6-8-10 right triangle, but the papyrus never draws or mentions a triangle.

Example: solve it the Egyptian way

The scribe uses false position: guess a convenient answer, then scale it. Guess that the larger side is 1, so the smaller side is 3/4.

12 + (3/4)2= 1 + 9/16 = 25/16√25/16= 5/4

The real total area is 100, whose square root is 10, so every length must be multiplied by 10 ÷ (5/4) = 8.

The sides are 8 and 6: 82 + 62 = 64 + 36 = 100.

The scribe clearly knew how to make two squares add up to a third, which is the arithmetic heart of the theorem. What is missing is the triangle: nothing connects these squares to the sides of a right angle.

So, did the Egyptians know the Pythagorean theorem?

The fair answer is: possibly, but it cannot be shown. The Egyptians worked confidently with squares, square roots, areas and slopes, and the Berlin problem uses the numbers 6, 8 and 10. But unlike Babylon, where tablets such as Plimpton 322 list right-triangle triples and use the rule on rectangles, Egypt has left no text that states it, applies it to a triangle, or shows a rope pegged into a 3-4-5 shape.

The later Greek stories that Pythagoras learned his geometry from Egyptian priests come from biographers writing centuries after his death and are not reliable evidence either. For the wider picture of who knew what and when, see the history of the Pythagorean theorem.

How to make and use a 12-knot rope today

Whatever its history, the rope is a brilliant way to see the converse of the theorem with your own hands, and builders still use the same 3-4-5 idea with a tape measure.

  1. Choose your unit. Indoors, 25 cm or 1 foot works well; outdoors, use 1 m or a yard. You need 12 units of rope plus a little extra for joining.
  2. Mark 12 equal spaces. Measure carefully and mark each point with tape or a marker. Tie knots at the marks only if you allow for the rope that each knot uses up.
  3. Close the loop. Join the ends so that the join is exactly at a mark. Number the marks 0 to 11.
  4. Peg the corner. Fix mark 0 where you want the right angle, then pull mark 4 out along one edge (4 spaces) and pull mark 9 so that the side from 0 to 9 is 3 spaces and the long side from 4 to 9 is 5 spaces.
  5. Pull taut and check. All three sides must be straight. The angle at mark 0 is now 90°.

TipUse a rope that does not stretch, such as braided cord. A small error in the long side matters: if the 5-side comes out 1% too long (5.05 units), the corner opens to about 91.2°, and 1% too short gives about 88.8° (you can check these with the law of cosines). Bigger triangles with the same proportions, like 6-8-10 or 9-12-15, make the corner more accurate, because the same measuring error is a smaller fraction of a longer side.

The same idea works with any Pythagorean triple whose sides add up to the length of your loop:

TriangleLoop length (spaces)Right angle between
3-4-512the 3 and 4 sides
6-8-1024the 6 and 8 sides
5-12-1330the 5 and 12 sides
8-15-1740the 8 and 15 sides

On a building site the rope is usually replaced by a tape measure: mark 3 feet along one wall line and 4 feet along the other, and adjust until the diagonal between the marks is exactly 5 feet. The Pythagorean theorem in construction page shows the full method for squaring a foundation, and you can test any three lengths with the right triangle checker. Teachers will find the rope activity and others on the classroom activities page.

Frequently asked questions

Did the Egyptians use the Pythagorean theorem to build the pyramids?

There is no evidence that they did. Pyramid slopes were set with the seked, a ratio of horizontal run to vertical rise, and the surviving pyramid problems never compute a sloping length. Some slopes happen to give a 3-4-5 cross-section, but that follows from choosing a simple ratio, not from the theorem.

What is a 12-knot rope?

A loop of rope divided into 12 equal spaces by knots or marks. Pegged out as a triangle with sides of 3, 4 and 5 spaces, it makes a right angle, because 32 + 42 = 52. It is a classroom and building-site trick; whether ancient Egyptians used it is unknown.

Who were the harpedonaptai?

The Greek name, meaning "rope-fasteners", for Egyptian experts in measuring with cords. It is known from a passage attributed to Democritus and preserved by Clement of Alexandria. Egyptian tomb paintings show surveyors with cords, but no source explains exactly how they laid out angles.

Who first said the Egyptians used a 3-4-5 rope?

The German historian Moritz Cantor, in the early 1880s. He combined the existence of rope stretchers, Plutarch's remark about the Egyptian triangle and the Berlin papyrus into a hypothesis. Later writers often repeated it as fact.

How accurate is a 12-knot rope?

As accurate as your spacing and your pulling. An error of 1% in the long side changes the angle by roughly 1.2°. Using a non-stretch cord, marks instead of bulky knots, and a bigger triangle such as 6-8-10 all improve the result.

Did Pythagoras learn the theorem in Egypt?

Late Greek biographers claimed that Pythagoras studied with Egyptian priests, but they wrote 700 years or more after his death and added many legends. Since there is no evidence that the Egyptians knew the theorem, the story cannot be confirmed.

Sources and further reading

  1. Clement of Alexandria, Stromata, Book I, chapter 15, which quotes Democritus on the harpedonaptai.
  2. Roger L. Cooke, The History of Mathematics: A Brief Course, 2nd edition (Wiley), pp. 237–238, on Cantor's conjecture.
  3. Richard J. Gillings, Mathematics in the Time of the Pharaohs (MIT Press, 1972; Dover reprint, 1982), including the Berlin papyrus problem.
  4. Annette Imhausen, Mathematics in Ancient Egypt: A Contextual History (Princeton University Press, 2016).
  5. Corinna Rossi, Architecture and Mathematics in Ancient Egypt (Cambridge University Press, 2004).
  6. T. Eric Peet, The Rhind Mathematical Papyrus, British Museum 10057 and 10058 (University Press of Liverpool, 1923).
  7. Plutarch, On Isis and Osiris, chapter 56, on the Egyptian 3-4-5 triangle.
  8. J. J. O'Connor and E. F. Robertson, "An overview of Egyptian mathematics", MacTutor History of Mathematics.
  9. Wikipedia, "Rope stretcher" and "Berlin Papyrus 6619", as secondary pointers.

Keep exploring