This calculator calculates a few more items than the original rafter calculator. It includes the rafter run and rise, length from top of rafter to the plumb line, overall rafter length, height above the plate (HAP), height of ridge above the top plate, ridge board (beam) support, and to complete the birdsmouth, the length of the seat cut.
Diagonal length A to B is measured from where the rafter attaches to the ridge board to outside of the wall, the location of your plumb line used for the seat and heel cuts.