How to find the location of the Aerodynamic centre?
What you refer to as the aerodynamic centre is also called the neutral point, the point where pitch moments do not change at all angles of attack with attached airflow.

If you ask for an unswept body of high aspect ratio, the answer would be easy: At the quarter chord point in subsonic flow and at the half chord point in supersonic flow. Unfortunately, the neutral point shifts forward with decreasing aspect ratio until it sits right at the leading point (not edge) of a slender body, a body with infinitesimally small aspect ratio. It shifts slightly backwards with positive sweep, so you normally have to calculate correction factors which depend on


Sweep angle
Taper ratio
Ratio of fuselage width and span
Lengthwise position of the wing-fuselage intersection
High wing or low wing configuration (negligible influence)


If you don't have good wind tunnel data or a validated CFD model, you would use a collection of formulas and diagrams like DATCOM (see this link for a computerized version) to approximate a solution. Sorry, but I cannot give you a simple formula which would work out of the box.