Mathematics · geometry

Geometry — 2D & 3D

Thirty-six shapes, and the rules behind them drawn: Pythagoras, the trig ratios, the angle facts, the circle theorems.
exact closed-form formulas
Circle · r=5

Pick a shape

Units

Circle

drag the amber handles

Why the formula works

Techniques

The rules of geometry, drawn

press play, scrub, and drag the slider

—

angle
How it works

Thirty-six shapes, one consistent approach

Perimeter against surface area

Perimeter is the distance around a 2D shape; surface area is the skin of a 3D solid. Different questions despite the similar names.

Area to k², volume to k³

Scale every dimension by k: area by k², volume by k³. Doubling a shape does not just double the material.

Developable surfaces

Flattenable without stretching or tearing: cylinders, cones and every flat-faced solid. Spheres and tori are not, which is why every flat map of Earth distorts something.

Euler: V − E + F = 2

Any solid without holes. Counted live from the mesh actually drawn, so it is a check rather than a claim.

Worked example. A sphere and a cube with the same volume do not have the same surface area. A sphere of radius 3 has a volume of about 113 cubic units; a cube with that volume needs sides of about 4.84, giving a surface area near 140.5, against the sphere’s 113. Not a coincidence: for a fixed volume the sphere has the least possible surface area of any shape, which is why bubbles, droplets and planets are spherical. Likewise a regular polygon approaches its circle: 24 sides cover 98.9% of πr², 48 sides 99.7%.
Field notes

Scaling, folding, and why shape matters

The ⅓ that keeps appearing

Cones and pyramids both carry a ⅓ against the matching cylinder or prism. It is one fact: three copies of the tapering solid fill the straight one exactly, whatever the base shape. A prism has the same cross-section all the way through (volume = base area × length); a pyramid tapers to a point.

Pythagoras is about areas

a² + b² = c² says the square on the hypotenuse equals the two squares on the legs together. It only holds with a right angle between a and b; the cosine rule is Pythagoras with the correction −2ab·cos C bolted on.

The angle facts, in one breath

Straight line 180°, round a point 360°, triangle 180°, quadrilateral 360°, n-gon (n−2)×180°, exterior angles always 360°. Parallel lines: Z equal, F equal, C adds to 180°. Circles: the centre sees double, a diameter sees a right angle.

Orthographic or perspective

The 3D view defaults to orthographic: parallel edges stay parallel and a cube’s far face is drawn as large as its near one, which technical drawing uses because it compares faces honestly. Perspective looks like a photograph and reads depth better on rounder solids, but makes the near side larger: a switch, not the default.

Why the ellipse has no exact perimeter

An ellipse’s perimeter has no elementary closed form: it needs an elliptic integral. The tool uses Ramanujan’s second approximation, accurate to a fraction of a percent for any realistic ellipse, and the ellipsoid’s surface area uses the Knud Thomsen approximation; both are labelled as approximations wherever they appear.

How the fold works, and why a sphere cannot

A real hinge fold: a spanning tree over the faces, each rotating about the actual edge it shares with its parent by exactly the angle that makes them coplanar, so the flat net’s area matches the surface-area formula; you can stop it half way and rotate. A surface can be flattened only if it has zero Gaussian curvature everywhere (cones, cylinders, prisms, pyramids do, despite the cone looking curved); a sphere curves the same way in every direction at once. Not a limitation of the tool.

Questions

What people ask

Why doesn't the ellipse have an exact perimeter formula?

Unlike a circle, an ellipse's perimeter genuinely has no elementary closed-form expression — it requires an elliptic integral. This tool uses Ramanujan's second approximation, which is accurate to within a fraction of a percent for any realistic ellipse.

What's the difference between a triangular prism and a pyramid?

A prism has the same cross-section all the way through (like a Toblerone bar) — its volume is simply the base area times the length. A pyramid tapers to a single point, which is exactly why its volume formula has that extra ⅓ factor.

Why does area scale with the square, and volume with the cube?

Area is fundamentally a product of two lengths (like base × height); volume is a product of three. Scale every dimension of a shape by a factor k, and its area scales by k², its volume by k³ — which is why doubling a shape's size doesn't just double how much material or space it needs.

How does the fold animation work?

It is a real hinge fold, not a visual effect. The tool builds a spanning tree over the solid's faces, and every face rotates about the actual edge it shares with its parent face — by exactly the angle that makes the two faces coplanar. At the end of the animation the whole surface lies flat in one plane, and the total area of that net matches the surface-area formula. Because the fold is genuine, you can stop it half way and rotate the half-open shape.

Why can't a sphere or torus be unfolded into a net?

It's not a limitation of this tool — it's a real fact about those shapes. A surface can only be flattened without stretching or tearing if it has zero Gaussian curvature everywhere, which cones, cylinders, prisms and pyramids all do (despite the cone looking curved, it's flat in the direction that matters). A sphere curves the same way in every direction at once, the same reason every flat map of Earth distorts something — area, shape, or distance — because the globe itself cannot be flattened.

Ideal shapes with no thickness. Real objects have wall thickness, fillets, draft angles and manufacturing tolerance, so a volume computed here is the mathematical solid rather than the thing you are holding. For material estimates, work out which surface you actually want — inside, outside or mid-wall — before you trust the number.
Version history · 6 releases
  1. v0.682026-07-26Geometry rebuilt: 29 shapes, drag-rotate 3D viewer, true hinge fold, animated proof for every shape
  2. v0.692026-07-26Geometry refinement: scroll-wheel zoom, nothing overflows its frame, grid proofs 142ms -> 2.9ms, degenerate 360 deg arc fixed
  3. v0.702026-07-26Geometry 3D view defaults to orthographic (perspective was distorting the shapes); constant-scale framing
  4. v1.162026-07-29Solids-and-nets homepage demo (one of four shapes per load), and fixed the Unfold button, which never unfolded from assembled
  5. v5.272026-09-13Geometry audited for visual and interactive: grab handles on every flat shape, a quick bar, units and real-world comparisons on every answer, the formula with the numbers in it for all 29 shapes, a scale panel with a ghost, and the equal-volume sphere for every solid
  6. v5.282026-09-13Geometry: the quick bar and scale panel go; seven more shapes (36); and a Techniques section that draws eighteen rules — Pythagoras, SOH CAH TOA, the unit circle, the angle facts, parallel lines, the circle theorems, why π, the ⅓, Archimedes, nets, scaling — each animated, parameter-driven, with a memory trick

Releases in which this page changed, newest last. Derived from the archived copy of every release, not from notes written afterwards — so it reflects what actually shipped. Site-wide passes are left out; they are in the full changelog.

Rules of thumb are approximations, offered to get you to the right order of magnitude fast. Check anything load-bearing against its source or the exact tool. Privacy · Terms

© 2026 Rules of Thumb · Runs entirely in your browser