Perimeter Calculator
Measure the complete boundary, with exact working.
Methods
Twelve boundary calculations
Exact components
Straight, pi and radical lengths
Conversions
Seventeen length units
Perimeter inputs
Choose a shape and preserve its dimensions.
Each shape retains its own dimensions when you switch.
Dimensions and display options
Nonnegative decimal, scientific e notation or integer fraction.
Nonnegative decimal, scientific e notation or integer fraction.
Changing this selector reinterprets the entered numbers. It does not rescale the source fields.
Perimeter uses length units: the conversion factor is applied once, without squaring it.
Exact fractions, symbolic pi and radicals do not change. Very large or tiny values use at least six significant scientific digits.
Use adjacent side lengths for parallelograms, perpendicular legs for right triangles and the stated isosceles assumption for trapezoids. Polygon lists accept three through fifty sides; regular polygons accept three through one thousand sides. Length sources support sixty significant decimal digits or sixty digits per integer fraction, one hundred eighty characters and scientific exponents from negative one hundred through positive one hundred. Exact numerators and denominators have an eighteen-hundred-digit limit. Pi and root decimal views use certified six-hundred-place intervals, checked against the selected rounding. Complete large-radical square-free reduction is not promised. Screen geometry is approximate.
Exact complete perimeter
Rounded perimeter view
The selected formula determines perimeter exactly as straight, pi and nonnegative radical contributions. The decimal view is separate. Unit conversion returns to the exact original perimeter representation with zero residual.
Changing the input unit reinterprets source numbers. The output selector converts boundary length using exact international and stated typographic unit definitions.
Shape and complete boundary
The outline is drawn from the entered dimensions with equal horizontal and vertical units.
The outlined boundary represents perimeter. Numerical screen geometry is approximate; the exact source lengths and formula determine the result.
Perimeter calculation step by step
Identify the complete boundary
Read every source as a side, radius, diameter or count as labeled. Radius is half the matching diameter; a slanted side is not a perpendicular height.
Choose the closed-boundary formula
A perimeter counts the entire closed boundary. Semicircles include the diameter; stadiums include both straight sections and both rounded ends. The trapezoid method assumes equal legs.
Evaluate the exact components
Finite decimals and fractions remain rational. Pi stays symbolic, and any right-triangle or trapezoid root is retained exactly. Decimal presentation is checked separately with certified rational bounds.
Convert length units and verify
Multiply once by the input-to-output length factor. Dividing every exact component by that factor recovers its original value with zero residual; never square the factor for a perimeter.
Inputs saved with this calculation
- Shape
- Rectangle
- Circular measurement
- radius
- Active dimensions
- Rectangle length: 12; Rectangle width: 8
- Common input length unit
- Centimeters
- Output perimeter unit
- Centimeters
- Rounded decimal places
- 6
- Show diagram
- true
- Show conversions
- true
All result details
Inspect source dimensions, straight boundary contribution, pi coefficient, squared radical contribution, length conversion multiplier, exact output and zero component residual. The components keep curved and slanted boundary calculations reproducible.
| Quantity | Exact value | Rounded decimal | Interpretation |
|---|---|---|---|
| Rectangle length | An active exact source length. | ||
| Rectangle width | An active exact source length. | ||
| Straight boundary contribution | Exact sum of straight boundary components before conversion. | ||
| Pi coefficient | Multiply this exact length coefficient by pi for the curved contribution. | ||
| Radical contribution squared | The nonnegative square root gives the additional boundary contribution. | ||
| Length conversion multiplier | One input unit expressed in the selected output unit. This is a length factor, not an area factor. | ||
| Exact output perimeter | Exact straight, pi and nonnegative radical contributions with a separate rounded view. | ||
| Exact conversion verification | Each exact component converts back to its original value; the component residual is zero. |
Perimeter in all supported units
Seventeen physical length conversions use exact ratios. Customary units use international definitions, and typographic units follow the stated inch definitions. Hidden rows remain in CSV.
| Unit | Exact perimeter | Rounded perimeter |
|---|---|---|
| Nanometers | ||
| Micrometers | ||
| Millimeters | ||
| Centimeters | ||
| Decimeters | ||
| Meters | ||
| Decameters | ||
| Hectometers | ||
| Kilometers | ||
| Mils (one thousandth inch) | ||
| Inches | ||
| International feet | ||
| International yards | ||
| International miles | ||
| International nautical miles | ||
| Typographic points (one seventy-second inch) | ||
| Typographic picas (one sixth inch) |
Methods
Twelve boundary calculations
Exact components
Straight, pi and radical lengths
Conversions
Seventeen length units
Measure the entire edge of a defined shape
Choose the boundary you actually mean
Select one method and enter only the defining measurements for that outline. A circle has a fully curved boundary; a semicircle also has a straight diameter. A stadium has two straight sections as well as rounded ends. The selected formula, clear labels and native diagram help you count every required piece once. Shape switching preserves independent inputs so comparing methods does not erase a carefully entered fraction.
Keep slanted and curved contributions exact
Straight edges, pi coefficients and nonnegative square roots remain distinct exact contributions. A right-triangle hypotenuse or equal trapezoid leg does not become a prematurely rounded decimal before it is added to other edges. The separate rounded view is useful for estimation, while the symbolic expression preserves the defined problem. Inspect the component table and calculation steps before deciding which displayed precision is appropriate for your measurement.
Compare length units without changing the sources
Use one common input length unit and choose a different output unit when needed. Seventeen physical definitions cover metric, international customary and stated typographic units. Exact rational conversion multiplies the complete boundary length once. Unitless inputs stay unitless. The conversion table and complete CSV record let you compare useful scales while retaining the original measurements and avoiding an accidental area-style squared conversion.
Perimeter formulas and step-by-step examples
Add the edges and preserve the length unit
The default rectangle has length and width . Both appear twice on its closed boundary, giving . Fractional sides and instead give an exact perimeter of in the input length unit. Multiplying the two sides would answer a different question about coverage.
Derive a missing right-triangle hypotenuse
For perpendicular legs , the hypotenuse is . Add it to both known legs without rounding it first. Legs and instead produce the rational hypotenuse and perimeter . The formula assumes a right angle; two arbitrary adjacent triangle sides are not enough to determine its third side.
Distinguish a circle from a closed semicircle
Radius gives circle circumference . A closed semicircle of that radius has perimeter , because its straight diameter must also be counted. Its curved arc alone is . Selecting diameter describes the same circular size; the tool halves that source exactly before using a radius-based formula.
Use the stated isosceles trapezoid assumption
Centered bases and have horizontal offsets at each equal leg. A perpendicular height therefore gives two legs of length , making the perimeter . Without the equal-leg assumption, the same bases and height can permit different slanted edges and different perimeters.
Apply a length conversion once
The default boundary of becomes . Its source dimensions do not change. A regular hexagon with side has perimeter , while a stadium with straight sections and radius has perimeter . Each expression represents length and uses a single conversion factor.
Why a complete boundary record is useful
The formula carries its assumptions
- A right triangle uses perpendicular legs; a parallelogram uses adjacent edge lengths rather than perpendicular height.
- A regular polygon requires equal sides, while an arbitrary side list must include every edge and pass the closure inequality.
- The isosceles-trapezoid method states its equal-leg assumption instead of claiming that bases and height fix a general trapezoid.
- Collapsed boundaries explain repeated coincident edges, and omitted diagrams never replace an exact answer with invented geometry.
The answer can be checked and reused
- Exact rational input strings survive addition, root construction and physical length conversion.
- Symbolic pi and radical terms remain distinct from certified, separately rounded numerical views.
- The output-to-input component check must have zero residual, giving an inspectable record of the length multiplier.
- Sharing excludes inactive fields, while copying, complete CSV and printing preserve the active source record and interpretation.
Boundary reasoning for learning and measured plans
Students connecting a diagram to its formula
Trace the whole boundary before calculating. A semicircle is a useful example because its arc alone is shorter than its closed perimeter. Compare a rectangle with a parallelogram whose adjacent side lengths are the same; their perimeter agrees even though the displayed angles and areas differ. Exact fractional and radical examples show how rounding an intermediate edge can change a final numerical result.
Teachers preparing reproducible geometry examples
Retain the source measurements, selected method and ordered LaTeX working in a shared or printed calculation. Use the full component table to distinguish straight lengths, circular coefficients and squared quantities under a root. The native diagram uses equal horizontal and vertical units, identifies representative angles and treats collapsed cases openly. A side list can demonstrate why knowing edge lengths alone does not determine a unique polygon.
People estimating idealized edge distance
Use a justified geometric outline to estimate the distance around a border, frame, track or flat plan. Enter compatible measurements in one common unit, then convert the result into a useful length scale. Check the physical dimensions and the boundaries you intend to include. Openings, multiple separate loops, joints, overlaps, installation waste and purchasing increments require additional planning rather than being silently included in a geometric perimeter.
How it works in three quick steps.
Choose the outline and identify its measurements
Select the shape whose complete boundary you want to measure. Enter nonnegative decimals, scientific sources or integer fractions in one common length unit. Read the dimension labels carefully: a right triangle uses perpendicular legs, a parallelogram uses adjacent side lengths, and the trapezoid method specifically assumes equal legs. A polygon side list needs every boundary edge, not merely the longest and shortest measurements.
Follow the formula and exact boundary components
Inspect the selected perimeter formula, active source record and ordered working. Straight edges are added exactly. Curved pieces retain a symbolic coefficient of pi, while right-triangle and isosceles-trapezoid methods can require a nonnegative square root. The decimal is a separately checked view. Triangle and polygon closure inequalities reject impossible dimensions before a usable boundary length is presented.
Convert the length and preserve the interpretation
Choose an output length unit and inspect the exact multiplier and zero component residual. A perimeter is a length, so the scale factor is applied once. Use the diagram caption to understand representative angles or collapsed boundaries. Copy the working, share the active sources, download every conversion as CSV or print the result to a PDF. Keep the measurement assumptions with the answer.
Keep the boundary definition with its result
Download a complete calculation as CSV
The CSV retains the active dimensions, selected shape, circular input convention, exact straight and curved components, conversion multiplier, final symbolic expression and zero component residual. It also includes all seventeen physical output conversions when their on-screen table is hidden. Exact large digits remain available in the file. Keep the method and unit labels with the exported values so a length is not later reused as an area or an incomplete arc.
Print the result or save a readable PDF
The print layout removes editing controls and retains the selected result, available boundary diagram, ordered mathematical steps, active source record and complete tables. Use the browser's Save as PDF destination and choose a practical paper orientation. Continuing tables repeat their headings and keep row contents together. Very long numerical expressions use a clear notice directing you to the complete CSV rather than silently clipping exact digits.
Share the active geometry problem
The shared fragment preserves the selected method, active dimensions, radius or diameter convention, input and output units, rounded precision and visibility choices. Hidden shape sources and inactive circular fields are excluded, while malformed, duplicate and unknown imported fields are rejected. Local editor switching still preserves earlier inputs. Plain copying provides readable mathematics outside the visual renderer, along with the same component interpretation and boundary limitations.
Frequently Asked Questions
Which perimeter methods can I use?
How does perimeter differ from area?
Does a semicircle perimeter include the diameter?
Which dimensions define the stadium shape?
Why does the trapezoid option say isosceles?
Are impossible triangles and polygon side lists checked?
Can I enter fractions, scientific notation or zero?
Are pi and square-root results exact?
Why do some shapes have no diagram or a representative angle?
Can I save the result for fencing, trim or classroom work?
About this exact closed-boundary perimeter calculator
This perimeter calculator organizes boundary length around the measurements and assumptions that define a geometric outline. Its twelve methods include familiar polygons, right triangles, complete circular boundaries and shapes that combine straight and curved pieces. The semicircle method counts its diameter as well as its arc, and the stadium method distinguishes each straight section from overall end-to-end length. The isosceles-trapezoid method states the equal-leg assumption needed to derive its slanted edges from bases and height. An arbitrary polygon side list provides a checked sum without claiming that those lengths determine a unique drawing.
The calculation preserves numerical source strings rather than converting every dimension immediately to binary floating point. Rational straight contributions, symbolic pi coefficients and verified nonnegative radicals remain available in the exact answer. Certified rational intervals separately check the rounded numerical view, and exact physical ratios convert the full expression into another length unit. A component residual verifies the return to the original input-unit representation. These checks support a reproducible mathematical result, while the quality of a real measurement still depends on how its dimensions were obtained and interpreted.
Diagrams explain which boundary pieces are counted. They use equal display scales, identify a representative angle when adjacent side lengths leave one undetermined, and omit a misleading outline when dimensions are too thin or insufficient for a unique construction. A collapsed formula may count coincident edges as a limiting closed traversal, which differs from the length of the visible line's geometric union. Sharing, copying, complete CSV and native printing retain these distinctions with the active sources. Practical material ordering, irregular geography, multiple boundary loops and installation allowances require additional modeling beyond the single idealized shape selected here.
Who maintains this page
Ownership and review
Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.
Methodology
Equations are checked by substituting worked examples into the stated relationship and comparing the result with the interactive implementation.
Read the editorial methodologyDates and sources
Review dates change only after a substantive method or content check.
Keep building