Triangle Calculator
Enough to solve the triangle you actually have: two angles and a side, then everything else follows.
Two angles and a side
The angles of a triangle add to 180°, so two angles give the third. The law of sines then gives the other two sides: a ÷ sin A = b ÷ sin B = c ÷ sin C.
That is the case that comes up in practice — a surveyor measures two angles and one distance, and everything else follows. The area comes from half the product of two sides and the sine of the included angle.
When it refuses
If the two angles already add to 180° or more there is no triangle, and the page says so instead of returning a negative angle. Everything else is computed in degrees.
What this page does not do
Two angles and a side is the only case handled: three sides or two sides and an included angle need the law of cosines, which is a different page's job. The refusal is explicit rather than a wrong answer.
Good to know
Angles are entered in degrees, and the page does not accept radians. Mixing the two is the classic source of a triangle that closes on screen and not on paper.
How Triangle Calculator works
Two angles and one side give the third angle and both remaining sides, with the area, using the law of sines. The method behind Triangle Calculator is law of sines and cosines, and this page shows the result with its assumptions in the open.
- Enter your numbers; Triangle Calculator applies law of sines and cosines.
- The Triangle Calculator working stays visible, so the result can be checked by hand.
- Nothing is submitted by Triangle Calculator — the calculation is a function call on this page.
A worked example for Triangle Calculator
Sides 3 and 4 with a 90° angle between: the third side is √(9+16) = 5, area = 6. That example is computed with the same implementation Triangle Calculator uses for your input.
Verify one result by hand with the steps shown — if the printed intermediate values match your own working, the page and your method agree. That check applies directly to Triangle Calculator with triangle calculator.
When to use Triangle Calculator — and when not to
Reasonable uses: Checking homework; Sanity-checking a spreadsheet result; Converting number bases while coding. Triangle Calculator is deliberately narrow: it does one job and states its assumptions instead of hiding them.
A scientific calculator does one operation at a time; a spreadsheet needs a formula per case. The page is worth it when the same calculation repeats. The honest ceiling for Triangle Calculator: the formula is law of sines and cosines; other conventions exist and the page names the one it applied.
- Best case for Triangle Calculator: Checking homework
- Also fine with Triangle Calculator: Sanity-checking a spreadsheet result
- Not what Triangle Calculator is for: the formula is law of sines and cosines; other conventions exist and the page names the one it applied.
Reading the Triangle Calculator result
JavaScript doubles carry about 15–17 significant digits; Triangle Calculator prints a sensible number of them and names undefined cases instead of faking a value.
Accuracy and limits of Triangle Calculator
The method is law of sines and cosines. Triangle Calculator prints results at the precision its inputs justify, and the limits below are the honest ones:
- Triangle Calculator: The formula is law of sines and cosines; other conventions exist and the page names the one it applied.
- Inputs are treated as exact numbers, and real-world measurements carry noise — Triangle Calculator states this on every result.
- No account and no upload — Triangle Calculator runs offline once loaded.
Privacy and speed on the Triangle Calculator page
The Triangle Calculator page is a static file plus wave52.js; there is no upload endpoint behind it, so your input cannot be stored or logged. Closing the tab discards the work.
Speed follows the build: Triangle Calculator loads one stylesheet and one script, with no framework, no web font and no tracker. That is why the tool responds as you type instead of waiting on a round trip.
What you get from Triangle Calculator
The output of Triangle Calculator appears on this page and can be copied or downloaded in the format the page offers. Nothing is queued, nothing is emailed, and there is no usage counter — the math work finishes the moment the numbers are in.
Because Triangle Calculator is built from wave52.js rather than a server call, the practical ceiling is your device: memory for large inputs, and CPU for anything that loops over pixels or pages. On a normal laptop that ceiling sits far above everyday use; on an old phone it arrives sooner, and the page tells you when a job is too big instead of failing silently.
Questions
What does Triangle Calculator do?
Two angles and one side give the third angle and both remaining sides, with the area, using the law of sines. Everything runs in your browser; nothing is uploaded.
How accurate is Triangle Calculator?
The method is law of sines and cosines. The formula is law of sines and cosines; other conventions exist and the page names the one it applied.
What are the limits of Triangle Calculator?
Inputs are treated as exact numbers, and real-world measurements carry noise — Triangle Calculator states this on every result.
Is anything uploaded when I use Triangle Calculator?
No. Triangle Calculator runs entirely in the browser tab; nothing is uploaded, stored or logged.
Can I use Triangle Calculator offline?
Yes — Triangle Calculator keeps working offline once the page has loaded; the whole tool is a local script.
Keep going
More math tools
Square Root Calculator
Square root and cube root of any number, with the negative root and the square, to six decimals.
Open toolFactor Calculator
Every divisor of a number plus its prime factorisation, found in a fraction of a second even for large numbers.
Open toolCircle Calculator
Give the radius, diameter or circumference and get the other three plus the area, with the formula shown.
Open toolLog Calculator
Logarithm of a number in any base, plus base 10, e and 2 at the same time, to six decimals.
Open toolPrime Factorization
Prime factorisation of any number, written as a product of powers, with the division steps listed.
Open toolFraction to Decimal
Turn a fraction into a decimal and say whether it terminates or repeats, with the simplified fraction too.
Open tool