As a rule of thumb - divide the span by 18–22 to get a safe and suitable depth (depending on rib spacing and the expected load). 30 Feet is a long span (that's almost 10 meters) — assuming it is for a regular residential building, you will need a set of 4″X16″ logs spaced at 20″ minimum.