← All text tools

Tangent and Normal Line Calculator

Gives the equation of the tangent and the normal line to a curve at a given x, with the slope, the derivative formula and a plot of all three.

  • Free
  • No sign-up
  • Works on any device

About Tangent and Normal Line Calculator

Type a function of x and the point a where you want the lines. The calculator differentiates the formula symbolically, evaluates f(a) and the slope f'(a), and gives the tangent line y = f'(a)(x − a) + f(a) and the normal line, which is perpendicular to it with slope −1/f'(a). When the tangent is horizontal the normal is the vertical line x = a. For f(x) = x² at x = 3 the tangent is y = 6x − 9 and the normal is y = −x/6 + 9.5. A plot with equal axis scales shows the curve and both lines.

How to use Tangent and Normal Line Calculator

  1. Type the function, for example x^3 − 2x or sin(x)/x, using * for multiplication and ^ for powers.
  2. Enter the x value where the tangent should touch the curve.
  3. Read the equations of both lines and the derivative, and check the plot to see that the tangent just touches the curve.

Why use this tool?

Also known as

Frequently asked questions

Which functions can I type?

Sums, products, quotients and powers of x with constants pi and e, and the functions sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, exp, ln, log (base 10), sqrt, cbrt and abs.

What happens where the curve has a corner or a vertical tangent?

The derivative is then not a finite number and the calculator says so instead of giving a line. The absolute value at 0 and the square root at 0 are typical examples.

Why is the normal line vertical sometimes?

A vertical line has no slope. When the tangent is horizontal its slope is 0, so the perpendicular normal is the vertical line x = a, which is written that way instead of y = mx + b.

Is Tangent and Normal Line Calculator free?

Yes. Tangent and Normal Line Calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Can I put Tangent and Normal Line Calculator on my own website?

Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.