How to calculate
Add a rectangle of size 2r by a to the two semicircles, giving area πr² + 2ra. The boundary adds two straight sides to one full circumference, giving 2a + 2πr.
Worked example
Use Known pair Radius and straight side · Radius of semicircular ends 2 · Length of one straight side 5. The result is ≈ 32.56637061436 square units.
Input and result notes
The radius is half the stadium width. The straight side excludes both rounded ends. A zero straight side gives a circle.