Sector Area Calculator

.sector-calc-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; max-width: 800px; margin: 20px auto; padding: 25px; border: 1px solid #e1e1e1; border-radius: 12px; background-color: #ffffff; box-shadow: 0 4px 6px rgba(0,0,0,0.05); } .sector-calc-header { text-align: center; margin-bottom: 30px; } .sector-calc-header h2 { color: #2c3e50; margin-bottom: 10px; } .sector-calc-row { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; } .sector-calc-field { flex: 1; min-width: 200px; } .sector-calc-field label { display: block; margin-bottom: 8px; font-weight: 600; color: #34495e; } .sector-calc-field input, .sector-calc-field select { width: 100%; padding: 12px; border: 1px solid #ced4da; border-radius: 6px; font-size: 16px; box-sizing: border-box; } .sector-calc-btn { width: 100%; padding: 15px; background-color: #3498db; color: white; border: none; border-radius: 6px; font-size: 18px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; } .sector-calc-btn:hover { background-color: #2980b9; } .sector-calc-result { margin-top: 30px; padding: 20px; background-color: #f8f9fa; border-radius: 8px; display: none; } .result-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; } .result-item:last-child { border-bottom: none; } .result-label { font-weight: 600; color: #2c3e50; } .result-value { font-weight: bold; color: #e67e22; font-size: 1.1em; } .sector-article { margin-top: 40px; line-height: 1.6; color: #444; } .sector-article h3 { color: #2c3e50; border-left: 5px solid #3498db; padding-left: 15px; } .sector-article table { width: 100%; border-collapse: collapse; margin: 20px 0; } .sector-article th, .sector-article td { border: 1px solid #ddd; padding: 12px; text-align: left; } .sector-article th { background-color: #f2f2f2; }

Sector Area Calculator

Calculate the area, arc length, and perimeter of a circle sector instantly.

Degrees (°) Radians (rad)
Area of Sector:
Arc Length:
Sector Perimeter:

Understanding the Area of a Sector

A sector is a portion of a circle enclosed by two radii and an arc. Think of it as a slice of pizza or a piece of pie. To calculate the properties of this "slice," you need two primary pieces of information: the radius of the circle and the central angle that defines the opening of the sector.

The Mathematical Formulas

Depending on whether your angle is measured in degrees or radians, the formula for the area changes slightly:

  • Degrees: Area = (θ / 360) × π × r²
  • Radians: Area = 0.5 × r² × θ

Where r is the radius and θ is the central angle.

Practical Examples

Radius (r) Angle (θ) Unit Calculated Area
5 cm 90° Degrees 19.63 cm²
10 m π/2 (1.57) Radians 78.54 m²
12 in 45° Degrees 56.55 in²

How to use this Calculator

1. Enter the Radius of your circle. This is the distance from the center to the edge.

2. Select your Angle Unit. Most geometry problems use degrees, but advanced physics or calculus often uses radians.

3. Input the Central Angle. If you are using degrees, a full circle is 360°. If using radians, a full circle is 2π (approx 6.283).

4. Click Calculate to see the total area, the length of the curved arc, and the total perimeter (which includes the two straight radii and the curved arc).

function calculateSectorArea() { var radius = parseFloat(document.getElementById('sectorRadius').value); var angle = parseFloat(document.getElementById('sectorAngle').value); var unit = document.getElementById('angleUnit').value; var resultDiv = document.getElementById('sectorResultContainer'); var resArea = document.getElementById('resArea'); var resArc = document.getElementById('resArc'); var resPerimeter = document.getElementById('resPerimeter'); if (isNaN(radius) || isNaN(angle) || radius <= 0 || angle <= 0) { alert("Please enter valid positive numbers for radius and angle."); resultDiv.style.display = "none"; return; } var area = 0; var arcLength = 0; var perimeter = 0; if (unit === "degrees") { // Area = (angle/360) * PI * r^2 area = (angle / 360) * Math.PI * Math.pow(radius, 2); // Arc Length = (angle/360) * 2 * PI * r arcLength = (angle / 360) * 2 * Math.PI * radius; } else { // Area = 0.5 * r^2 * theta (radians) area = 0.5 * Math.pow(radius, 2) * angle; // Arc Length = r * theta (radians) arcLength = radius * angle; } // Perimeter = arc length + 2 * radius perimeter = arcLength + (2 * radius); resArea.innerHTML = area.toFixed(4); resArc.innerHTML = arcLength.toFixed(4); resPerimeter.innerHTML = perimeter.toFixed(4); resultDiv.style.display = "block"; }

Leave a Comment