Home▸Mathematics▸Riemann Sum — Rectangle Approximation (2D)

∫ Riemann Sum — Rectangle Approximation (2D)

Interactive 2D Riemann sum visualizer: choose a function, drag the interval and subdivision count, switch between left, right, midpoint and trapezoid rules, and watch the approximation converge to the true definite integral.

Mathematics2DEasy60 FPS📱 Mobile-adapted⇄ 3D version
2d-riemann ↗ Open standalone
⚙ Under the hood

Choose a function and an integration rule, drag the interval sliders and the rectangle-count slider, and watch left, right, midpoint and trapezoid rectangles fill the area under the curve. A live readout compares the running approximate sum against the exact integral and shows the error as the rectangle count grows.

mathcalculusintegralriemann-sumnumerical-methods

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)