Hi, I just found this page that has an actual calculator for setting triangles. You just have to type in the finished size of the square being set, then hit the results button. It doesn't get any easier than that.
http://kameleonquilt.com/freepatterns/kalk/ekalk.htm