Definite Integral Calculator

Published on: July 18, 2026
Final Answer: Free Full Steps: Plus

This Definite Integral Calculator evaluates the integral of a function over an interval [a, b]. It finds the antiderivative using the matching integration rule, then applies the Fundamental Theorem of Calculus: F(b) − F(a). Because the constant of integration cancels, definite integrals return a single number.

Step-by-step method

  1. Set up the definite integral with its limits.
  2. Find the antiderivative F(x) using the matching integration rule.
  3. Apply the Fundamental Theorem of Calculus: evaluate F(b) - F(a).
  4. Simplify to the final value.

Formula:

\(\int_{a}^{b} f\left(x\right) \, dx = F\left(b\right) - F\left(a\right)\)

Example 1:

\(\int_{0}^{3} x^{2} \, dx\)

Step 1 - Set up the definite integral with its limits.

In this problem: We are evaluating \(x^{2}\) from \(x = 0\) to \(x = 3\).

\(\int_{0}^{3} x^{2} \, dx\)

Step 2 - Find the antiderivative F(x) using the matching integration rule.

In this problem: Using the power rule for integration, the antiderivative is \(\frac{x^{3}}{3}\).

\(F\left(x\right) = \frac{x^{3}}{3}\)

Step 3 - Apply the Fundamental Theorem of Calculus: evaluate F(b) - F(a).

In this problem: Substitute the upper and lower limits, then subtract.

\(\int_{0}^{3} x^{2} \, dx = \left[ \frac{x^{3}}{3} \right]_{0}^{3} = \left(9\right) - \left(0\right)\)

Step 4 - Simplify to the final value.

In this problem: The value of the definite integral is \(9\).

\(\int_{0}^{3} x^{2} \, dx = 9\)

Final answer:

\(\int_{0}^{3} x^{2} \, dx = 9\)

Example 2:

\(\int_{1}^{4} 2 x + 1 \, dx\)

Step 1 - Set up the definite integral with its limits.

In this problem: We are evaluating \(2 x + 1\) from \(x = 1\) to \(x = 4\).

\(\int_{1}^{4} 2 x + 1 \, dx\)

Step 2 - Find the antiderivative F(x) using the matching integration rule.

In this problem: Using the sum rule for integration, the antiderivative is \(x^{2} + x\).

\(F\left(x\right) = x^{2} + x\)

Step 3 - Apply the Fundamental Theorem of Calculus: evaluate F(b) - F(a).

In this problem: Substitute the upper and lower limits, then subtract.

\(\int_{1}^{4} 2 x + 1 \, dx = \left[ x^{2} + x \right]_{1}^{4} = \left(20\right) - \left(2\right)\)

Step 4 - Simplify to the final value.

In this problem: The value of the definite integral is \(18\).

\(\int_{1}^{4} 2 x + 1 \, dx = 18\)

Final answer:

\(\int_{1}^{4} 2 x + 1 \, dx = 18\)