Geometry Calculator

Calculate area, perimeter, circumference, surface area, and volume for circles, rectangles, triangles, spheres, and cylinders. Free geometry tool.

Geometry Calculator

From floor plans to chemistry lab glassware, geometry formulas appear everywhere measurements meet shapes. This calculator computes area, perimeter, circumference, surface area, and volume for five common figures — circle, rectangle, triangle, sphere, and cylinder — from the dimensions you enter, with results formatted for quick homework checks or job-site estimates.

How to Use This Calculator

Select a shape from the dropdown. Input fields update automatically: radius for circles and spheres; length and width for rectangles; base and height for triangles; radius and height for cylinders.

Enter positive numbers in consistent units — if radius is in centimeters, all outputs are in cm² or cm³ as appropriate. The tool does not convert units; mixing inches with feet without converting first will produce meaningless numbers.

Click Calculate to see every applicable measure for that shape. Circles show area and circumference; rectangles show area and perimeter; triangles show area (using ½ × base × height); spheres show surface area and volume; cylinders show both surface area (including top and bottom caps) and volume.

Hit Reset to clear values and try another figure. Switch shapes anytime — fields redraw for the new selection without reloading the page.

What Is a Geometry Calculator?

A geometry calculator automates classic Euclidean formulas so you do not have to memorize every variant before solving a practical problem. Instead of flipping through a textbook table, you pick the shape, type the measurements, and read area or volume instantly — reducing arithmetic slips on π, fractions, and squared terms.

Plane figures (circle, rectangle, triangle) live in two dimensions: area measures enclosed region, perimeter or circumference measures boundary length. Solid figures (sphere, cylinder) add a third dimension: volume fills space, surface area skins the exterior — critical for paint, wrapping paper, or heat transfer estimates.

This tool focuses on standard textbook definitions: triangles use perpendicular height to the base, cylinders are right circular (axis perpendicular to bases), and spheres are perfect balls. Irregular polygons, oblique cylinders, and ellipses are out of scope — use specialized software for those.

Results display to several decimal places internally but round for readability. For π-dependent values, the calculator uses full floating-point precision, closer than hand-using 3.14 alone.

When to Use This Calculator

Students verify homework answers and explore how doubling radius affects circle area (it quadruples). Teachers demo live during lessons without chalk arithmetic delays. Homeowners estimate lawn fertilizer coverage (rectangle areas) or pool volume (cylinder sections simplified).

DIY builders calculate concrete for cylindrical footings or paint for rectangular walls — always add waste factor outside the calculator. Packaging designers rough-check box volumes; chefs scaling recipes sometimes use cylinder volume for round cake pans versus rectangular trays.

Science fair projects measuring cell models or planet comparisons use sphere volume formulas. Anytime a word problem names a standard shape and gives dimensions, this tool closes the loop from formula to number.

When problems require proofs, angle chasing, or coordinate geometry, switch to our proof or graphing tools. This calculator is numeric measurement, not deductive reasoning — but it frees time for reasoning by handling computation.

Understanding Your Results

Circle: Area = πr². Circumference = 2πr. Doubling r multiplies area by 4 and circumference by 2 — a common exam trap worth testing in the inputs.

Rectangle: Area = length × width. Perimeter = 2(length + width). Squares are rectangles with equal sides — enter the same value twice.

Triangle: Area = ½ × base × height. Height must be perpendicular to the chosen base; slant side length is not height unless the triangle is right and you know which leg is which.

Sphere: Volume = (4/3)πr³. Surface area = 4πr². Notice surface area scales like r² while volume scales like r³ — why large spheres enclose disproportionately more volume per surface unit.

Cylinder: Volume = πr²h. Total surface area = 2πr² + 2πrh (both circular caps plus lateral rectangle rolled from circumference × height). Open pipes omit one cap — this tool includes both caps unless you mentally subtract one πr².

Real-World Applications

Architects and civil engineers compute floor areas and material quantities from rectangular footprints before CAD detail. Landscapers estimate sod rolls and mulch volume for cylindrical planters. Manufacturers size cylindrical tanks and spherical pressure vessels using the same formulas with safety margins added downstream.

In sports, track and field uses semicircular arcs combined with straightaways — circles appear in lane distance calculations. Astronomy educators compare planetary volumes via sphere formulas. Medical imaging references ellipsoids, but spherical approximations start intuition about organ or tumor size.

Retailers calculate shelf space (rectangles) and display globe volumes for shipping. Education standards worldwide include these five shapes in middle and high school curricula — mastery here supports physics (cross-sections), calculus ( solids of revolution ), and art ( perspective grids ).

Accurate inputs drive accurate outputs. Measure twice, enter once, and treat calculator results as one step in a workflow that includes units, waste factors, and code requirements on real projects.

Formula

Circle: A=πr², C=2πr  |  Rectangle: A=lw, P=2(l+w)  |  Triangle: A=½bh  |  Sphere: V=4/3 πr³, SA=4πr²  |  Cylinder: V=πr²h, SA=2πr²+2πrh

Variables Explained

  • r: Radius — distance from center to edge or curved surface.
  • l, w: Length and width of a rectangle.
  • b, h: Triangle base and perpendicular height to that base.
  • h (cylinder): Vertical distance between circular bases.
  • π: Pi ≈ 3.14159 — ratio of circumference to diameter.

Worked Example

Problem: A cylindrical water tank has radius 2 m and height 10 m. Find volume and surface area.

Inputs: Shape = Cylinder, r = 2, h = 10.

Volume: V = πr²h = π × 4 × 10 = 40π ≈ 125.66 m³.

Surface area: SA = 2πr² + 2πrh = 2π(4) + 2π(2)(10) = 8π + 40π = 48π ≈ 150.80 m².

Select Cylinder, enter 2 and 10, click Calculate to confirm both values in the results panel.

Common Mistakes

  • Using diameter as radius. Halve the diameter before entry unless the field explicitly says radius.
  • Triangle height not perpendicular to base. Slant height from an oblique triangle will overstate area.
  • Unit mixing. Radius in inches and height in feet without conversion produces nonsense cubic units.
  • Forgetting cylinder caps. Lateral area only is 2πrh; total surface includes both ends.
  • Confusing area and volume units. Area is square units; volume is cubic — track exponents when writing answers.

Helpful Tips

  • Write units in your notebook next to each input so results inherit correct square or cube labels.
  • For composite shapes, break into rectangles and semicircles, calculate separately, then add areas.
  • Test sensitivity: increase radius by 10% and observe volume change — builds intuition for scaling laws.
  • Use exact π multiples in math class (40π) and decimals for construction estimates.
  • Pair with our scientific calculator for manual formula practice when studying for exams.
  • When a problem gives diameter instead of radius, divide by two before entering the field — a quick sketch of the labeled figure prevents the most common entry error on circle and sphere questions.

Frequently Asked Questions

Does the triangle option need a right angle?+

No. Any triangle with known base and perpendicular height works with A = ½bh.

Is the cylinder a solid or a tube?+

Solid right circular cylinder including both flat circular ends in surface area.

Can I enter decimals?+

Yes. Any positive numeric value with decimal places is accepted.

Which value of pi is used?+

JavaScript Math.PI — full double-precision accuracy.

Why is my rectangle perimeter different from area numerically?+

They measure different things — perimeter is length around the edge in linear units; area is enclosed region in square units. Numbers coincide only by coincidence.

Do you support cones or pyramids?+

Not in this tool. Current shapes are circle, rectangle, triangle, sphere, and cylinder.

Computational aid for standard geometric formulas. Verify critical construction and engineering measurements independently.