Calculus calculator with steps

Type a derivative, integral or limit into the calculus solver below to see the answer with steps, or choose the calculator for your question: derivatives with every rule shown, definite and improper integrals with an error estimate, limits from both sides, sigma sums and tables of values. Every tool is free and needs no sign-up. New to calculus? Start with limits.

5 calculatorsBy Hira Noor, mathematicianLast reviewed

Calculus solver

Start with d/dx for a derivative, "integral of … from a to b" for an integral, or "limit … as x -> a" for a limit. Use ^ for powers and pi for π.

Try:

Calculators in Calculus

Derivative Calculator

First to fifth derivatives with rule-by-rule steps, f′(a), the tangent line and a graph.

Integral Calculator

Antiderivatives with named steps, plus definite and improper integrals with an error estimate and area graph.

Function Table Calculator

Tables of values for one or two functions with exact fractions, roots, turning points, a graph and CSV.

Limit Calculator

Two-sided, one-sided and infinite limits with steps, a table of values and the indeterminate form named.

Summation Calculator

Sigma notation with steps: exact fractions, partial sums, closed forms and infinite-series tests.

Which calculus calculator do you need?

Match the question you are asked to the tool. Each result below was produced by the calculator in the first column.

Calculus calculators by task, with a sample input and the answer each one returns
CalculatorUse it toExample inputResult
Derivative calculatorDifferentiate f(x), find the slope f′(a) and the tangent linex3−2x2+5x^3 - 2x^2 + 5 at x=2x = 2f′(x)=3x2−4xf'(x) = 3x^2 - 4x, slope 4, tangent y=4x−3y = 4x - 3
Integral calculatorEvaluate definite and improper integrals (area under a curve)∫0πsin⁡xdx\int_0^{\pi} \sin x \, dx2
Limit calculatorFind two-sided, one-sided and infinite limitslimx→1x2−1x−1\lim_{x \to 1} \frac{x^2 - 1}{x - 1}2 (a removable hole)
Summation calculatorAdd a finite series written in sigma notation∑k=1100k\sum_{k=1}^{100} k5050
Function table calculatorBuild a table of values for f(x) to spot roots and trends1/x1/x from 1 to 2, step 1/41, 0.8, 2/3, 4/7, 0.5

For a quick look at a curve, use the graphing calculator. For an equation to solve rather than a function to differentiate or integrate, use the math solver.

Worked examples with steps

These are the steps each calculator prints for its example. Follow a link to open the calculator with the same input filled in, then change it to your own problem.

Derivative of x³ − 2x² + 5 at x = 2

  1. Split the sum

    The sum rule lets you differentiate each term on its own. The constant 5 has derivative 0.

  2. Apply the power rule

    ddxx3=3x2\frac{d}{dx}x^3 = 3x^2, and with the constant multiple rule ddx2x2=4x\frac{d}{dx}2x^2 = 4x, so f′(x)=3x2−4xf'(x) = 3x^2 - 4x.

  3. Evaluate at the point

    f′(2)=12−8=4f'(2) = 12 - 8 = 4 and f(2)=8−8+5=5f(2) = 8 - 8 + 5 = 5, so the tangent line through (2, 5) is y=4x−3y = 4x - 3.

f(x) = x³ − 2x² + 5 and its tangent line y = 4x − 3 at x = 2
051015−10123xyf(x) = x³ − 2x² + 5Tangent y = 4x − 3Point (2, 5)
The tangent line touches the curve at (2, 5) with slope f′(2) = 4.

Open this derivative in the calculator

Definite integral of sin x from 0 to π

  1. Set up the integral

    ∫0πsin⁡xdx\int_0^{\pi} \sin x \, dx is the area under one arch of the sine curve.

  2. Check by hand

    An antiderivative of sin⁡x\sin x is −cos⁡x-\cos x, so the value is −cos⁡π+cos⁡0=1+1=2-\cos \pi + \cos 0 = 1 + 1 = 2.

  3. Read the calculator result

    Adaptive Gauss–Kronrod quadrature returns 2 with an estimated error of about 1.8×10−121.8 \times 10^{-12}. The average value of sin x on the interval is 2/π≈0.63662/\pi \approx 0.6366.

y = sin x with the area from 0 to π shaded
−0.500.511.522.533.5x
The shaded area under one arch of sin x is exactly 2.

Open this integral in the calculator

Limit of (x² − 1)/(x − 1) as x → 1

  1. Try direct substitution

    At x = 1 the fraction becomes 0/0, an indeterminate form, so substitution alone gives no answer.

  2. Approach from both sides

    At x = 0.999 the function is 1.999, and at x = 1.001 it is 2.001. Both sides close in on the same number.

  3. State the limit

    The limit is 2. Factoring confirms it: (x−1)(x+1)x−1=x+1\frac{(x - 1)(x + 1)}{x - 1} = x + 1, which equals 2 at x = 1. The graph has a removable discontinuity (a hole) there.

Open this limit in the calculator

Sum of the integers from 1 to 100

  1. Write the sum in sigma notation

    ∑k=1100k=1+2+3+⋯+100\sum_{k=1}^{100} k = 1 + 2 + 3 + \cdots + 100, which has 100 terms.

  2. Use the closed form

    For a polynomial term the calculator finds the partial-sum formula, here n(n+1)2\frac{n(n + 1)}{2}.

  3. Substitute n = 100

    100×1012=5050\frac{100 \times 101}{2} = 5050, an exact answer.

Open this sum in the calculator

Table of values for 1/x

From x = 1 to 2 in steps of 1/4, the table gives 1, 0.8, 2/3, 4/7 and 0.5. All five values are exact fractions, and the table confirms that 1/x falls steadily on this interval with no roots. Open this table in the calculator, or follow the guide to make a function table.

Calculus rules quick reference

The derivative calculator names each of these rules in its steps, so you can see which one applies at every stage.

Common differentiation and integration rules with an example of each
RuleFormulaExample
Power ruleddxxn=nxn−1\frac{d}{dx}x^n = nx^{n-1}ddxx5=5x4\frac{d}{dx}x^5 = 5x^4
Constant multiple ruleddx[cf(x)]=cf′(x)\frac{d}{dx}[c\,f(x)] = c\,f'(x)ddx7x3=21x2\frac{d}{dx}7x^3 = 21x^2
Sum rule(f+g)′=f′+g′(f + g)' = f' + g'ddx(x2+sin⁡x)=2x+cos⁡x\frac{d}{dx}(x^2 + \sin x) = 2x + \cos x
Product rule(fg)′=f′g+fg′(fg)' = f'g + fg'ddxx2sin⁡x=2xsin⁡x+x2cos⁡x\frac{d}{dx}x^2 \sin x = 2x \sin x + x^2 \cos x
Quotient rule(fg)′=f′g−fg′g2\left(\frac{f}{g}\right)' = \frac{f'g - fg'}{g^2}ddxsin⁡xx=xcos⁡x−sin⁡xx2\frac{d}{dx}\frac{\sin x}{x} = \frac{x \cos x - \sin x}{x^2}
Chain ruleddxf(g(x))=f′(g(x))g′(x)\frac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)ddxsin(x2)=2xcos(x2)\frac{d}{dx}\sin(x^2) = 2x \cos(x^2)
Exponential and logddxex=ex\frac{d}{dx}e^{x} = e^{x}, ddxln⁡x=1x\frac{d}{dx}\ln x = \frac{1}{x}ddxe3x=3e3x\frac{d}{dx}e^{3x} = 3e^{3x}
Fundamental theorem of calculus∫abf(x)dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) where F′=fF' = f∫0πsin⁡xdx=2\int_0^{\pi} \sin x \, dx = 2

Differential vs integral calculus

Differential calculus studies rates of change. A derivative gives the slope of a curve at a point, such as speed from a position formula or marginal cost from a cost formula. Use the derivative calculator for these.

