Circle Calculator (Advanced) Formula
Understand the math behind the circle calculator (advanced). Each variable explained with a worked example.
Formulas Used
Area
area = pi * pow(r, 2)Circumference
circumference = 2 * pi * rDiameter
diameter = 2 * rSector Area
sector_area = pi * pow(r, 2) * angle_deg / 360Arc Length
arc_length = 2 * pi * r * angle_deg / 360Variables
| Variable | Description | Default |
|---|---|---|
r | Radius | 5 |
angle_deg | Sector Angle (degrees)(deg) | 90 |
How It Works
Circle Calculations
Formulas
A sector is a "pie slice" of the circle defined by a central angle.
Worked Example
A circle with radius 5, find area and a 90-degree sector.
r = 5angle_deg = 90
- 01Area = pi × 25 ≈ 78.5398
- 02Circumference = 2 × pi × 5 ≈ 31.4159
- 03Sector area = 78.5398 × 90/360 ≈ 19.6350
- 04Arc length = 31.4159 × 90/360 ≈ 7.8540
Frequently Asked Questions
What is a sector?
A sector is the region between two radii and an arc. Think of it as a "pie slice" of the circle.
How do I find the area if I know the diameter?
Divide the diameter by 2 to get the radius, then use A = pi × r². Alternatively, A = pi × d²/4.
What is the relationship between arc length and sector area?
Both are proportional to the central angle. Sector area = (1/2) × r × arc length.
Ready to run the numbers?
Open Circle Calculator (Advanced)