Percentage Calculator X
What are you solving?

Linear Approximation Calculator

Enter a function, the point where you want the approximation and, if you like, a nearby value of x. The calculator finds the value and the derivative at the point, writes the linear approximation L of x, and compares L at your nearby value with the true value so you can see the error. The derivative step is shown in full.

How to use the linear approximation calculator

Type your numbers. The answer and the working update as you type.

Use x, + - * / ^, brackets, and sqrt, sin, cos, tan, exp, ln (or log), abs, atan. Write 2*x or 2x.

Result

Enter your numbers above to see the answer and every step.

Maclaurin series calculator →

Worked example

Take the square root of x near 4. The value there is 2 and the derivative is 1/4, so the approximation is L of x equal to x/4 + 1. At 41/10 the line gives 2.025, against a true value of about 2.024846.

The tangent line formula

The steps of the worked example appear here.

Method and limits

The linear approximation at a is L of x equal to f of a plus f prime of a times x minus a. The derivative comes from the standard rules, for instance cos x for the sine, and the page shows which rule was used. If the function is not defined at the point, or the derivative does not exist there, the page says so instead of returning a number. The error is the true value minus the approximation at your nearby x.

What it does not cover

  • Needs a symbolic derivative, so it is limited to the function types the page can differentiate.

Rules and calculation checked on 11 Oct 2026.

How we check our answers · Official sources

Questions people ask

How to find a linear approximation?

Find the function's value and its derivative at the point, then write the tangent line through them. In the example above the value is 2 and the derivative is 1/4, giving x/4 + 1. The page repeats those steps for your own function.

How to find a linear approximation on a calculator?

Enter the function and the point here and the tangent line appears with its derivative step. A handheld model needs its derivative function and a manual substitution into the formula, so follow the manual for that route.

Related calculators

Results follow the published rules shown above and are for guidance. For formal use, check them against your university's, board's or school's own document.