Biot–Savart law
Start with the formula for the on-axis field due to a single wire loop which is itself derived from the Biot–Savart law: