For reasons that I really can’t quite explain, I became determined to answer the question “which state is the most square?”.

How did this question come up in the first place? My wife’s dad asked my five year old son what he thought the most square state is while he was looking at his state map. I figured it had to be one of either Colorado or Wyoming, but my son (who loves states) immediately answered “New Mexico”. New Mexico hadn’t really crossed my mind, but the more I looked at it, the more I thought he might actually be right!

Regardless, I decided I would try to make a small project out of it.

How do you define “most square”?

I don’t think there’s a right or wrong answer here; it’s going to be a bit subjective. I ended up doing something fairly simple: I just counted the fraction of the state’s area that overlaps with a square of roughly the same volume.

To lay that out in a bit more detail:

  • Make a square that has roughly the same area as the state
  • Overlay the square on top of the state and measure how much of the area overlaps
  • Find the placement and orientation of the square that maximizes the overlap
  • Measure the overlap as a percentage of the total area

Methodology

First, I put each state on a lattice. Then, I scaled each state up or down so that the number of lattice points that fell within each state’s boundary was very close to 400 (+/- 2). In case that’s confusing, here’s a picture of me scaling California up and down until exactly 400 points fell within California’s state boundary:

Then, I found the position of the 20x20 square (so 400 points) that overlaps with the most points inside the state. Here’s a picture of me doing that for Vermont:

In Vermont’s case, the best square overlaps with 266 of the 400 points.

Then, I rotated each state in a bunch of different orientations to see if there was an orientation where I could find an even better 20x20 square. For Vermont, here is the best one (it overlaps with 290 points instead of just 266 above):

For fun, here’s a picture of me rotating Texas at 10 different angles to see which is best:

So, in the end, for every state, I found the rotation that had the 20x20 square that overlapped with the most points inside the state’s (rotated) boundary.

Results!

First, the least square states (Hawaii and Florida):

I thought that the answer had to be either Colorado or Wyoming:

Here are the top 2. Notice the winner!

Full results And for the curious, here is every state, both in the original orientation as well as in the orientation that maximized the "squareness".

Hawaii (unrotated) 58% (231/400)

Hawaii (rotated): 59% (236/400)

Florida (unrotated) 59% (237/400)

Florida (rotated): 62% (246/400)

California (unrotated) 61% (244/400)

California (rotated): 64% (255/400)

Tennessee (unrotated) 58% (233/400)

Tennessee (rotated): 65% (260/400)

Massachusetts (unrotated) 63% (250/400)

Massachusetts (rotated): 68% (273/400)

New Jersey (unrotated) 62% (249/400)

New Jersey (rotated): 69% (274/400)

Michigan (unrotated) 65% (261/400)

Michigan (rotated): 69% (276/400)

Delaware (unrotated) 71% (282/400)

Delaware (rotated): 72% (286/400)

Kentucky (unrotated) 65% (260/400)

Kentucky (rotated): 72% (289/400)

Vermont (unrotated) 67% (266/400)

Vermont (rotated): 73% (290/400)

Maryland (unrotated) 69% (276/400)

Maryland (rotated): 74% (295/400)

Nebraska (unrotated) 68% (270/400)

Nebraska (rotated): 75% (301/400)

New Hampshire (unrotated) 68% (273/400)

New Hampshire (rotated): 76% (303/400)

North Carolina (unrotated) 69% (277/400)

North Carolina (rotated): 77% (308/400)

Virginia (unrotated) 75% (301/400)

Virginia (rotated): 77% (309/400)

Mississippi (unrotated) 70% (281/400)

Mississippi (rotated): 78% (311/400)

Montana (unrotated) 72% (288/400)

Montana (rotated): 78% (312/400)

Pennsylvania (unrotated) 73% (293/400)

Pennsylvania (rotated): 78% (312/400)

Kansas (unrotated) 71% (282/400)

Kansas (rotated): 78% (313/400)

Connecticut (unrotated) 76% (303/400)

Connecticut (rotated): 79% (314/400)

Idaho (unrotated) 75% (300/400)

Idaho (rotated): 80% (319/400)

Indiana (unrotated) 74% (297/400)

Indiana (rotated): 80% (320/400)

New York (unrotated) 78% (311/400)

New York (rotated): 80% (320/400)

South Dakota (unrotated) 76% (303/400)

South Dakota (rotated): 81% (325/400)

Illinois (unrotated) 75% (298/400)

Illinois (rotated): 82% (327/400)

Louisiana (unrotated) 80% (319/400)

Louisiana (rotated): 82% (327/400)

Oklahoma (unrotated) 80% (319/400)

Oklahoma (rotated): 82% (328/400)

Minnesota (unrotated) 77% (306/400)

Minnesota (rotated): 83% (330/400)

Maine (unrotated) 79% (315/400)

Maine (rotated): 85% (339/400)

Washington (unrotated) 81% (324/400)

Washington (rotated): 85% (339/400)

Alabama (unrotated) 80% (318/400)

Alabama (rotated): 85% (340/400)

Colorado (unrotated) 81% (323/400)

Colorado (rotated): 86% (344/400)

Texas (unrotated) 78% (311/400)

Texas (rotated): 87% (347/400)

Alaska (unrotated) 83% (333/400)

Alaska (rotated): 87% (348/400)

North Dakota (unrotated) 82% (328/400)

North Dakota (rotated): 88% (350/400)

South Carolina (unrotated) 84% (334/400)

South Carolina (rotated): 88% (350/400)

Missouri (unrotated) 84% (337/400)

Missouri (rotated): 88% (353/400)

West Virginia (unrotated) 81% (323/400)

West Virginia (rotated): 88% (353/400)

Oregon (unrotated) 83% (332/400)

Oregon (rotated): 89% (357/400)

Georgia (unrotated) 85% (340/400)

Georgia (rotated): 90% (359/400)

Wisconsin (unrotated) 86% (342/400)

Wisconsin (rotated): 90% (361/400)

Nevada (unrotated) 85% (339/400)

Nevada (rotated): 91% (362/400)

Wyoming (unrotated) 90% (359/400)

Wyoming (rotated): 92% (367/400)

Arizona (unrotated) 86% (345/400)

Arizona (rotated): 92% (368/400)

Rhode Island (unrotated) 83% (332/400)

Rhode Island (rotated): 92% (368/400)

Iowa (unrotated) 87% (349/400)

Iowa (rotated): 93% (371/400)

Utah (unrotated) 85% (340/400)

Utah (rotated): 93% (372/400)

Ohio (unrotated) 91% (365/400)

Ohio (rotated): 93% (373/400)

Arkansas (unrotated) 92% (366/400)

Arkansas (rotated): 95% (379/400)

New Mexico (unrotated) 95% (378/400)

New Mexico (rotated): 97% (388/400)