Abakcus

← Articles

Mathematics · Geometry · A problem from 1966

The Moving Sofa Problem

What is the largest sofa that can be carried around a hallway corner? A child can ask it. It took mathematicians fifty-eight years to answer it, and the answer is a shape made of eighteen pieces.

1966

Leo Moser publishes the question

2.2195

Area of the largest sofa, hallway width 1

18

Pieces in the outline of Gerver's sofa

119

Pages in Jineon Baek's 2024 proof

Everyone who has moved house knows the moment. The sofa is halfway around the corner of the hallway, one end is against the wall, the other end is against the other wall, and somebody at the back is shouting instructions that do not help. You tilt it, you back up, you try again. At some point a quiet thought arrives: is this even possible?

Television has filmed that moment. In a 1999 episode of Friends, Ross directs a new couch up a stairwell by yelling one word, “Pivot!”, until the couch ends up cut in half. Twelve years earlier Douglas Adams had built a running joke on it in Dirk Gently's Holistic Detective Agency, where a sofa is wedged on a staircase so firmly that a computer model declares it could never have got there in the first place.

Paper collage of three people carrying an orange plaid couch up a staircase, after the Pivot scene in Friends
Moving day as television remembers it: three friends, one staircase, and a couch that will not turn.

Mathematicians have their own version of the scene, and it is one of the most charming problems of the twentieth century. Strip away the stairs, the cushions and the shouting. Flatten everything onto a floor plan. Then ask one clean question: what is the largest shape that can get around the corner?

Part one · The rules

A floor plan, a corner and one number

The setting is a hallway seen from above. It is exactly one unit wide, it runs straight, and then it makes a single right-angled turn. The sofa is any flat shape you like. The rules are short.

  1. The sofa is rigid. It cannot bend, squash or come apart.
  2. It may slide and rotate in any way, as long as it never pokes through a wall.
  3. It must start in one arm of the hallway and finish in the other.
  4. Among all shapes that can do this, we want the one with the largest area.

That largest area is called the sofa constant. Notice what is strange about the question. In most optimisation problems you are handed the set of candidates and asked to pick the best one. Here the candidates are every conceivable shape in the plane, and for each of them you also have to find a way of moving it. The shape and the choreography are both unknown, and each depends on the other. That is why a puzzle that fits on a napkin resisted the best geometers in the world for more than half a century.

It belongs to a family of problems we keep coming back to on Abakcus, in which a simple physical constraint hides a deep curve. The brachistochrone asks for the fastest slide between two points, and parallel parking asks how short a gap a car can squeeze into. The sofa is their awkward cousin: easier to state than either, and far harder to settle.

Part two · First attempts

From a square to a telephone handset

Start with the most obvious sofa, a square with side 1. It fills the hallway from wall to wall, slides into the corner, and slides out along the other arm without turning at all. Area: 1. A longer rectangle of the same width would get stuck immediately, so a rectangle has to be made thinner to be made longer, and that trade never pays.

The first real idea is to let the sofa rotate. Take a half disc of radius 1. Push it along until the middle of its straight edge reaches the inner corner, then swing it around that corner like a door on a hinge. The curved side always stays exactly one unit from the hinge, so it brushes the outer walls without ever crossing them. Area: π/2, about 1.5708. Already more than half as big again as the square.

The next idea is the clever one, and it comes from the British mathematician John Hammersley in 1968. Cut the half disc into two quarter discs and pull them apart. Fill the gap between them with a rectangle. The new shape is much longer, and of course it no longer fits around the corner, because the middle of its flat side now collides with the inner corner. So scoop out a semicircular notch from that flat side, just big enough for the corner to pass through. The result looks like the handset of an old telephone.

1
turned 0°

Joseph Gerver, 1992

Hammersley's shape with every corner rounded in exactly the right way: 18 pieces, and now proved to be the largest possible.

2.2195 area

Four sofas, one corner. Pick a shape, press play or drag the slider. The white dots mark where the sofa is touching a wall at that instant: the more contacts a shape keeps during the turn, the less room it is wasting.

How far apart should the quarter discs be pulled? If the notch has radius r, the rectangle in the middle is 2r long and 1 high, and the notch removes half a disc of radius r. Add the two quarter discs and the area is

A(r) = π/2 + 2r − πr²/2

