“Find the value of x” is one of the most common phrasings in geometry homework — but x can represent very different things depending on the figure. An angle, a side length, a coordinate, a ratio. The good news: there are only about seven recurring methods for finding x in school-level geometry. Learn the pattern, recognize which one applies, plug in, solve.
Before doing any algebra, ask yourself: is x labeled on an angle, a side, or a coordinate? The label position usually makes it obvious — angles get the ° symbol or the ∠ mark, sides get a length unit.
The interior angles of any triangle add to 180°. If two angles are known, the third one is just 180° minus the sum of the other two.
Example: A triangle has angles 50°, 65°, and x.
Need automation? Our Triangle Solver applies this rule (and SSS/SAS/ASA/Law of Cosines/Law of Sines) automatically.
For any n-sided polygon, interior angles sum to (n − 2) × 180°. For a regular polygon, each interior angle is the sum divided by n.
Example: Find x if a pentagon has angles 100°, 110°, 105°, 120°, x.
See our Polygon Angle Formulas page for the full derivation and our Polygon Angle Calculator.
Two lines that cross create vertical angles (opposite) that are equal, and linear pairs (adjacent) that sum to 180°.
Example: Two intersecting lines make four angles. One angle = 110°. Find x, the angle opposite (vertical).
If x were adjacent instead: x + 110° = 180° → x = 70°.
A transversal across two parallel lines creates 8 angles, which fall into 4 equivalence classes:
Example: Two parallel lines cut by a transversal. One angle = (3x + 10)°, its alternate interior angle = 70°.
In a right triangle, a² + b² = c² where c is the hypotenuse. Plug in the two known sides and solve for x.
Example: Right triangle with legs 6 and 8, hypotenuse x.
If x is a leg instead: c² − a² = b², take the square root. See 10 Pythagorean theorem examples.
Similar triangles have proportional sides. If you have AB/DE = BC/EF, cross-multiply to solve.
Example: Two similar triangles. Side AB = 4, AC = 6. The corresponding sides on the other triangle are DE = x, DF = 9.
For full similarity vs congruence, see our guide.
If you know the area or perimeter of a shape and most of its dimensions, write the formula and solve.
Example: A rectangle has area 84 and length (x + 2). Width = 7. Find x.
For more complex shapes (composite figures, irregular polygons), the AI Geometry Solver can read a photo and pick the right method for you.
Confused about which method to use?
How do I solve for x when there are multiple unknowns? You need at least one equation per unknown. If x is one of two unknowns, look for a second relationship (perimeter, another angle equation, similar triangle ratio).
What if x appears in an exponent? That’s no longer geometry — that’s logarithms. Outside the scope of this guide.
Can I always solve for x? Only if the figure provides enough constraints. A triangle with only one angle given has infinite valid third sides; you need at least 3 pieces of info.
For a more comprehensive view, check our Geometry Solver landing page with all topic-specific tools listed, or the Homework Help hub for worked examples by topic.