Integral calculus adds up small pieces to find a total, such as the area under a curve or distance traveled from a speed formula. Use the integral calculator for definite integrals and the summation calculator when the pieces are discrete terms.

Limits connect the two. Both the derivative and the integral are defined as limits, which is why most courses start with the limit calculator topics: one-sided limits, limits at infinity and indeterminate forms such as 0/0.

How to learn calculus with these calculators

Still on pre-calculus? Calculus builds on functions, exponents, logarithms and trigonometry. Practice those first with the algebra calculators, the trigonometry calculators and the logarithm calculator, then come back to limits.

  1. Start with limits. Enter a few 0/0 forms in the limit calculator and read its table of values to see what "approaching" means in numbers.
  2. Move to derivatives. Differentiate a function by hand first, then compare your work line by line with the rule-by-rule steps.
  3. Connect slopes to graphs. Check each tangent line on the graphing calculator so the derivative has a picture.
  4. Integrate and check the area. Work a definite integral with the fundamental theorem, then confirm the number with the integral calculator and its shaded graph.
  5. Use tables to test guesses. When a function is unfamiliar, a table of values shows where it is positive, negative or undefined before you try anything symbolic.

A calculator checks work; it does not replace practice. Solve the problem first, then use the steps to find where your method and the answer part ways.

What these calculators do not cover yet

Being clear about limits saves you time. Indefinite integrals are given exactly for polynomials only; other functions get a numerical definite integral. There is no differential equation solver, no series convergence test, and no multivariable calculus (partial derivatives or double integrals) yet. For syntax and functions the tools accept, see the calculus functions reference, and for how results are checked, see the methodology.

About these calculators

Derivatives are found symbolically, so you get a formula such as 3x2−4x3x^2 - 4x along with each rule that produced it. Integrals and limits are evaluated numerically with methods that report when an answer cannot be trusted, for example when an integral diverges or a limit differs from the left and the right.

Each calculator works as a calculus problem solver for one kind of question rather than one box that guesses what you meant. That keeps the steps specific: the limit calculator names the indeterminate form it found, and the integral calculator states its error estimate and how many subintervals it needed.

All calculus tools treat angles in radians, which is the convention calculus formulas depend on. See degrees vs radians for why.

Frequently asked questions

Is this calculus calculator free, and does it show steps?

Yes. Every calculus calculator is free, needs no account and shows its working: the rule used at each step for derivatives, the method and error estimate for integrals, and a table of values for limits.

How do I type calculus expressions?

Use ^ for powers, * or a space for multiplication, and parentheses for function arguments: x^3 - 2x^2 + 5, sin(x)/x, e^(-x^2), sqrt(x), ln(x). Type pi for π and inf or -inf for ±∞ in a limit or integral bound.

Why do calculus calculators use radians?

The derivative of sin x is cos x only when x is in radians. In degrees an extra factor of π/180 appears, so radians keep the standard formulas true.

Are integrals exact?

Definite integrals are computed numerically with adaptive Gauss–Kronrod quadrature, which typically gives 10 or more correct digits and shows an error estimate. For polynomials the page also gives the exact antiderivative and an exact fraction answer.

How accurate are the limit results?

Limits are estimated numerically by evaluating f(x) closer and closer to the point and applying Richardson extrapolation. The calculator reports the left and right values separately and says when they disagree, so a jump or a vertical asymptote is not hidden behind a single number.

Can it solve differential equations or find partial derivatives?

Not yet. The calculus tools handle functions of one variable x: derivatives, definite and improper integrals, limits, finite sums and tables of values.

Do I need a graphing calculator for calculus?

Not to learn it. The graphing calculator and these calculus calculators cover graphs, derivatives, integrals and limits for homework and study. Some courses and exams require or ban particular handheld models, so check your syllabus or the exam rules before buying one.

Sources and further reading

  1. Calculus Volume 1 (opens in a new tab), OpenStax, Rice University
  2. NIST Digital Library of Mathematical Functions (opens in a new tab), National Institute of Standards and Technology