Oblique Triangle Solver (Law of Cosines)
Solve any triangle — not just right triangles — for its remaining sides, angles, area, and perimeter, given three sides (SSS) or two sides and the included angle (SAS).
- Side a
- 5
- Side b
- 7
- Side c
- 10
- Angle A (opposite side a)
- 27.66°
- Angle B (opposite side b)
- 40.54°
- Angle C (opposite side c)
- 111.8°
- Area
- 16.2481
- Perimeter
- 22
How it works
This site's Right Triangle Calculator covers only triangles with a 90° angle. Most triangles aren't right triangles, so solving them needs the Law of Cosines instead: c² = a² + b² − 2ab·cos(C), where C is the angle between sides a and b.
Given three sides (SSS), the Law of Cosines is rearranged to solve for each angle directly — e.g. angle A = cos⁻¹((b² + c² − a²) ÷ 2bc) — after checking the three sides can actually form a triangle (each side must be shorter than the sum of the other two). Given two sides and their included angle (SAS), the same formula solves for the missing side first, then the remaining angles.
Area is ½·a·b·sin(C), which is equivalent to Heron's formula but only needs the angle between two sides rather than all three side lengths — since C is already known by the time area is calculated in either mode, this is simpler to compute directly. When C happens to be 90°, every result here matches the Right Triangle Calculator exactly, since a right triangle is just a special case of this general one.
FAQ
Why can't I just enter any three numbers as sides?
Three lengths only form a triangle if each one is shorter than the sum of the other two (the triangle inequality) — otherwise the two shorter sides simply can't reach each other to close the shape. This calculator checks that before solving and reports an error if the sides you entered can't form a real triangle.
What's the difference between this and the Right Triangle Calculator?
The Right Triangle Calculator assumes one angle is exactly 90° and uses the simpler Pythagorean theorem, which only applies to that special case. This calculator handles any triangle — acute or obtuse — using the more general Law of Cosines, at the cost of needing three known measurements (three sides, or two sides and the angle between them) instead of two.
Related calculators
- Percentage Calculator
- Quadratic Equation Solver
- GCD & LCM Calculator
- Circle Area & Circumference Calculator
- Right Triangle Calculator (Pythagorean Theorem)
- Ratio Simplifier
- Exponent & Root Calculator
- Distance, Midpoint & Slope Calculator
- Permutations & Combinations Calculator (nPr, nCr)
- Arithmetic & Geometric Sequence Calculator
- Regular Polygon Calculator
- Z-Score & Percentile Calculator
- Cubic Equation Solver
- Prime Factorization Calculator
- System of Linear Equations Solver (2 Equations)
- Half-Life Decay Calculator
- Vector Calculator (Dot Product, Cross Product, Angle)
- Ohm's Law Calculator
- Projectile Motion Calculator
- Matrix Determinant & Inverse Calculator (2x2 / 3x3)
- Ideal Gas Law Calculator (PV = nRT)
- Snell's Law Calculator (Refraction Angle)
- Wire Resistance Calculator
- Clock Angle Calculator
- Pythagorean Means Calculator (AM, GM, HM)
- Number Base Converter (Decimal to Binary, Octal, Hex)
- Dice Probability Calculator
- Pythagorean Triple Generator
- Binomial Probability Calculator
- Torque Calculator
- Law of Sines Triangle Solver
- Modular Exponentiation Calculator
- Simple Pendulum Period Calculator
- Kinetic Energy Calculator
- Complex Number Calculator
- Circular Sector & Arc Length Calculator
- System of 3 Linear Equations Solver
- Reynolds Number Calculator
- Coulomb's Law Calculator
- Speed of Sound in Air Calculator
- Thin Lens Equation Calculator
- Centripetal Force Calculator
- Resistors in Series and Parallel Calculator
- RC Circuit Time Constant Calculator
- Escape Velocity Calculator
- Doppler Effect Calculator
- Birthday Paradox Calculator
- Ellipse Area, Circumference & Eccentricity Calculator
- Hyperbola Calculator
- Hooke's Law Spring Calculator
- Molarity (Molar Concentration) Calculator
- Momentum & Impulse Calculator
- Kepler's Third Law Orbital Period Calculator
- Triangle Area from Coordinates Calculator
- Beer-Lambert Law Absorbance Calculator
- LC Circuit Resonant Frequency Calculator
- Musical Note Frequency Calculator
- Dipole & Monopole Antenna Length Calculator
- Decibel (dB) Converter
- Elo Rating Calculator
- Beam Deflection Calculator
- Stellar Parallax Distance Calculator
- pH & pOH Calculator
- Poker Outs Odds Calculator (Texas Hold'em)
- Flywheel Kinetic Energy Calculator
- Voltage Divider Calculator (with Loading Effect)
- Wind Turbine Power Output Calculator
- Compound Gear Train Calculator
- Column Buckling Calculator (Euler's Critical Load)
- Henderson-Hasselbalch Buffer pH Calculator
- Capacitor Energy Storage Calculator
- CNC Speeds & Feeds Calculator
- Battery Runtime Calculator (Peukert's Law)
- Inductor Energy Storage Calculator
- Engine Compression Ratio Calculator
- Terminal Velocity Calculator
- Brewster's Angle Calculator (Polarizing Angle)
- Wheatstone Bridge Calculator
- Wien's Displacement Law Calculator
- Stefan–Boltzmann Law Calculator
- Young's Modulus (Elastic Modulus) Calculator
- Horizontal Cylindrical Tank Volume Calculator
- Solenoid Inductance Calculator
- Force Between Parallel Wires Calculator
- Pulley Belt Length & Speed Ratio Calculator
- 555 Timer Astable Frequency & Duty Cycle Calculator
- Buoyancy Calculator (Archimedes' Principle)
- Hydrostatic Pressure Calculator
- Tank Drain Time Calculator
- Op-Amp Slew Rate / Full-Power Bandwidth Calculator
- RL Circuit Time Constant Calculator
- Reverberation Time Calculator (Sabine Equation)
- Schwarzschild Radius Calculator
- Helmholtz Resonator Frequency Calculator
- Rayleigh Criterion (Diffraction Limit) Calculator
- Spring-Mass Oscillation Period Calculator
- Venturi Meter Flow Rate Calculator
- Darcy-Weisbach Pipe Friction Loss Calculator
- Critical Angle Calculator (Total Internal Reflection)
- Transformer Turns Ratio Calculator
- Area Moment of Inertia Calculator (Second Moment of Area)
- Numerical Aperture Calculator (Optical Fiber)
- Diffraction Grating Calculator
- Confidence Interval Calculator
- Arrhenius Equation Calculator
- Hagen-Poiseuille Flow Rate Calculator
- Shaft Torsion Calculator (Angle of Twist & Shear Stress)
- Series RLC Circuit Resonance Calculator
- Parallel RLC Circuit Resonance Calculator
- Projectile Motion on an Incline Calculator
- Parallel-Plate Capacitor Calculator
- Rocket Equation Calculator (Tsiolkovsky Delta-v)
- Photoelectric Effect Calculator
- Op-Amp Gain Calculator (Inverting & Non-Inverting)
- Stokes' Law Settling Velocity Calculator
- Bolt Preload Calculator (Torque to Clamp Force)
- Gravitational Force Calculator (Newton's Law of Gravitation)
- Banking Angle Calculator (Curve Superelevation)
- Springs in Series and Parallel Calculator
- Freezing Point Depression / Boiling Point Elevation Calculator
- Redshift to Velocity Calculator
- Lensmaker's Equation Calculator
- Combined Gas Law Calculator
- Angular Momentum Conservation Calculator
- LED Series Resistor Calculator
- Sample Size Calculator (Margin of Error)
- Lorentz Force Calculator (Magnetic Force on a Moving Charge)
- Drag Force Calculator (Aerodynamic / Fluid Drag)
- Exposure Value (EV) & Equivalent Exposure Calculator
- Hydraulic Press Calculator (Pascal's Law)
- Clausius-Clapeyron Equation Calculator
- Modular Inverse Calculator
- Specific Heat (Q = mcΔT) Calculator
- Bayes' Theorem Calculator (Diagnostic Test Accuracy)
- Euler's Totient Function Calculator
- Graham's Law of Effusion Calculator
- Wye-Delta (Y-Δ) Transformation Calculator