Find the area, perimeter and diagonal of a rectangle, with the area and perimeter exact.
Triangle Area Calculator
Find a triangle's area from a base and height or from three sides, checking the triangle inequality first.
- Free
- No sign-up
- Runs in your browser
Input
Use base and height, or leave these blank and give three sides.
Measured at right angles to the base, not along a slanted side.
Give all three sides to use Heron’s formula instead.
A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.
A whole number, a decimal, or a fraction such as 3/4. Arithmetic is exact, so fractions stay exact.
How many digits to show when the answer is irrational. An exact answer ignores this.
Try an example
Ready
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Either give a base and its perpendicular height, or give all three sides.
- 2
With three sides the triangle inequality is checked first: three lengths do not necessarily form a triangle.
Questions about Triangle Area Calculator
What if my three lengths cannot make a triangle?
The tool says so and explains why, rather than returning a number. Heron’s formula applied to 1, 2 and 10 takes the square root of a negative, so an unchecked implementation returns NaN - or worse, takes the absolute value and reports an area for a shape that cannot exist. The rule is that any two sides must together exceed the third.
Why does my answer look too large?
Most often because the height used was a slanted side rather than the perpendicular height. The formula needs the distance at right angles to the base, which is shorter than any slanted side, so using a slant always overstates the area.
When is the area exact?
Always with base and height, since it is just half their product. With three sides it depends: a 3-4-5 triangle gives exactly 6, because the expression under Heron’s square root is a perfect square, while 2-3-4 gives an irrational area shown to a stated precision.
Is my data sent anywhere?
No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.
Does the Triangle Area Calculator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Triangle Area Calculator keeps working with the network switched off and nothing is ever sent to a server.
Related tools
Other tools you might reach for next.
Find the area of a trapezoid exactly from its two parallel sides and height.
Find the interior and exterior angles of a regular polygon as exact fractions, with the angle sum and diagonal count.
Evaluate an expression with exact fraction arithmetic, trigonometry, logarithms and factorials, reporting whether the result is exact.
Reduce a fraction to lowest terms, with its mixed number and exact decimal form including any repeating block.
Add two fractions exactly, showing the common denominator step and reducing the result.
Subtract one fraction from another exactly, showing the common denominator step.
Multiply two fractions exactly, multiplying across and reducing the result.