π as an area: 4·∫₀¹ dx/(1 + x²)

The arctangent series that computed π for three centuries, shown as the area under one curve.

Calculus · Level: Classic result · Updated on 2026-11-09

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.

This is an independent third-party tool site. It is not affiliated with, sponsored by, or authorised by Casio, Texas Instruments or their distributors. Model names and product names are trademarks of their respective owners and appear here only to identify devices.

The keystroke sequences in these manuals were written from this site's own layout data — the same data the online calculator renders — plus publicly available product facts. Specifications and regional configurations are confirmed against the physical device and the manufacturer's most recent material.