← 다각형 계산기 /

2D 도형 계산기

임의의 2D 도형의 넓이와 둘레를 계산합니다: 정사각형, 직사각형, 삼각형, 원, 평행사변형, 사다리꼴.

[email protected], Geometry Calculator Developer & Online Math Educator 검수 마지막 업데이트 April 24, 2026

2D 도형 계산기

먼저 도형을 선택한 다음 필요한 치수를 입력하세요.

2D 도형 계산기에서 사용된 공식

Area and perimeter formulas vary by shape

In-Depth Tutorial: 2D 도형 계산기

The 2D Shapes Calculator handles the six most common two-dimensional figures — square, rectangle, triangle, circle, parallelogram, and trapezoid — in a single tool. Pick the shape, enter the required dimensions, and the calculator returns both area and perimeter. This tutorial covers what dimensions each shape needs, the formulas behind the calculations, and how to choose between specialized calculators when you need more depth.

The six shapes at a glance

ShapeInputs neededArea formulaPerimeter formula
Squareside length s4s
Rectanglelength l, width wl × w2(l + w)
Trianglebase b, height h½ × b × hvaries (need all 3 sides)
Circleradius rπr²2πr (circumference)
Parallelogrambase b, height hb × hvaries (need both side lengths)
Trapezoidtwo bases b₁, b₂, height h½(b₁ + b₂) × hvaries (need all 4 sides)

Square — the simplest case

A square has four equal sides and four right angles. Its area and perimeter both depend on a single input: the side length s.

Area = s². Perimeter = 4s.

Example: a square with s = 6 cm has area 36 cm² and perimeter 24 cm.

Rectangle

A rectangle has two pairs of parallel sides with opposite sides equal. Four right angles.

Area = length × width = l × w. Perimeter = 2(l + w).

Example: a rectangle 8 m × 5 m has area 40 m² and perimeter 26 m.

Triangle

The triangle formula A = ½ × base × height applies to any triangle, not just right ones. The height is the perpendicular distance from the chosen base to the opposite vertex.

If you have all three sides but no height, use Heron's formula instead: A = √(s(s−a)(s−b)(s−c)) where s = (a+b+c)/2.

For the full triangle solver (any inputs, any case), use the Triangle Solver.

Example: a triangle with base 10 cm and height 6 cm has area 30 cm². Perimeter depends on the other two sides.

Circle

A circle is fully determined by its radius (distance from center to edge).

Area = πr². Perimeter (called "circumference") = 2πr.

Note the irrational number π ≈ 3.14159. The full π discussion is worth a read.

For more circle subtopics (sector area, arc length, chord length), use the Circle Geometry Calculator.

Example: a circle with r = 4 cm has area 16π ≈ 50.27 cm² and circumference 8π ≈ 25.13 cm.

Parallelogram

A parallelogram has two pairs of parallel sides but its angles are generally not 90° (a parallelogram with right angles IS a rectangle — a special case).

Area = base × height. The height is the perpendicular distance between the two chosen parallel sides, NOT the length of the slanted side.

Perimeter = 2(base + side length). Note: the "side length" is the slanted side, not the height.

Example: a parallelogram with base 8 and height 5 (and slant side 6) has area 40 and perimeter 28.

For more parallelogram-specific tools (angles, diagonals, height from sides), see the Parallelogram Angle Solver and related parallelogram calculators.

Trapezoid

A trapezoid has at least one pair of parallel sides. Its area formula averages the two parallel sides and multiplies by the perpendicular height.

Area = ½ × (b₁ + b₂) × h. Perimeter = sum of all four sides.

For the full derivation and worked examples, see the trapezoid area tutorial.

Example: a trapezoid with parallel sides 6 and 10, and height 4, has area ½ × 16 × 4 = 32.

Choosing between this calculator and specialized ones

The 2D Shapes Calculator is a quick general-purpose tool. For deeper analysis on any specific shape, our specialized calculators have more inputs and outputs:

What counts as a "2D shape"?

The six shapes in this calculator are the most common, but countless other 2D shapes exist:

  • Regular polygons (pentagon, hexagon, octagon, etc.) — handled by the polygon calculators.
  • Irregular polygons — area found by decomposing into triangles or using the Shoelace formula. See Area of Any Polygon.
  • Ellipses — A = πab where a and b are the semi-major and semi-minor axes. Perimeter has no closed-form formula; an approximation is π(a + b)(1 + 3h/(10 + √(4−3h))) where h = ((a−b)/(a+b))².
  • Sectors and circular segments — see the Circle Geometry Calculator and related circle tools.
  • Composite figures — shapes built from multiple primitive shapes. Use the Composite Figure Calculator or AI Solve for irregular composites.

Worked example — comparing areas at fixed perimeter

You have 24 cm of fencing. What shape gives the maximum area?

  • Square: perimeter 24 → side 6 → area 36 cm².
  • Rectangle 8×4: same perimeter, area 32. Smaller.
  • Rectangle 10×2: perimeter 24, area 20. Smaller still.
  • Equilateral triangle with side 8: perimeter 24, area = (√3/4)(8)² = 16√3 ≈ 27.7 cm². Smaller.
  • Circle with circumference 24: radius = 24/(2π) ≈ 3.82 → area = π(3.82)² ≈ 45.8 cm². Largest of all!

Among all 2D shapes with a given perimeter, the circle always encloses the maximum area. This is called the isoperimetric inequality and is a foundational result in geometry.

Common mistakes

  • Using slant side as height in parallelogram or trapezoid. Height is the perpendicular distance between the parallel sides, NOT the slanted side. Only in a rectangle (or right trapezoid leg) are they the same.
  • Using diameter as radius for the circle. Halve the diameter first.
  • Confusing area and perimeter units. Area is in squared units (cm², m², etc.). Perimeter is in linear units (cm, m, etc.). A "perimeter of 100 cm²" doesn't make sense.
  • Forgetting the ½ for triangle area. Area = ½ × base × height. Without the ½ you get the area of the bounding rectangle.
  • Plugging diagonal of a rectangle as a side. The diagonal is √(l² + w²) by the Pythagorean theorem. It is not an input to the area formula.

자주 묻는 질문 – 2D 도형 계산기

정사각형, 직사각형, 삼각형, 원, 평행사변형, 사다리꼴. 먼저 도형을 선택하면 필요한 치수 입력란이 자동으로 업데이트됩니다.

도형에 따라 다릅니다. 직사각형: 길이와 너비. 삼각형: 밑변과 높이. 평행사변형: 밑변과 높이. 원: 치수 1에 반지름을 입력합니다.

네 — 계산기는 지원되는 모든 도형에 대해 면적과 둘레를 한 번의 결과로 반환합니다.

네 — 완전히 무료이며 제한이 없습니다.