Working on the theory of one third of screw length = thickness of wood and two thirds to screw in to attach, ie 9mm wood then use 27mm screws (or nearest to) Just to confirm for me if ply is 9mm and screwing to floorboards that are 19.5mm (3/4 inch) I should adjust this to 9 + 19.5 mm = 28.5 mm Less 4 mm for countersinking = screws 24.5 (or nearest)
I am thinking that I should not use screws that will puncture the underside of the floorboards due to possible central heating pipes etc.