Rectangles Reasonably Close to a Given Area

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

In puzzles, architecture, real estate, and other applications, it is often useful to have a rectangle with a particular area and a reasonable aspect ratio. This Demonstration finds integer-sided rectangles close to a target area.


As an option, reasonable cuboids for a given volume can also be found.


Contributed by: Ed Pegg Jr (May 2016)
Open content licensed under CC BY-NC-SA




Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.