A wider notch buys more rectangle but costs more hole. The balance point is where the derivative vanishes, 2 − πr = 0, which gives r = 2/π. Put that back in and Hammersley's sofa has area

π/2 + 2/π ≈ 2.2074

More than double the square. The paper in which this appeared has one of the great titles in the literature: “On the enfeeblement of mathematical skills by ‘Modern Mathematics’ and by similar soft intellectual trash in schools and universities.” The sofa was a problem in its appendix, offered as the kind of concrete challenge Hammersley thought students should be given. The formal question itself had been printed two years earlier, in 1966, by the Austrian-Canadian mathematician Leo Moser, as a short entry in the problems section of SIAM Review titled “Moving furniture through a hallway.” John Conway, Geoffrey Shephard and others were already passing it around.

Hammersley's handset was so natural, and so much better than everything before it, that for years it was widely suspected to be the answer. It is not. But it is very, very close.

Part three · A change of viewpoint

Let the hallway do the moving

To get any further you have to stop thinking like the person carrying the sofa and start thinking like the sofa. From the sofa's point of view it is not moving at all. It sits still, and the hallway slides and turns around it, like a cookie cutter being dragged through dough.

This changes the problem completely. Fix a motion of the hallway: say exactly where its inner corner is at each angle of the turn, from 0° to 90°. That curve is called the rotation path. At every instant, anything lying outside the hallway would be inside a wall, so it has to go. What survives every single position of the hallway, the common ground of all of them, is the biggest sofa that this particular motion can carry.

A sofa is what is left after the hallway has tried every angle and taken its bite.

So the search over all shapes becomes a search over all rotation paths. Choose a path, intersect the hallways, measure the area, and try to do better. For Hammersley's sofa the path is as simple as it could be: the inner corner travels along a semicircle of radius 2/π, and that semicircle is the notch. The outer walls, meanwhile, shave the two ends into quarter circles.

hallway turned 0°

The sofa's point of view. The strip between the dashed lines is the first arm of the hallway. As the hallway turns, its walls cut away everything they pass over, and the inner corner (yellow) traces the notch. Whatever is still standing at 90° is the sofa. Switch paths to see how a slightly different journey leaves a slightly bigger shape.

Part four · The ceiling

How big could a sofa possibly be?

Building sofas only ever pushes the answer up from below. To trap it you also need a ceiling, a proof that no sofa at all can exceed some area. Hammersley supplied the first one in the same 1968 paper, with an argument that takes three sentences.

Before the turn, the sofa lies in a straight strip of width 1. Halfway through the turn it has rotated by 45° and it is sitting in the L-shaped corner. So the sofa has to fit inside both at once: the corner of the hallway, and a strip of width 1 laid across it at 45°. Slide that strip to wherever the overlap is greatest and the overlap has area exactly 2√2, about 2.8284.

Hammersley's ceiling. A strip tilted at 45° meets the corner in two parallelograms, each of area √2. No sofa can be bigger than their total, 2√2. The overlap itself is plainly not a sofa (it is pinched to a single point at the inner corner), which is why this ceiling is far too high.

So by the end of 1968 the sofa constant was caught between 2.2074 and 2.8284. The floor was a real shape you could cut out of plywood. The ceiling used only two of the infinitely many positions the hallway passes through. Everyone understood that the truth lay close to the floor. Proving it was another matter.

Part five · 1992

Gerver rounds the corners

Joseph Gerver first heard the sofa problem as a graduate student at Berkeley, a couple of years after Hammersley's paper. He turned it over, on and off, for about twenty years. In 1990 he learned from John Conway that it was still unsolved, went back to it seriously, and in 1992, by then at Rutgers University, published a new sofa in the journal Geometriae Dedicata.

His starting point was a question about what the best sofa must feel like from the inside. Suppose you already had the optimal shape, and you nudged its motion very slightly, so that one wall cut a hair deeper in one place and a hair less in another. If that nudge gained more area than it lost, the shape was not optimal after all. So at the true optimum every such trade has to break exactly even. Gerver turned this into a precise balance law that the outline must obey at every moment of the turn, and then he solved for the shape that obeys it.

