Angle Between Two Lines Calculator

Find the angle between two lines from their slopes.

Results

Enter your details and click Calculate to see your results.
About This Calculator

tan θ = |(m₂ − m₁)/(1 + m₁m₂)|.

Example

Example: the default inputs → Result: Acute angle 71.56505118°.

Assumptions

Exact formulas; results rounded for display.

Frequently Asked Questions

When are two lines perpendicular?

When m₁ × m₂ = −1.

When are they parallel?

When the slopes are equal.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile