TOPICS
Search

Square Packing


SquaresInSquares

Square packing asks for the minimum size square capable of bounding n equal squares arranged in any configuration. The first few cases are illustrated above (Friedman). Among the nontrivial cases, packings which have been proven optimal include 2, 3, 5, 6, 7, 8, 10, 13, 14, 15, 22, 23, 24, 33, 34, and 35, in addition to the trivial cases of the square numbers (Friedman and Ellsworth).

If n=a^2-a for some a, it is conjectured that the size of the minimum bounding square is a for small n. The smallest n for which the conjecture is known to be violated is n=272 (with a=17).

Let s(N) be the least side length of a square containing N unit squares with arbitrary orientations and pairwise disjoint interiors. Nagamochi (2005) claimed a rectangle bound implying s(k^2-1)=s(k^2-2)=k for every integer k>=2. Karakus (2026) constructed counterexamples to the scoring assertion used in the proof, so the published proof of the rectangle bound is incomplete, although the bound itself is not disproved.

Karakus (2026) independently proved, for every integer k>=2, the weaker result

 s(k^2-1)=k,
(1)

and, for every nonsquare integer N>=8, the lower bound

 s(N)>=1/2+sqrt(N-|_sqrt(N)_|+1/4)>sqrt(N).
(2)

This argument does not establish s(k^2-2)=k. Karakus (2026) reports using AI tools during exploratory work, for symbolic and numerical checks, and for language and typesetting assistance, and states that all mathematical arguments and calculations were independently checked.

The following table gives the smallest known side lengths for a square into which n unit squares can be packed (Friedman and Ellsworth). An asterisk (*) indicates that a packing has been proven to be optimal.

nexactapprox.nexactapprox.
1*1116*44
2*22174.6755...
3*22181/2(7+sqrt(7))4.822...
4*22193+4/3sqrt(2)4.885...
5*2+1/2sqrt(2)2.707...2055
6*332155
7*3322*55
8*3323*55
9*3324*55
10*3+1/2sqrt(2)3.707...25*55
113.877...261/2(7+3sqrt(2))5.6214...
1244275+1/2sqrt(2)5.7072...
13*44285.8244...
14*44295.9338...
15*44

The value listed for n=28 is the polynomial root (x^6-24x^5+212x^4-812x^3+1025x^2+882x-1615)_3 (Ellsworth).

In December 2025, T. Schadt found a packing of 50 unit squares in a square of side length

 7+4/7=(53)/7=7.571428....
(3)

The construction, subsequently optimized by D. Ellsworth, uses orientations determined by a 3, 4, 5 triangle and is the smallest known as of September 2026 for n=50 (Ellsworth, Pegg 2026).

SquaresInCircles

The best known packings of squares into a circle are illustrated above for the first few cases (Friedman).

SquaresInTriangles

The best known packings of squares into an equilateral triangle are illustrated above for the first few cases (Friedman).

SquarePentagon

The best packing of a square inside a pentagon, illustrated above, is 1.0673....


See also

Circle Packing, Packing, Square Dissection, Three Squares in a Rectangle Problem, Triangle Packing

Explore with Wolfram|Alpha

References

Ellsworth, D. "Squares in Squares." https://kingbird.myphotos.cc/packing/squares_in_squares.html.Erdős, P. and Graham, R. L. "On Packing Squares with Equal Squares." J. Combin. Th. Ser. A 19, 119-123, 1975.Friedman, E. "Packing Unit Squares in Squares." Elec. J. Combin., Dynamic Survey DS7, Aug. 14, 2009. https://doi.org/10.37236/28.Friedman, E. "Erich's Packing Center." https://erich-friedman.github.io/packing/.Friedman, E. "Circles in Squares." https://erich-friedman.github.io/packing/cirinsqu/.Friedman, E. "Triangles in Squares." https://erich-friedman.github.io/packing/triinsqu/.Gardner, M. "Packing Squares." Ch. 20 in Fractal Music, Hypercards, and More Mathematical Recreations from Scientific American Magazine. New York: W. H. Freeman, pp. 289-306, 1992.Göbel, F. "Geometrical Packing and Covering Problems." In Packing and Covering in Combinatorics (Ed. A. Schrijver). Amsterdam, Netherlands: Tweede Boerhaavestraat, 1979.Hoffman, P. The Man Who Loved Only Numbers: The Story of Paul Erdős and the Search for Mathematical Truth. New York: Hyperion, p. 174, 1998.Karakus, H. "A Counterexample to Nagamochi's Scoring Lemma and a New Rectangle Packing Bound." 29 Sep 2026. https://arxiv.org/abs/2609.37410.Nagamochi, H. "Packing Unit Squares in a Rectangle." Elec. J. Combin. 12, R37, 2005. https://doi.org/10.37236/1934. Pegg, E. Jr. Mathematical Games. Episode 45: "Filling Space with Similar Parts." Sep. 24, 2026. https://www.youtube.com/watch?v=hQW_dYMdMsw. Companion notebook: https://community.wolfram.com/t/28170.Roth, L. F. and Vaughan, R. C. "Inefficiency in Packing Squares with Unit Squares." J. Combin. Th. Ser. A 24, 170-186, 1978.

Referenced on Wolfram|Alpha

Square Packing

Cite this as:

Weisstein, Eric W. "Square Packing." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/SquarePacking.html

Subject classifications