Hammersley's sofa fails the test. Its ends are perfect quarter circles and its notch is a perfect semicircle, and they meet the straight sides at sharp corners. Those corners are where area is being wasted. Gerver's sofa is what you get when each of them is rounded off in exactly the right way. The price is complexity. The outline is made of 18 separate pieces, three straight segments and fifteen curves, each with its own formula, joined so smoothly that the eye cannot find the seams. The formulas depend on four constants that are defined only as the solution of a system of equations, so the area has no tidy closed form. Numerically it is

2.219531668871…

After all that, the gain over Hammersley is about half of one percent. Laid on top of each other the two sofas are almost impossible to tell apart.

Outer end, enlarged
Foot of the notch, enlarged

Hammersley, 2.2074Gerver, 2.2195where they differ

Both sofas at the same scale. The red slivers are the entire difference between a good guess from 1968 and the best possible shape: Gerver's sofa is slimmer at the tips and fuller at the shoulders, its notch is a touch taller, and the feet of the notch are rounded instead of sharp. Those slivers are worth 0.0121 units of area.

Gerver had shown that his sofa could not be improved by any small adjustment. That makes it a local champion, the top of its own hill. It does not rule out a completely different shape, on some other hill, being bigger still. He conjectured that there was no such shape. It later emerged that Ben Logan, an engineer at Bell Labs, had found the same sofa in 1976 and never published it. Two people, working independently from the same principle, had landed on the same eighteen pieces, which was a strong hint that the shape was no accident.

Part six · The long squeeze

Thirty-two years between a guess and a proof

For a quarter of a century the floor stayed at 2.2195 and the ceiling stayed at 2.8284. The next real movement came from Yoav Kallus and Dan Romik, whose result was published in 2018. Hammersley's ceiling used a single intermediate angle. Kallus and Romik used five, chosen with care, and let a computer search through the ways five rotated hallways and the two straight arms can overlap. After about 480 hours of processor time, running in exact arithmetic so that no rounding error could creep in, the ceiling came down to 2.37.

The same method produced a fact that sounds obvious and is not: the largest sofa really does have to turn. Kallus and Romik proved that any sofa of maximal area must rotate through at least 81.2° on its way around the corner, and conjectured that the true figure is the full 90°.

2.22.42.62.81970198019902000201020201968 · Hammersley: at most 2√2 ≈ 2.82842018 · Kallus & Romik: at most 2.371968 · Hammersley's sofa: 2.20741992 · Gerver's sofa: 2.21952024 · Baek: exactly 2.2195

The squeeze. Blue is the largest sofa anyone could build, orange the largest that anyone could rule out. The shaded band is everything mathematics did not know. It closes in 2024.

Part seven · 2024

One hundred and nineteen pages

On 29 November 2024 a paper appeared on the arXiv preprint server with a flat, confident title: “Optimality of Gerver's Sofa.” Its author was Jineon Baek, a postdoctoral researcher at Yonsei University in Seoul, who had been working on the problem for seven years, through a doctorate at the University of Michigan and a stretch of military service in between. The paper is 119 pages long. Most people expected that any eventual proof would lean on heavy computation, as the 2.37 bound had. Baek's needs nothing a pocket calculator could not do.

The strategy has three movements. First, Baek shows that the best sofa can be assumed to be well-behaved: it turns steadily in one direction, it turns the full 90° (settling the Kallus and Romik conjecture on the way), and it satisfies a balance condition in the spirit of Gerver's.

Second comes the idea that he has said arrived after about three years of staring at simulations. Watch the inner corner of the hallway from the sofa's point of view, as in the carving animation above. For Hammersley's sofa and for Gerver's it draws a simple arch. Baek proved that for an optimal sofa this path never doubles back over itself. That single property, which he calls the injectivity condition, tames the problem, because it makes the area of the notch easy to write down.

Third, the true area of a sofa is an unpleasant quantity to maximise, so Baek replaces it with a friendlier one. He constructs a new quantity, Q, that is never smaller than the area of any well-behaved sofa and is exactly equal to it for Gerver's. Unlike the area, Q is concave: it has the shape of a single dome, with one summit and no secondary hills. Gerver's sofa sits at a local high point of Q, a dome has only one high point, and so nothing can beat it. The local champion of 1992 is the global one.

The mathematical community has received the proof warmly. Scientific American counted the result among the ten biggest mathematical breakthroughs of 2025, and there is broad agreement among specialists that the argument holds. A proof of this length takes time to referee, though, and as of late 2026 the paper is still under review, reportedly at the Annals of Mathematics. The honest status is: solved, pending the final stamp.

