An easy way to do it is to use your speed autopilot and the E6B. Get in the condition you want (idled, engine stopped prop stopped, engine stopped prop windmilling) and engage the autopilot speed. Use the .speed command to test at different speeds. Pull up the E6B display and record TAS and descent rate once a steady state is reached.
Convert your TAS and descent rate into the same unit, either FPM or MPH is fine. Remember that your airspeed is traveling along the hypotenuse of a right triangle. Your rate of descent forms one leg and you need to calculate out the last leg which is the distance traveled over the ground. The ratio between the ground leg and the descent leg is the glide ratio. So you need to calculate that leg using trig or geometry and divide the result by your rate of descent.