Stadium Calculator: Area and Perimeter of a Pill Shape
Find the area and perimeter of a stadium (pill/capsule) shape from its cap radius and rectangle length, or work backward from a known area or perimeter.
What a stadium shape is
Take a circle, slice it in half straight through the center, and pull the two halves apart. Insert a rectangle of length between them, matching the circle's diameter as the rectangle's height. The result — a running track, a pill capsule, a swimming lane — is called a stadium (or pill, capsule, discorama).
Why these formulas work
The area comes from two pieces: the two semicircular caps rejoined make one full circle, contributing ; the rectangular middle section contributes (height , width ). Adding them gives .
The perimeter also comes from two pieces: the two semicircular arcs rejoined make one full circumference, ; the two straight sides each contribute length , for total. Adding them gives .
Worked example: radius r = 5, length a = 10
Because both the radius and length are exact here, the area also has an EXACT symbolic form () alongside the decimal approximation.
Solving in the other direction
Given the radius plus either the area or the perimeter, this calculator solves for the rectangle length first, then derives the rest.
| Known | Solve for length a | Then |
|---|---|---|
| Radius , length | — (already known) | , |
| Radius , area | ||
| Radius , perimeter |
Worked example: radius r = 5, area A = 178.5398
Rearranging the area formula gives . The perimeter follows as .
Common mistakes
- Forgetting the rectangle entirely. Computing only (the circle part) and skipping under-counts the area — a stadium is always bigger than the circle its caps came from (unless ).
- Using instead of for the rectangle's height. The rectangle spans the caps' full diameter, not just the radius.
- Confusing perimeter with area. Perimeter is a length (); area is a surface () — they don't share units.
Where this shows up
- Running tracks and athletics fields: the classic 400m oval track is a stadium shape, which is where the name comes from.
- Pills and capsules: medicine capsules are 3D versions (a capsule, the solid of revolution of a stadium) built from the same two-piece geometry.
- Swimming lanes and rounded tables: any rectangle with semicircular rounded ends — a rounded rectangle taken to its full curve — is a stadium.
A stadium is the simplest shape built from two others: know the circle's radius and the rectangle's length, and every other measure — area, perimeter, or either one worked backward — follows directly.
Frequently asked questions
- What is a stadium shape in geometry?
- A stadium (also called a pill, capsule, or discorama) is a rectangle of length with a semicircle of radius capping each short end — like a running track or a medicine capsule. It's a rectangle plus two circle-halves.
- What are the area and perimeter formulas for a stadium?
- Area is — a full circle (the two caps rejoined) plus the rectangle . Perimeter is — the two semicircular arcs rejoined into one circumference , plus the two straight sides .
- Why is the rectangle's height and not ?
- The rectangle spans the full diameter of the caps, not just the radius. A rectangle of height would only cover half of each semicircular cap, leaving the shape's outline disconnected.
- How do I find the rectangle length if I only know the area and radius?
- Rearrange the area formula: . For example, with radius and area , .
- How do I find the rectangle length if I only know the perimeter and radius?
- Rearrange the perimeter formula: . For example, with radius and perimeter , .
- What's the most common mistake with stadium formulas?
- Forgetting the rectangle's area entirely and computing only the circle part (), or using instead of for the rectangle's height. Both under-count the true area.
- Can the rectangle length be zero?
- Yes — when , the stadium collapses into a bare circle of radius , since the two semicircular caps meet directly. The formulas and fall right out of the general ones.
- How is the stadium related to the circle and the rectangle?
- A stadium is literally a circle (#G03) cut in half through its center, with the two halves pulled apart and a rectangle (#G02) inserted between them. Its area and perimeter formulas are built directly from the circle's and rectangle's own formulas.