The answer was 2.2195 all along. It took fifty-eight years to be sure.

Part eight · Both ways

The ambidextrous sofa

Gerver's sofa has a weakness that any removal crew would spot at once. Its notch is on one side, so it can turn in only one direction. Meet a corner that bends the other way and it is stuck. What is the largest sofa that can turn both left and right?

The question is as old as the original. Around 1966 Conway, Shephard and their colleagues amused themselves with rough guesses that picked up nicknames such as the “Conway car” and the “Shephard piano.” The best known answer today is due to Dan Romik, who took Gerver's balance idea, rewrote it as a set of differential equations, and solved them for a shape that has to respect a corner on each side. The result has a notch above and a notch below, pointed tips, and the outline of a bikini top or a pair of spectacles. Like Gerver's it is made of 18 pieces.

area 1.6450

Romik's ambidextrous sofa in a hallway that turns right and then left, there and back again. At the first corner the lower notch does the work, at the second the upper one.

Here the story has a twist that Gerver's sofa lacks. Romik's shape is built from circular arcs and pieces of algebraic curves, and its area can be written down exactly:

∛(3 + 2√2) + ∛(3 − 2√2) − 1 + arctan[ ½ ( ∛(√2 + 1) − ∛(√2 − 1) ) ] ≈ 1.6450

A sofa whose area needs cube roots and an arctangent. Nobody has proved that it is the largest ambidextrous sofa. It is a local champion, in exactly the position Gerver's sofa occupied from 1992 to 2024, waiting for its own proof.

Part nine · Still open

What nobody knows yet

Settling the classic problem has not emptied the room. The ambidextrous question is open. So is the natural three-dimensional version, in which a solid has to be threaded through a corridor that turns twice, once in each new direction; only rough bounds are known. There are variants with hallways that meet at a T-junction and ask for the largest shape that can turn all the way around. And Baek's proof itself is new enough that mathematicians are still working out what else its ideas can do.

It is worth pausing over what kind of fact has been established. Nobody chose 2.2195. It is not a convention or a definition. It follows, with no freedom at all, from the bare idea of a corridor with a right angle in it, and it was true before anyone thought to ask. The plane had this number folded into it from the beginning, with its eighteen pieces and its four stubborn constants, and all that Moser, Hammersley, Gerver and Baek could do was find it. Questions like this are part of why so many people feel that mathematics is discovered and not invented, an order placed in the world for us to uncover. They are also why lists of open problems, from the napkin-sized ones to Hilbert's twenty-three, keep pulling new people in.

The next time a sofa jams in your hallway, you can at least be precise about it. If the hallway is a metre wide, no flat shape of more than 2.2195 square metres will ever make that turn, however cleverly you pivot. Real sofas have height, and can be stood on end, which is a different and messier problem. That one you will have to solve on the day.

Questions

The short answers

What is the moving sofa problem?

It asks for the flat shape of largest area that can be moved around a right-angled corner in a hallway one unit wide. The shape is rigid and may slide and rotate freely. Leo Moser published the question in 1966, and the largest possible area is called the sofa constant.

What is the answer to the moving sofa problem?

About 2.2195 square units, for a hallway of width 1. That is the area of the sofa Joseph Gerver described in 1992. In November 2024 Jineon Baek posted a 119-page proof that no shape can do better.

Has the moving sofa problem been solved?

Jineon Baek's 2024 proof that Gerver's sofa is optimal is widely believed to be correct, and it was listed among the major mathematical results of 2025. As of late 2026 it is still going through peer review, so the careful wording is: solved, pending publication.

What does Gerver's sofa look like?

It looks like an old telephone handset: a wide body with rounded ends and a rounded notch cut from the middle of one side. Its outline is made of 18 pieces, three straight segments and fifteen curves, joined smoothly.

What is the ambidextrous sofa?

A shape that can turn both left and right in a hallway of width 1. Dan Romik found the best known one, a figure with two notches and area about 1.6450. Nobody has yet proved that it is the largest possible.

Sources

Further reading

The animations on this page are drawn live in your browser. The sofa outlines were computed for this article by numerically maximising the area left by a turning hallway; they reproduce the published areas to three decimal places and are illustrations, not the exact formulas.

Beyond Euclid

Liked this? Get one like it every week.

One email a week, handpicked by Ali. 240 issues so far, free.