Calculators
An integral calculator with steps: type a function, get its antiderivative — the power rule, trig integrals, and the constant C, all shown.
Type a function, pick the variable, click Calculate.
Type a function, click Calculate. This integral calculator gives exact indefinite integrals instantly, right on the page.
x^2. Replace it with any function, or tap an example button such as sin(x), 1/x, 2x + 3, e^x, or cos(x)Click Calculate and the integral calculator returns the indefinite integral: for the pre-filled it gives — the whole family of functions whose derivative is , constant included.
This page is more than a static integral calculator — it is also an AI tutor you can ask questions. The question box under the form takes full questions, photos of the problem, and follow-ups:
An integral reads two ways, and both are true at once.
Reading one: run differentiation backwards. You know a derivative — say — and you ask which function it came from. works, because differentiating gives . That reverse question is integration, and its answer is called an antiderivative. This is the reading the integral calculator computes.
Reading two: accumulate area. The same symbol measures the area under a curve, stacked from infinitely many thin slices — each one tall and wide. Speed accumulates into distance; a rain rate accumulates into total rainfall.
The notation carries both readings:
One symbol, one fact underneath: accumulating slices and reversing a derivative are the same operation. On this page the integral calculator works the reverse reading; ask the AI box below about areas when you need the other one.
The method you will reach for most, on this integral calculator and in every calculus course, is the power rule for integrals:
Raise the exponent by one, divide by the new exponent, add C. It works because it is the derivative power rule played backwards: when you differentiate , the in front cancels the one you divide by, and the exponent drops back to .
Two companions make the rule cover whole expressions:
One exponent is forbidden: . Raising it by one gives , and division by zero stops the rule cold — integrates to instead, a law unto itself. Beyond powers, the integral calculator also carries the standard shapes: , , and each integrate to a close cousin, worked in Example 2.
Evaluate — the function pre-filled in the integral calculator above.
Read the answer as a family, not a single curve: covers every upward and downward shift of one cubic, and every member of that family has slope .
Now check — and make this a habit for life: an integral is correct exactly when differentiating it gives back the integrand.
The derivative returns exactly, so the integral holds. No table lookup, no luck involved — the check is mechanical and always works. The integral calculator above confirms in one click; the AI box below will show the check line by line if you ask.
Two more integrations, both one click away in the integral calculator.
A trig integral. Type sin(x):
Mind the minus sign — sine integrates to minus cosine. It is the single most-dropped sign in calculus, and it survives every shortcut: differentiate and you get back, sign and all.
A sum, term by term. Type 2x + 3:
Check by differentiating: comes straight back, one term per term. Both examples run live in the integral calculator above — type each one and compare the steps with what you get by hand.
Differentiation erases constants. The derivative of , of , and of is every time, because a constant shifts a curve up or down without tilting it. So when the integral calculator runs the machinery backwards, the height is already lost — , , and all differentiate to . No reverse step can choose among them, so the answer is the whole family at once, written with one + C.
A single known point picks the member you need: if the curve passes through a known value, substitute it and solve for C. That is how word problems turn a family into one curve.
Three slips the integral calculator sees every day:
Evaluate ∫ 3x² dx. Check your answer with the integral calculator above.
Evaluate ∫ cos x dx. Check your answer with the integral calculator above.
Match it to a rule: powers take the integral power rule — raise the exponent, divide by the new one — sums integrate term by term, and standard shapes like $\sin x$ come from a short table. The integral calculator above does the matching for you and returns the whole family, + C included.
The power rule: $\int x^n\,dx = \dfrac{x^{n+1}}{n+1} + C$, valid for every exponent except $n = -1$. Raise the exponent, divide by the new exponent, add C. It is the rule the integral calculator applies first on almost every polynomial you type.
It stands for every constant the derivative erased. $x^2$, $x^2 + 3$, and $x^2 - 3$ all have derivative $2x$, so reversing the derivative can only give the family — one curve for each C. The integral calculator writes + C on every indefinite answer for exactly this reason.
$\ln\left|x\right| + C$. The power rule breaks at $n = -1$ because it would divide by zero, so $\dfrac{1}{x}$ is its own special case. Type `1/x` into the integral calculator above and it returns the logarithm, not a power.
An indefinite integral is a family of functions, written with + C — what this integral calculator computes. A definite integral has bounds and evaluates to one number, the signed area between them. Give the AI box below a definite integral and it computes the number with every step shown.
Differentiate your answer. You must get back exactly the function you started with: differentiating $\dfrac{x^3}{3} + C$ gives $x^2$, so the integral holds. It is one differentiation — ask the AI on this integral calculator page to run the check line by line.