Start with this article: https://uphillathlete.com/aerobic-anaerobic-threshold-self-assessment/
To calculate the drift in heart rate, divide the average HR in the second 30′ by the average HR in the first 30′. If the drift is less than 5%, then you’re below your aerobic threshold.
Does that make sense?