Blog

  • Pythagorean Theorem Calculator — Find Any Side of a Right Triangle

    Pythagorean Theorem Calculator

    Find any missing side of a right triangle instantly. Enter two known sides and get the third with a step-by-step solution.

    a² + b² = c²
    Hypotenuse (c) =
    5

    Step-by-step solution:

    a = ? b = ? c = ? A B C

    What Is the Pythagorean Theorem?

    The Pythagorean theorem is one of the most fundamental principles in mathematics. Named after the ancient Greek mathematician Pythagoras (c. 570–495 BC), it describes the relationship between the three sides of a right triangle. The theorem states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides.

    a² + b² = c²

    In this formula, a and b represent the two shorter sides (called legs), and c is the longest side (called the hypotenuse). This relationship holds true for every right triangle, regardless of its size.

    How to Use This Calculator

    Simply choose what you want to find — the hypotenuse or one of the legs — then enter the two known values. The calculator instantly computes the missing side and shows a step-by-step solution.

    • To find the hypotenuse (c): Enter both legs (a and b). Formula: c = √(a² + b²).
    • To find a leg (a or b): Enter the hypotenuse and the known leg. Formula: b = √(c² − a²).

    Pythagorean Theorem Examples

    Example 1: Find the Hypotenuse

    Given: a = 3, b = 4

    c = √(9 + 16) = √25 = 5

    Example 2: Find a Leg

    Given: c = 13, a = 5

    b = √(169 − 25) = √144 = 12

    Example 3: Decimal Values

    Given: a = 7.5, b = 10

    c = √(56.25 + 100) = √156.25 = 12.5

    Example 4: Large Triangle

    Given: a = 20, b = 21

    c = √(400 + 441) = √841 = 29

    Common Pythagorean Triples

    A Pythagorean triple consists of three positive integers that satisfy a² + b² = c². The most well-known triples are:

    • 3, 4, 5 — the most basic and widely used triple
    • 5, 12, 13 — common in geometry problems
    • 8, 15, 17 — useful for construction measurements
    • 7, 24, 25 — appears in advanced problems
    • 20, 21, 29 — a less obvious but valid triple

    Any multiple of a Pythagorean triple is also a valid triple. For example, 6-8-10 is the 3-4-5 triple multiplied by 2.

    Real-World Applications

    The Pythagorean theorem is used in construction (ensuring walls are square), navigation (calculating shortest distance), physics (resolving force vectors), architecture (roof pitch calculations), and computer graphics (distance between pixels). Surveyors, engineers, and pilots rely on it daily.

    History of the Pythagorean Theorem

    Although named after Pythagoras, evidence suggests that the Babylonians knew the theorem over 1,000 years before Pythagoras. The famous clay tablet Plimpton 322 (c. 1800 BC) contains Pythagorean triples. Ancient Indian, Chinese, and Egyptian mathematicians also independently discovered this relationship. Today, over 400 distinct proofs exist, including one by U.S. President James Garfield.

    Frequently Asked Questions

    What is the Pythagorean theorem?

    The Pythagorean theorem states that in a right triangle, a² + b² = c², where c is the hypotenuse (the longest side, opposite the right angle) and a and b are the two legs.

    How do I find the hypotenuse of a right triangle?

    Square both legs (a² and b²), add them together, and take the square root: c = √(a² + b²). For example, if a = 6 and b = 8, then c = √(36 + 64) = √100 = 10.

    Can I use this to find a missing leg?

    Yes! Switch to “Find a Leg” mode, enter the hypotenuse and the known leg, and the calculator finds the missing side using b = √(c² − a²).

    Does it work for all triangles?

    No, only for right triangles (with a 90° angle). For other triangles, use the Law of Cosines: c² = a² + b² − 2ab·cos(C).

    What is a Pythagorean triple?

    A set of three whole numbers that satisfy a² + b² = c². Examples: 3-4-5, 5-12-13, 8-15-17. Any multiple of a triple is also a valid triple.

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

  • Age Calculator — Find Your Exact Age in Years, Months, and Days

    Age Calculator

    Find your exact age in years, months, and days. Discover how many days you’ve lived, your zodiac sign, and when your next birthday is.

    📅 Precise to the Day
    0
    Years
    0
    Months
    0
    Days
    Total months: 0
    Total weeks: 0
    Total days: 0
    Total hours: 0
    🎂
    Next birthday in 0 days
    You will turn 0
    years old
    ✴ Enter your birthday

    How Does the Age Calculator Work?

    This age calculator computes your exact age by finding the difference between your date of birth and any target date (today by default). It calculates years, months, and days precisely — accounting for varying month lengths, leap years, and calendar rules.

    Age = Target Date − Date of Birth (in years, months, and days)

    Unlike simple year subtraction, this tool handles edge cases correctly. For example, someone born on January 31 who checks their age on March 1 will see the correct number of months and days, even though February has fewer than 31 days.

    How to Calculate Age Manually

    To calculate age by hand, follow these steps:

    • Step 1: Subtract the birth year from the current year to get a rough age.
    • Step 2: If the current month is before the birth month, subtract 1 year.
    • Step 3: If the months are the same but the current day is before the birth day, subtract 1 year.
    • Step 4: Calculate remaining months and days for a precise result.

    Leap Year Handling

    A leap year occurs every 4 years (with exceptions for century years not divisible by 400). If you were born on February 29, the calculator correctly handles your age — counting your birthday as March 1 in non-leap years for age purposes, while still recognizing your actual birth date.

    Age in Different Units

    Beyond years, months, and days, you might want to know your age in other units. This calculator provides total months, weeks, days, and hours lived. For example, a 30-year-old person has lived approximately 10,950 days, or roughly 262,800 hours.

    Zodiac Signs by Date

    Your zodiac sign is determined by your date of birth. The 12 Western zodiac signs are: Aries (Mar 21–Apr 19), Taurus (Apr 20–May 20), Gemini (May 21–Jun 20), Cancer (Jun 21–Jul 22), Leo (Jul 23–Aug 22), Virgo (Aug 23–Sep 22), Libra (Sep 23–Oct 22), Scorpio (Oct 23–Nov 21), Sagittarius (Nov 22–Dec 21), Capricorn (Dec 22–Jan 19), Aquarius (Jan 20–Feb 18), and Pisces (Feb 19–Mar 20).

    Why Knowing Your Exact Age Matters

    Exact age calculation is important for legal purposes (voting eligibility, retirement benefits, driving age), medical assessments (age-specific health screenings), insurance policies, school enrollment cutoff dates, and visa or immigration applications that require precise age documentation.

    Frequently Asked Questions

    How is age calculated exactly?

    Age is calculated by finding the difference between the birth date and target date. Full years are counted first, then remaining months, then remaining days — accounting for different month lengths and leap years.

    What if I was born on February 29?

    If you were born on a leap day, the calculator handles it correctly. In non-leap years, your age increments on March 1. You still age one year every 365/366 days like everyone else.

    Can I calculate age between two specific dates?

    Yes! Enter any date in the “Calculate Age on” field to find the age at a specific point in time, whether it’s a past or future date.

    How accurate is this calculator?

    This calculator is accurate to the exact day. It accounts for leap years, varying month lengths (28–31 days), and all calendar rules. The result matches official age calculations used by governments and institutions.

    What is my zodiac sign?

    Enter your birth date and the calculator will automatically display your Western zodiac sign based on the month and day you were born.