Best Calculator For Geometry

What are the exact measurements of your shape, right now?

Pick a shape, enter your dimensions, and get every geometric measurement you need in one place. Area, perimeter, volume, diagonals, and surface area calculated instantly without switching between tools.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Most geometry errors happen before any formula is involved. Someone measures a room in feet and a doorframe in inches, enters both, and wonders why the flooring order is wrong. The formula is fine — the inputs were not. Every calculation here assumes all dimensions share the same unit, which is the most common real-world failure point.

For 2D shapes, area tells you how much surface you are covering. Perimeter tells you the boundary length. These two numbers answer almost every practical geometry question: tiling, painting, fencing, framing. The diagonal or hypotenuse is a bonus check — if your rectangle's diagonal matches your tape measure across the room, you have a true square corner.

For 3D shapes — cylinders and spheres here — the picture changes. Surface area governs coatings, wrapping, and material cost. Volume governs capacity. A cylindrical tank with twice the radius but the same height holds four times the volume, not twice — the squared relationship catches people off guard every time.

When To Use This
Right tool, right situation

Use this when you need an exact measurement from known dimensions — flooring estimates, material cuts, container capacity, fence length, or a geometry homework problem. The tool is appropriate whenever your starting point is dimensions you have already measured or been given.

This tool is not the right choice when you need to work backward from area to find a dimension — for example, if you know a room is 120 sq ft and need the missing side length. That is an algebra problem, and the formula here runs only forward.

Also avoid using this for irregular shapes — a room with an L-shape, a plot of land with curved borders, or any shape that is not in the dropdown. For those, split the shape into component rectangles and triangles and add the results. The individual calculations here are exact; the composition step is your responsibility.

Common Mistakes
Why results sometimes look wrong

The most common mistake is confusing radius and diameter when calculating a circle. If you measure across a pipe and enter that full measurement as the radius, your area comes out four times too large. Radius is half the diameter — measure to the center, not across. This single error accounts for a large share of circular area miscalculations.

With triangles, people often assume three positive numbers always form a valid triangle. They do not. The triangle inequality requires that any two sides sum to more than the third. A triangle with sides 2, 3, and 10 is impossible — the two short sides cannot span the long one. The calculator flags this, but entering physically impossible dimensions is a more common habit than it sounds.

For 3D shapes, the mistake is applying 2D results to 3D problems. Painting a cylinder requires surface area, not the area of just the circular base. People often multiply base area by height and wonder why they ran short on paint — that gives volume, not the surface you are covering. The calculator surfaces both numbers side by side to make this distinction explicit.

The Math
Worked examples and deeper derivation

Area for rectangles and squares is base times height. For circles it is pi times radius squared — note that doubling the radius quadruples the area. For triangles, the formula depends on what you know. With base and height: area equals one half times base times height. With all three sides, Heron's formula takes over: compute the semi-perimeter s as (a + b + c) divided by 2, then area equals the square root of s times (s minus a) times (s minus b) times (s minus c).

Perimeter for most shapes is simply the sum of all sides. For circles the equivalent is circumference: 2 times pi times radius. For a cylinder, this calculator computes total surface area as (2 times pi times radius times height) plus (2 times pi times radius squared) — the lateral surface plus both circular caps.

The Pythagorean theorem — a squared plus b squared equals c squared — gives you the hypotenuse of a right triangle and the diagonal of any rectangle. For a rectangle with sides a and b, the diagonal is the square root of (a squared plus b squared). This is worth knowing independently because it is the fastest sanity check for whether a corner is truly square on a construction site.

Laying flooring in a rectangular room
Shape: Rectangle, Width: 14 ft, Height: 11 ft
Area comes out to 154 ft squared. That is the number you bring to the flooring store. Add 10-15% for waste and cuts, so you would order around 170-177 sq ft of material. The perimeter result (50 ft) tells you how much baseboard trim to buy.
Finding the hypotenuse of a ramp for ADA compliance
Shape: Right Triangle, Base: 60 in, Height: 5 in
The hypotenuse works out to roughly 60.2 inches — the actual length of ramp material you need to cut. The area result (150 sq in) is less useful here, but the hypotenuse is the number a contractor needs before ordering a steel ramp section.
Estimating paint needed for a cylindrical water tank
Shape: Cylinder, Radius: 2 m, Height: 3 m
Surface area comes to approximately 62.83 m squared. At roughly 10 m squared per liter for standard epoxy tank paint, you need just over 6 liters for a single coat. The volume result (37.7 m cubed) confirms whether the tank capacity matches its intended use.
Expert Unlock
The thing most explanations skip

Heron's formula for triangle area is numerically unstable when one side is very small compared to the others — what looks like a flat sliver. The computation of (s minus c) approaches zero, and floating-point rounding in the square root can introduce visible error. If your triangle is nearly degenerate (one angle close to 180 degrees), treat it as a right triangle with the same base and height instead. The base-height formula does not share this instability.

Why is my area result different from what I expected?

How do I calculate the area of a triangle with three sides?
Use the triangle option and enter all three side lengths. The calculator applies Heron's formula, which derives area purely from side lengths without needing the height. The result is exact as long as all three sides can form a valid triangle — if they cannot, the tool will tell you.
What is the difference between surface area and volume for a cylinder or sphere?
Surface area is the total area of all outer faces — it determines how much material you need to coat or wrap an object. Volume is the space inside it, relevant for capacity. This calculator returns both: surface area as the hero result and volume as a secondary figure for 3D shapes.
Can I use this geometry calculator for different units like feet and meters?
Yes, but all dimensions must be in the same unit. The unit selector labels your results (ft squared, m squared) but does not convert between units. If your dimensions are in different units, convert them to one unit first before entering them.

Need something this doesn't cover?

Suggest a tool — we'll build it →