Works on this device
Normal Line Calculator
The normal line to a curve at a point is the line through that point at a right angle to the tangent line. Type a function and a point to get its equation, with the steps. This page is about lines to curves, not about the normal (bell) curve of statistics.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose Normal line to y = f(x) at a point. If you already know the slope of the curve at the point, choose Normal line from a point and a slope.
- Type the function with
xas the variable, for examplex^2orsin(x). - Type the x-value of the point. You can use a number, a fraction such as
1/2, or a value such aspi/4. - Choose Calculate. Check the line Function as read to see that the page understood your formula.
How to type a function
- Use
+,-,*,/and^for powers. Brackets( )group things. 2xand3(x + 1)mean multiplication.x^2is x squared.- Functions:
sin,cos,tan,asin,acos,atan,sqrt,abs,ln,log,exp. They need brackets:sin(x), notsin x. You can also typesec,cscandcot. - Constants:
piande. Angles are in radians.lnis the natural logarithm.logis the logarithm to base 10. - A power applies before a minus sign:
-x^2means −(x²).1/2xis read as (1/2) × x. Use brackets for 1/(2x). - Anything else is refused, and the page tells you where the problem is.
The method
The slope of the tangent line at x = a is the derivative f′(a). The normal line is at a right angle to it, so its slope is −1 ÷ f′(a).
The normal line is y − f(a) = (−1 ÷ f′(a)) × (x − a).
The page finds the derivative by the sum, product, quotient, chain and power rules. As a check, it also estimates the slope from four points very close to a. If the two slopes do not agree, the page shows a warning.
- If the tangent line is horizontal (slope 0), the normal line is vertical: x = a.
- If the tangent line is vertical, the normal line is horizontal: y = f(a).
Worked example
Take y = x^2 at x = 1. The derivative is 2x. At x = 1, y = 1 and the slope of the tangent line is 2. The slope of the normal line is −1 ÷ 2 = −0.5.
The normal line is y − 1 = −0.5(x − 1), which is y = −0.5x + 1.5. The tangent line at the same point is y = 2x − 1.
Limits you should know
- The function must be written with one variable and the functions listed above. Curves given by an equation in x and y together, such as x^2 + y^2 = 25, are not supported. For those, work out the slope yourself and use the second option.
- If the function or its derivative has no real value at the point, the page says so. It does not show a huge number for a division by zero.
- Decimal results are shown with 6 significant digits. When the function and the point use only whole numbers and fractions, the lines are exact.
- The page does not draw the curve or the lines.