This can be easily solved using equations and a design table.
If you are familiar with excel and how equations are written there you should have no problem writing an equation in solidworks.
mkmech,
what version and SP are you using?
Best Regards,
Jon
Challenges are what makes life interesting; overcoming them is what makes life meaningful.