This right triangle calculator lets you calculate the length of the hypotenuse or a leg or the area of a right triangle. For each case, you may choose from different combinations of values to input.
                
                Also, the calculator will give you not just the answer, but also a step by step solution. So you can use it as a great tool to learn about right triangles.
                                 
                     
                                
                                
                                  
                                  
Usage Guide
                                  Show
                                  
                                  Hide
                                  
                                
                                  
                
                    
                    i. Valid Inputs
                    
                    The calculator needs exactly two inputs, at least one of which must be a side (a leg or the hypotenuse).
All inputs can be in any of the three number formats listed below.
Note — The input for each of the two angles must be between 0 and 90.
                    
                    ii. Example
                    
                    If you would like to see an example of the calculator's working, just click the "example" button.
                    iii. Solutions
                  
    As mentioned earlier, the calculator won't just tell you the answer but also the steps you can follow to do the calculation yourself. The "show/hide solution" button would be available to you after the calculator has processed your input.
                    iv. Share
                    
                    We would love to see you share our calculators with your family, friends, or anyone else who might find it useful. 
                    
                    By checking the "include calculation" checkbox, you can share your calculation as well.
                
                
                                 
                                
                                  
    Here's a quick overview of what a right triangle is a few of the basic concepts related to it.
    
    Right Triangles
    
                        
                            A right triangle (or right-angled triangle) is a triangle in which one of the three internal angles is a right angle (90°).
                                 
                     
     
    The longest side in a right triangle (known as the hypotenuse) is the side opposite the right angle.
 
    Pythagorean Theorem
    Now one feature of right triangles that makes them so useful and important is that they obey the pythagorean theorem.
    
                        
                            And according to the Pythagorean theorem, the square of the hypotenuse is equal to the sum of the squares of the other two sides (called legs). So, for the triangle above –
        
        BC2+AC2=AB2
                        
                     
        
                                 
                     
    
                        
                                    Example
                                
                        
                            The two legs of a right triangle measure 5 cm and 12 cm in length. Find the length of the hypotenuse.
                                 
                     
    Solution
    If x denotes the length of the hypotenuse, according the pythagorean theorem —
    x2=52+122=169
                        
                     
    Taking the square root on both sides, we have
    =13
                        
                     
    So the hypotenuse has a length of 13 cm.
    Trigonometric Ratios
    Another concept that makes right triangles great for the study of triangles is that of trigonometric ratios. Here's a brief explanation.
    We'll start with the figure below.
     
    Now, when we talk about trigonometric ratios, those ratios are with respect to a reference angle. And that reference angle can be any of the two acute angles in a right triangle.
    Also, as the figure shows, we have special names for the two legs. The one opposite to the angle is termed "opposite" and the one adjacent to it is called "adjacent".
    
                        
                            Trigonometric ratios are ratios between the side lengths of a right triangle. And the value of a trigonometric ratio depends on the reference angle alone.
                                 
                     
    Here's a table listing the six trigonometric ratios.
    
      
        
          | Ratio | Formula | 
        
          | Sine | sinθ=hypotenuseopposite
                        
                     | 
        
          | Cosine | cosθ=hypotenuseadjacent
                        
                     | 
        
          | Tangent | tanθ=adjacentopposite
                        
                     | 
        
          | Cosecant | cscθ=oppositehypotenuse
                        
                     | 
        
          | Secant | secθ=adjacenthypotenuse
                        
                     | 
        
          | Cotangent | cotθ=oppositeadjacent
                        
                     | 
      
    
    As mentioned earlier, values for trigonometric ratios depend only on the reference angle (θ). This is crucial, as you'll see in the second example below.
    
                        
                                    Example
                                
                        
                            In △ABC, ∠C=90°, ∠B=40°, and AC=5 in. Find the lengths of AB and BC.
                                 
                     
    Solution
    Let's start with a rough labeled sketch of the triangle.
     
    Next, we know
    sinθ=hypotenuseopposite
                        
                     
    
    So, for the given triangle
    
    sinBsin40°=ABAC=AB5
                        
                     
    
                        
                            Now, because the value of a trigonometric ratio depends only on the angle, sin40° would be a constant. As a calculator would tell you, sin40°≈0.59.
                                 
                     
    Substituting the value of sin40° into the equation above, we have
    0.59BC≈BC5≈8.47
                        
                     
    Similarly,
    tanθtanBtan40°=adjacentopposite=BCAC=BC5
                        
                     
    Substituting tan40°≈0.73,
    0.73BC≈BC5≈6.85