Actually I know how to calculate the circumference of an ellipse using two methods and each one of them giving me different result.
The first method is using the formula: $E_c=2\pi\sqrt{\dfrac{a^2+b^2}{2}}$
The second method is determining the arc length of the first quart in the ellipse using elliptic integral multiplied by 4 (Look at picture below):

I want to know wath is the best method to get the exact circumference of an ellipse ?
The first one is an approximation, but it fails badly for $a \ll b $. Overall, I would recommend the exact formula of $4a E(e) $, which can be calculated quickly using the Arithmetic-Geometric Mean Method.