The antiderivative of 1/(1 + x²) is arctan x. From 0 to 1 that is arctan 1 − arctan 0 = π/4, so the area under 1/(1 + x²) on [0, 1] is exactly π/4 — and four times that area is π. This is the same fact as the Gregory–Leibniz series 1 − 1/3 + 1/5 − 1/7 + ⋯ = π/4, written as an integral instead of a sum.
Set the integrand as 4/(1 + x²) so the factor is inside, and the numeric integrator returns 3.14159265359 — twelve significant digits of π. Not exact: this is Simpson-style numerical quadrature, and the last digits are the method's error, which is why the answer is truncated rather than rounded to your display width.
Answer
3.14159265359
How to read it
Twelve significant digits, all of them the quadrature's. The exact value is π; the printed one is an approximation of it.
Source
Madhava of Sangamagrama (c. 1400), independently published by Leibniz (1676); the integral form is standard IB HL / A-level
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.