Calculating area under a curve usually requires calculus, but you can approximate it by dividing the area into rectangles or trapezoids and summing their areas.
This is the basis of numerical integration methods like the trapezoidal rule and Simpson's rule. The more shapes you use, the better the approximation.
In discrete problems, you might see histograms or bar charts where area calculations are exact.