The internet make it easy now. have a look at these
https://www.prowheelbuilder.com/spokelengthcalculator
https://spokecalc.io/
You have to do a bit of digging, some web page, a hub make, type and rim can be entered and it spits out all the info needed.