Furniture calculations
As Derrik mentioned, the Sagulator is probably your best bet. The topic has been covered fairly well in the woodworking stack exchange. The Sagulator is designed for static loads, e.g. shelves, whereas chairs are going to be taking dynamic loads, but the relative strengths should still apply: if you put in your yellow pine vs red oak, the ratios should apply for dynamic loads as well.