Math calculator

Free area calculator

Calculate the area of rectangles, triangles, circles, ellipses, and trapezoids — enter any dimensions to see the result, updated live, as you type.

InputsLive
Shape
Length
Width
Result
Area
50 sq units
Formula: length × width
Shaperectangle
Formulalength × width
Area50 sq units

Results are in square units matching your input units. Standard geometry formulas.

Results are estimates. Consult a professional.

How it's calculated

How the area calculator works

Area measures the amount of two-dimensional space enclosed by a shape, expressed in square units (cm², m², ft², etc.). Each shape has its own formula derived from its geometry — the calculator applies the correct one based on the shape you select.

Rectangle: A = l × w
Circle: A = π ×
Triangle: A = ½ × b × h
Ellipse: A = π × a × b
Trapezoid: A = ½ × (b₁ + b₂) × h
Parallelogram: A = b × h
Khan Academy — Area and perimeter
Example

Worked example: rectangle, circle, and triangle

Example: Rectangle 8 m × 5 m, Circle r = 7 m, Triangle b = 10 m h = 6 m

Three common shapes solved using the core area formulas. All results are in square metres (m²).

Rectangle: A = 8 × 5 = 40 m²
Circle: A = π ×= π × 49 ≈ 153.94 m²
Triangle: A = ½ × 10 × 6 = 30 m²
40 · 153.94 · 30 m²
Rectangle = 40 m², Circle ≈ 153.94 m², Triangle = 30 m². Verify by checking units — length × length always gives square units.
Quick reference

Area formulas for common shapes

The table below lists six common 2D shapes with their area formulas, required inputs, and a brief description of each variable.

ShapeFormulaVariables
RectangleA = l × wl = length, w = width
SquareA = s²s = side length
CircleA = π r²r = radius
TriangleA = ½ b hb = base, h = perpendicular height
TrapezoidA = ½ (b₁ + b₂) hb₁, b₂ = parallel sides, h = height
EllipseA = π a ba = semi-major axis, b = semi-minor axis

Source: standard Euclidean geometry formulas

Practical tips

Tips for calculating area accurately

A few habits prevent the most common area-calculation errors, whether you are tiling a floor, planning a garden, or solving a geometry problem.

  • Use consistent units — if length is in metres and width is in centimetres, convert both to the same unit before multiplying or your answer will be wrong by a factor of 100.
  • Height must be perpendicular — for triangles, trapezoids, and parallelograms, height (h) is the vertical distance between the two parallel sides, not the slant side length.
  • Radius vs diameter — the circle formula uses radius (half the diameter); entering the diameter without halving it first produces a result four times too large.
  • Break irregular shapes apart — for L-shapes, U-shapes, or any irregular polygon, split the figure into rectangles or triangles, calculate each sub-area, then add or subtract as needed.
  • Double-check by estimation — a rough bounding rectangle (largest l × w that would contain the shape) should always be larger than the actual area; if your calculated area exceeds the bounding rectangle, recheck your inputs.
Accuracy & limits

Accuracy and limitations

This calculator uses IEEE 754 double-precision arithmetic and the full value of π (not an approximation), giving results accurate to approximately 15 significant digits. For practical construction or landscaping purposes, rounding to two decimal places is sufficient. The formulas assume perfect geometric shapes; real-world surfaces may have curves, irregularities, or waste that require adding a 5–10 % buffer to material estimates. Very large inputs (side lengths above 10⁷ in the chosen unit) may accumulate minor floating-point rounding errors.

Glossary

Key terms

The amount of two-dimensional space inside a closed boundary, measured in square units.
The distance from the centre of a circle to its edge; equal to half the diameter.
The shortest vertical distance between two parallel sides of a shape, measured at a right angle (90°) to the base.
Half the length of an axis in an ellipse; the semi-major axis (a) is the longer half and the semi-minor axis (b) is the shorter half.
The units used to express area (e.g. cm², m², in², ft²); always the linear unit raised to the power of two.
The mathematical constant ≈ 3.14159265, defined as the ratio of a circle's circumference to its diameter; appears in all circle and ellipse formulas.
About

About this calculator

Part of our math calculators suite — explore all calculators.

Questions

Frequently asked questions about the free area calculator

An area calculator is a free online tool that helps you calculate area of common 2D shapes — rectangle, triangle, circle, ellipse, trapezoid. Standard area formulas. It runs entirely in your browser with instant results and no sign-up.
JavaScript double-precision floating-point — accurate to about 15-17 significant digits. For arbitrary precision, use the Big Number calculator.
The statistics calculator computes population variance (divides by n). For sample variance, multiply variance by n/(n-1).

Want a calculator built for your business?

Customize any of our 400+ tools to match your brand, or commission a new one tailored to how your business actually calculates — pricing, payroll, quotes, anything. Deployed on your domain, math runs in your visitors' browsers.