Solve any triangle from any valid combination of sides and angles. Select how you know your triangle, enter the values you have, and the calculator finds all missing sides, angles, area, and perimeter using the law of cosines and law of sines.
Side a is opposite angle A, side b opposite B, side c opposite C.
The given information also describes a second valid triangle:
A triangle has six measurements: three sides (a, b, c) and three angles (A, B, C). You need to know at least three of these (with at least one being a side) to determine the triangle. The two main tools for solving triangles are the law of cosines and the law of sines.
The law of cosines relates all three sides to one of the angles:
c² = a² + b² − 2ab·cos(C)
This is used in two cases:
The law of sines relates sides to their opposite angles:
a / sin(A) = b / sin(B) = c / sin(C)
This is used in the ASA, AAS, and SSA cases. For ASA and AAS, the third angle is found first (angles sum to 180°), then the remaining sides are found by proportion. SSA requires care because it may produce two solutions.
Given side a = 5, angle C = 60°, side b = 7 (SAS case):
These are the values shown in the results when the calculator loads with its default inputs.
| Case | Known Values | Method | Unique Solution? |
|---|---|---|---|
| SSS | All three sides | Law of cosines for each angle | Yes (if valid triangle) |
| SAS | Two sides, included angle | Law of cosines, then law of sines | Yes |
| ASA | Two angles, included side | Third angle = 180 − sum; law of sines | Yes |
| AAS | Two angles, non-included side | Third angle = 180 − sum; law of sines | Yes |
| SSA | Two sides, non-included angle | Law of sines; check ambiguous case | 0, 1, or 2 solutions |
Once all angles are known, a triangle can be classified:
Method: Law of cosines (c² = a² + b² − 2ab·cos(C)) and law of sines (a/sin(A) = b/sin(B) = c/sin(C)). Area by the formula ½ab·sin(C). SSA ambiguous case checked by comparing the given side against the perpendicular height. Standard Euclidean geometry; angles must sum to 180°.
This calculator works in Euclidean (flat) geometry. Results are to four significant figures. For very small or very large values, verify the result independently. Angle inputs must be in degrees and must sum to less than 180° for any two angles entered.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-02 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.