Park on a level surface, keep the engine running (in most cases), and pull the dipstick while the fluid is at operating temperature.
Many modern vehicles (especially those with CVTs) are "sealed" and require professional diagnostic tools to measure fluid temperature and levels through specific check plugs. 2. Internal Precision Measurements How to Check Your Automatic Transmission Fluid
Most use a dipstick located in the engine bay.