The J2 constant is the Earth's second dynamic form factor used in computing the J2 perturbation of the inverse square formulation of the gravitational effect on the force due to a perfect spherical body of uniform density.
The MATH AND SCIENCE
This factor can be calculated as:
J2=(2εE3)-R3Eω2E3GME
where
εE is the central body's oblateness (in this case Earth's oblateness)
RE is the central body's equatorial radius (in this case the Earth's mean equatorial radius)
ωE is the central body's rotational rate (in this case Earth's rotation rate is 7.292115X10-5 rad/sec
G is the universal gravitational constant
ME is the mass of the central body (in this case the Earth's mass)