Stadium Calculator
Area, perimeter, radius, straight-side length, overall length and width for any stadium shape — also called a discorectangle, obround, racetrack or pill. Nine solve modes with a live diagram and step-by-step working.
Material / cost estimator
Enter a price per square metre (turf, paint, flooring, sheet metal, land) to estimate the total cost from the computed area.
What is a stadium?
A stadium is a two-dimensional shape made of a rectangle with a semicircle attached to each of the two shorter sides. Because the two semicircles share the same radius as the rectangle's half-width, the shape has no corners — it is the 2D equivalent of a running-track outline. It goes by several other names depending on the field: discorectangle in physics, obround in mechanical drafting, racetrack in athletics, and pill in pharmaceutical or UI-design contexts. All refer to the same shape and use the same formulas.
It's fully described by just two numbers: the straight-side length a (the rectangle's length) and the cap radius r (half of the overall width). Every other measurement — area, perimeter, overall length, arc length — falls out of those two.
Stadium, case by case
Area of a stadium
The middle rectangle has area 2ar. The two semicircular caps together make one full circle of radius r, area πr². Add them.
Perimeter of a stadium
Two straight sides of length a plus the two semicircular arcs of radius r, which together form one full circle of circumference 2πr.
Total length and width
The overall bounding box of a stadium is L long and W wide. Because the caps are semicircles, the width equals the cap diameter and the length equals the straight side plus one full diameter.
Given a and Area, solve for r
With the straight side fixed, area is quadratic in the radius. Solving πr² + 2ar − A = 0 gives one positive root; the other is negative and unphysical.
Solve everything from L and W
The most common real measurement pair — the outer length and width of the shape (running track, capsule pill, slot cutout). Radius is half the width; the straight section is the length minus the width.
Reverse-engineer from Area and Perimeter
If you know both the area and the perimeter (from a floor plan or a drawing spec) you can back out the shape uniquely — provided the pair is physically possible, i.e. P² ≥ 4πA.
Formulas at a glance
All formulas — every calculation mode
The exact symbolic chain each mode of this calculator evaluates. Same notation as the widget: a is the straight side, r is the cap radius, L = a + 2r is the overall length, W = 2r is the overall width, A is the area and P is the perimeter.
Where the formulas come from
Area. Slice the stadium into three pieces: the middle rectangle (dimensions 2r × a) and the two end semicircles. The rectangle contributes 2ar. The two semicircles of radius r, glued along their diameters, are geometrically identical to one full circle of radius r, contributing πr². Summing gives A = 2ar + πr².
Perimeter. The boundary consists of the two straight edges of length a on the top and bottom, plus the two circular arcs on the left and right. Each arc is exactly half of a circle of radius r, so together they contribute 2πr. Summing gives P = 2a + 2πr.
Overall length and width. The width is the diameter of the caps: W = 2r. The length is the rectangle's length plus one full diameter (half a diameter from each cap): L = a + 2r.
Isoperimetric bound. Among all closed 2D curves with a fixed perimeter, the circle maximises area — this is the classical isoperimetric inequality, P² ≥ 4πA. For a stadium, eliminating a between the area and perimeter formulas produces the quadratic πr² − Pr + A = 0. Its discriminant P² − 4πA must be non-negative, giving the same bound (equality holds only when the straight side collapses, a = 0, and the stadium becomes a pure circle).
Worked example — a 400 m running track
A standard IAAF athletics track measures 400 m along the inside lane and is a stadium shape. If the inner semicircular curves have radius r = 36.5 m, what straight-side length gives a 400 m inner perimeter?
The overall inside length is L = a + 2r ≈ 85.332 + 73 ≈ 158.33 m and the width is W = 2r = 73 m. The enclosed infield area is A = 2ar + πr² ≈ 2 × 85.332 × 36.5 + π × 36.5² ≈ 6229 + 4185 ≈ 10 414 m².
What this tool does for you
- Nine calculation modes — solve from any pair among (a, r, L, W, A, P), including the two quadratic-in-r modes competitor calculators skip
- Live SVG diagram labeled with a, r, L, W and the computed values
- Reports area, perimeter, straight side, radius, overall length and width, diameter and total arc length
- Unit selector (mm, cm, m, km, in, ft, yd) with automatic m² conversion for the cost estimator
- Show/hide step-by-step working for every mode — including the quadratic-formula substitution
- Handles the a = 0 degenerate case (full circle) and rejects (A, P) pairs that violate P² ≥ 4πA
- Material or cost estimator — enter a price per m² and get the total