∫ Integral Calculator (Antiderivative) with Steps

Get the antiderivative ∫f(x) dx with the rules used — substitution, by parts, partial fractions — and a check.

No ratings yet — be the first

Enter details

Use ^ for powers, * or nothing for ×: 3x^2 + 2sin(x), e^(2x), sqrt(x+1), ln(x).
One letter. Other letters are treated as constants.

Log in or create a free account to save your inputs and results, so you don't have to enter them again next time.🔒 No spam, ever. We never sell or share your details, and you can delete your history or account at any time. Privacy policy

Fill in the details and click Calculate to see your results.

Formula at a glance

Integral Calculator: Power rule — ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C, n ≠ −1. Example: By parts: x eˣ → Antiderivative: ∫ xe^x dx = xe^x − e^x + C
How the Integral Calculator works: Power rule — ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C, n ≠ −1

Rate this calculator

Was it useful? A quick star rating helps others — and you can leave a comment too.
Rate it: ★ ★ ★ ★ ★

📘 About the Integral Calculator

Integration reverses differentiation: the antiderivative F(x) is a function whose derivative is f(x). Integrals give areas under curves, totals from rates, volumes, work done and probabilities.

This calculator integrates the forms met in school and first-year university: polynomials, powers and roots, eˣ and aˣ, ln x, sin, cos, tan, sec², 1/(1 + x²) and 1/√(1 − x²), rational functions with linear or quadratic denominators (partial fractions), u-substitution and integration by parts. Every answer is differentiated back to make sure it is right.

🧮 Formula

Power rule
∫xⁿ dx = xⁿ⁺¹/(n + 1) + C, n ≠ −1
Logarithm
∫1/x dx = ln|x| + C
Integration by parts
∫u dv = uv − ∫v du
Substitution
∫f(g(x))·g′(x) dx = ∫f(u) du

✏️ Worked examples

By parts: x eˣ

You enter
Integrate f(x)x*e^x
Variablex
You get
Antiderivative∫ xe^x dx = xe^x − e^x + C
Integrandxe^x
Check: differentiate the answerd/dx(…) = xe^x

∫ xe^x dx = xe^x − e^x + C.

Substitution: x³ cos(x⁴)

You enter
Integrate f(x)x^3*cos(x^4)
Variablex
You get
Antiderivative∫ x³·cos(x⁴) dx = sin(x⁴)/4 + C
Integrandx³·cos(x⁴)
Check: differentiate the answerd/dx(…) = x³·cos(x⁴)

∫ x³·cos(x⁴) dx = sin(x⁴)/4 + C.

🧭 How to use this calculator

What you enter

  • Integrate f(x)Use ^ for powers, * or nothing for ×: 3x^2 + 2sin(x), e^(2x), sqrt(x+1), ln(x).
  • VariableOne letter. Other letters are treated as constants.

What you get

  • Antiderivative
  • Integrand
  • Check: differentiate the answer

❓ Frequently asked questions

What is the integral of 1/x?

∫1/x dx = ln|x| + C. The absolute value makes it valid for negative x as well.

When do I use integration by parts?

For a product where one factor gets simpler when differentiated (like x, x² or ln x) and the other is easy to integrate (eˣ, sin x, cos x): ∫x eˣ dx = x eˣ − eˣ + C.

Why add + C?

Every function has infinitely many antiderivatives that differ by a constant, because the derivative of a constant is 0.

Which integrals have no answer?

Some, like ∫e^(x²) dx and ∫sin(x)/x dx, cannot be written with ordinary functions. You can still find their value between two limits with the definite integral calculator.