Definite Integral Calculator

This definite integral calculator finds the value of an integral between a lower and an upper limit, which is the signed area between the curve and the horizontal axis over that interval. The definite integral is one of the most important tools in calculus and applied maths, used to work out total distance from a speed graph, the work done by a varying force, the area of an irregular region, average values, probabilities under a distribution, and much more. Area that sits above the axis counts as positive and area below counts as negative, so the result is a net signed area. You enter the function of x, then the lower and upper limits, which may be numbers or expressions using pi and e, and the calculator returns the value. It works by numerical integration using Simpson's rule, which slices the interval into many thin strips, fits a parabola across each one, and sums the pieces, giving an answer accurate to many decimal places for smooth functions. This numeric approach has a real advantage: it works even for functions that have no neat antiderivative in elementary form, where a symbolic method would fail. For an antiderivative as an expression, use the companion integral calculator. Enter a function and two limits to see the value straight away.

9
value of the definite integral

Use * for multiply and ^ for powers; pi and e are allowed. Computed by Simpson's rule with 1000 strips. Functions with breaks inside the interval may be less accurate. Estimate only.

How it works

The calculator divides the interval between your limits into a thousand strips, evaluates the function across them, and applies Simpson's rule, which weights the points and fits parabolas to approximate the area very accurately. If the upper limit is below the lower limit, the sign of the result flips, exactly as the definite integral requires.

Worked example

The integral of x squared from 0 to 3 is the area under that parabola, which works out to 9. Simpson's rule returns 9 to full accuracy because it integrates quadratics exactly.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

© 2019 to 2026 Calculate.co.nz. All rights reserved.