Area Calculator
Select a shape and enter the required dimensions to calculate its area.
Select Shape
Steps for Calculation
- Select Shape:
- Choose the shape from the dropdown menu (Rectangle, Circle, Triangle, or Trapezoid).
- Input Dimensions:
- Enter the required dimensions for the selected shape:
- Rectangle: Length and width.
- Circle: Radius.
- Triangle: Base and height.
- Trapezoid: Two bases and height.
- Enter the required dimensions for the selected shape:
- Calculate Area:
- Click the Calculate Area button to compute the area.
- View Result:
- The calculated area will be displayed below the button.
Detailed Description
- Rectangle:
- The area of a rectangle is calculated using the formula:Area=Length×WidthArea=Length×Width
- Example: For a length of
5
and width of10
, the area is 5×10=505×10=50.
- Circle:
- The area of a circle is calculated using the formula:Area=πr2Area=πr2
- Example: For a radius of
5
, the area is π×52≈78.54π×52≈78.54.
- Triangle:
- The area of a triangle is calculated using the formula:Area=12×Base×HeightArea=21×Base×Height
- Example: For a base of
5
and height of10
, the area is 12×5×10=2521×5×10=25.
- Trapezoid:
- The area of a trapezoid is calculated using the formula:Area=Base 1+Base 22×HeightArea=2Base 1+Base 2×Height
- Example: For bases of
5
and10
and height of8
, the area is 5+102×8=6025+10×8=60.