Rectangle / square
- Area
- Perimeter
- Square area
- Square perimeter
L length · W width · a square side
Four right angles. Square: L = W = a. All lengths > 0.
Area uses square units; perimeter uses length units.
Enter your measurements to see the results.
Enter points in boundary order. The final edge joins the last point to point 1. Zero and negative coordinates are allowed.
Changing an input unit keeps its number: 3 cm becomes 3 m. Choose individual x/y units in the point table. Result unit converts only the answers.
| Point | x | y | Row actions |
|---|---|---|---|
| 1 | cm | cm | |
| 2 | cm | cm | |
| 3 | cm | cm |
Change its x/y values above for exact decimal positioning. The arrow buttons and arrow keys on a diagram point move it by the step below.
One x;y pair or one tab-separated x/y pair per line. Use a decimal point or comma, such as -1,5;2,25. Keep the same separator. Blank lines are ignored; no headers, units or files.
Use a whole number or decimal with one point or comma. Up to 15 significant digits and 64 characters. No thousands separators, fractions, expressions, units or exponents.
Point preview · waiting for a valid calculation
Enter at least three complete points in boundary order.
For each ordered ring, the shoelace formula gives area: A = |Σ(xᵢyᵢ₊₁ − yᵢxᵢ₊₁)| / 2. Add outer areas and subtract hole areas. Total boundary length adds every outer and hole edge, including the closing edges.
Keep each hole strictly inside its own outer boundary. Holes of the same component cannot touch, overlap or nest. Separate filled components may meet only at explicit outer vertices; an island may lie inside a hole. Each ring must be simple and enclose non-zero area. Invalid geometry remains editable without sorting or snapping. A repeated final copy of point 1 is shown as closure notation.
No personal result is available. Enter at least three different, non-collinear points in boundary order. The final edge closes to point 1.
Area = |Σ(xᵢyᵢ₊₁ − yᵢxᵢ₊₁)| / 2. Total boundary length is the sum of all straight edge lengths. Crossing, touching, overlapping and zero-length edges require correction.
A rectangle with a notch in its upper-right corner. Both remaining strips must stay positive.
Component 1 · Outer boundary
| Point | x | y | Actions |
|---|
One x;y pair or tab-separated x/y pair per line. Use a decimal point or comma; no headers or units. The whole list is checked before replacing or appending.
Changing an input unit keeps its number: 3 cm becomes 3 m. The common unit applies to every input and the result. Result unit converts only the answers. Angle unit also keeps its number.
Use one decimal point or comma, up to 15 significant digits and 64 characters. No grouping, exponents, fractions or expressions. The calculator keeps the exact value of a converted input until you edit it.
Component 1 · Outer boundary
| Point | x | y | Actions |
|---|
One x;y pair or tab-separated x/y pair per line, with decimal point or comma. The whole list is checked before points are replaced or appended.
The new shape is a source preview until you add it to the list.
Changing an input unit keeps its number. The common unit applies to every input; the result unit converts the geometry and answers.
Start empty. Add fills a source region; Cut removes it. Moving an operation changes the calculation.
No objects yet.
Source preview; numeric inputs give exact placement.
Select a source by click or tap. Drag a selected object or point; Escape cancels. Place points adds a click at each vertex, then Close ring. Pointer coordinates are approximate; the table gives exact local points. Point move buttons follow local x/y axes; object moves follow world x/y axes.
Start with a shape and its dimensions, then Add object.
Results marked ≈ are approximate. See Precision details for the calculation error bounds.
Enter complete dimensions to see a result.
Templates fix the layout and calculate area and exposed boundary length. L/T/U shapes need positive remaining strips. Rectangular and circular holes must stay strictly inside their rectangle. The attached semicircle uses the full top side as its diameter.
Worked example: an 8-by-6 rectangle with a 3-by-4 upper-corner notch has area 48−12 = 36 square units and boundary length 2(8+6) = 28 units.
An area worksheet adds and subtracts separate term areas. It has no relative placement, combined contour, overlap check, total perimeter or topology. A negative total is arithmetic, not geometric area; zero does not prove an empty region.
Editor starts with an empty region. Place shapes, then use Add to fill and Cut to remove areas. The order of operations determines the resulting area and total boundary length.
All input and undo history stay in this page’s memory. Copy and Print are explicit export actions. No projects or input URLs are saved.
No personal result is available. Templates use a fixed layout. Worksheet adds and subtracts separate areas. Editor places shapes and applies Add and Cut in order to find the resulting area and boundary length.
L shape: A = WH − wq; P = 2(W + H). W/H are outer width/height; w/q are upper-right notch width/depth. Require 0 < w < W and 0 < q < H.
T shape: A = Bt + sk; P = 2B + 2t + 2k. B/t are bar width/height; s/k are width/height of the centered stem below the bar. Require 0 < s < B.
U shape: A = WH − wq; P = 2(W + H) + 2q. The centered top-open notch has width w and depth q. Require 0 < w < W and 0 < q < H.
Rectangular cutout: A = WH − wh; P = 2(W + H) + 2(w + h). The w-by-h hole at left/bottom position (x,y) must satisfy x > 0, y > 0, x+w < W and y+h < H.
Circular cutout: A = WH − πr²; P = 2(W + H) + 2πr. The hole center (cx,cy) must satisfy r < cx < W−r and r < cy < H−r.
Attached semicircle: r = W/2; A = WH + πr²/2; P = W + 2H + πr. The semicircle sits externally above the full top side; its diameter is internal and does not contribute to P.
Units: P, C: units · A, LA, SA: units² · V: units³. Use the same unit for all positive lengths. SA: closed surface · LA: side only. π exact · ≈ rounded.
L length · W width · a square side
Four right angles. Square: L = W = a. All lengths > 0.
Area uses square units; perimeter uses length units.
b base · c, e other sides · h perpendicular height
h > 0; its foot may lie on the extended base. Each side < the sum of the other two.
A sloping side is not h. Base and height alone do not determine perimeter.
r radius · d diameter · O center
r > 0. π is exact; use ≈ for rounded answers.
Using d as r makes the area four times too large.
b₁, b₂ parallel bases · c, e legs · h perpendicular height
Bases are parallel; h > 0 is their perpendicular distance.
Use h, not a sloping leg. Perimeter needs all four sides.
L length · W width · h height · a cube side
Closed, six faces. Cube: L = W = h = a. All lengths > 0.
Surface area counts all six faces; it is not material volume.
r base radius · h perpendicular height · LA curved side only
Right circular cylinder; r, h > 0. No wall thickness.
Closed: two bases. Open top: one base. Lateral: no bases.
r base radius · h perpendicular height · s slant height
Right circular cone only; s > r > 0, h > 0.
Volume uses h, not s. Closed area includes the base.
r radius · d diameter · O center
Complete sphere; r > 0. No hemisphere or shell.
Surface area uses square units; volume uses cubic units.
Wrong: d = 10 cm → A = 100π cm²
Use: r = 5 cm → A = 25π ≈ 78.54 cm²; C = 10π ≈ 31.42 cm
Halve the diameter first. Using 10 as the radius makes the area four times too large.
Wrong: Sides 8, 5, 5 cm → A = 8 × 5 ÷ 2 = 20 cm²
Use: h = 3 cm → A = 12 cm²; P = 8 + 5 + 5 = 18 cm
The height splits the 8 cm base into two 4 cm halves. Each half forms a 3–4–5 right triangle.
Wrong: r = 3 cm, h = 4 cm, s = 5 cm → V = 15π cm³
Use: V = π × 3² × 4 ÷ 3 = 12π ≈ 37.70 cm³
Using slant height 5 instead of perpendicular height 4 overstates the volume by 25%.
Wrong: r = 3 cm, h = 5 cm → closed SA = 30π cm²
Use: LA = 30π cm²; closed SA = 48π cm²; open-top area = 39π cm²
The curved side is 30π cm². Add two 9π cm² bases for a closed cylinder, or one for an open top.