Math Solver / Integral Calculator

Integral Calculator

Find antiderivatives and definite integrals, with the area under the curve shaded on a graph.

Press Enter to solve · ^ for powers · sqrt() for roots · separate a system with a comma

Try:

The integral calculator finds antiderivatives (indefinite integrals) and evaluates definite integrals. For an area between limits, type x^2 from 0 to 3; the tool applies the Fundamental Theorem of Calculus and shades the area on the graph.

How to use the integral calculator

  1. Enter the function, e.g. x^2 + 3x or sin(x).
  2. For a definite integral add the limits: from a to b.
  3. Press Enter to see the antiderivative, the evaluation F(b) − F(a) and the graph.

Basic integration rules

FunctionIntegral
xⁿ (n ≠ −1)xⁿ⁺¹ / (n + 1) + C
1/xln|x| + C
eˣeˣ + C
sin x−cos x + C
cos xsin x + C

Example: ∫₀³ x² dx

  1. Antiderivative: F(x) = x³/3.
  2. F(3) − F(0) = 27/3 − 0.
  3. Result: 9 square units.
Why “+ C”? Any constant disappears when you differentiate, so every function has infinitely many antiderivatives that differ by a constant.

Questions about integrals

What is the difference between definite and indefinite integrals?

An indefinite integral is a family of functions, F(x) + C. A definite integral is a number: the signed area under the curve between two limits.

What if there is no simple antiderivative?

For a definite integral the calculator falls back to Simpson’s rule and gives a numerical answer accurate to six decimal places.

Can a definite integral be negative?

Yes. Area below the x-axis counts as negative, so a definite integral can be negative or zero.

Related math tools