One way to tell if a bathtub flange is cast iron or steel is by tapping on it. It is likely cast iron if it produces a deep, resonant sound. If it produces a higher metallic sound, it is likely steel.