This is a quick and easy tool to get all the numbers you need for hub, rim and spoke length but if you use it, double check what parts you have on hand to be sure of the measurements. I've replaced several rims using this and it was always right on but did double check before ordering anything.
Edd, an easy to use spoke calculator (leonard.io)