How long can a timber span?

That will depend on the load the timber is supporting. You are always best off having an engineer do a calculation and approve it.