Riemann Sum Calculator (Left, Right, Midpoint & Trapezoid)

Approximate the area under f(x) with a left, right, midpoint or trapezoidal Riemann sum, and compare it with the exact integral.

Results

Enter your details and click Calculate to see your results.
About This Calculator

Δx = (b − a)/n. Left uses each subinterval's left end, right uses the right end, midpoint the centre; the trapezoidal rule averages left and right.

Example

Example: left sum for x² on [0, 2] with 4 rectangles = 1.75 (exact 2.66666666667).

Assumptions

Equal-width subintervals.

Frequently Asked Questions

Which Riemann sum is most accurate?

Usually the midpoint or trapezoidal sum; left and right sums over- or under-estimate monotonic functions.

Related Calculators

About the Author

Imran Hossain
Imran Hossain

Professional SEO, Digital Marketer Specialist

I am a Certified Google Ads Expert And Professional SEO, Digital Marketing Specialist

View full profile