f̄

Average Value of a Function Calculator with Graph

Calculus & GraphingFreeStep by stepGraph

The average value of a function over an interval is the height of the rectangle that has the same area as the region under the curve. You find it by integrating the function over the interval and dividing by its width. This calculator integrates exactly when possible, checks numerically and draws the matching rectangle.

Try:

How to use the average value of a function calculator

  1. Type the function.
  2. Enter the start and end of the interval.
  3. Press Calculate to see the average value and the graph.

Formula

$$f_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx$$

Worked example: x² on [0, 3]

  • f(x) =: x^2
  • From x =: 0
  • To x =: 3

✓ Answer checked

favg=3f_{\text{avg}} = 3
Integral
99
−0.50.511.522.533.524681012f(x)
The green rectangle of height 3 has the same area as the region under the curve.
Step-by-step working (3 steps)
  1. Formula Average value

    The average value is the integral divided by the width of the interval.

    favg=1b−a∫abf(x) dxf_{\text{avg}} = \frac{1}{b - a}\int_a^b f(x)\,dx
  2. Integrate

    Use an antiderivative.

    ∫03x2 dx=9\int_{0}^{3} x^{2}\,dx = 9
  3. Divide by the width

    Width = 3.

    93=3\frac{9}{3} = 3
Formulas used
favg=1b−a∫abf(x) dxf_{\text{avg}} = \frac{1}{b-a}\int_a^b f(x)\,dx
How this was checked
  • ✓ Numerical integration gives the same integral.

Frequently asked questions

What is the average value of x² on [0, 3]?

The integral is 9 and the width is 3, so the average is 3.

Is it the same as averaging the endpoints?

No. It averages every value across the interval, not just the two ends.

What is the mean value theorem for integrals?

For a continuous function, there is a point in the interval where f equals its average value.

People also search for

average value of a functionmean value integralaverage value calculatoraverage value of a function calculator with graphaverage value of a function calculator with stepsfree average value of a function calculator online

🔗 Embed this on your website or blog — free

Teachers and bloggers: copy this code and paste it into your page (use an HTML or "Custom HTML" block). It always stays up to date.