When I make a pieced border I have done the math and then it sometimes comes out the wrong size anyway. I usually just pick a size of triangles I like and make a border strip that will be long enough to work. I then add a narrow solid border between the quilt and my pieced border to make it work.